Skip to content

Commit

Permalink
JS client: fixed syntax error in npm readme (#1492)
Browse files Browse the repository at this point in the history
## Description of changes

Incorrect comma, should have been a colon.

*Summarize the changes made by this PR.*
 - Improvements & Bug fixes
         - No bug fixes
 - New functionality
	 - No new functionality

## Test plan
*How are these changes tested?*
No functionality changes

## Documentation Changes
*Are all docstrings for user-facing APIs updated if required? Do we need
to make documentation changes in the [docs
repository](https://github.com/chroma-core/docs)?*

Incorrect comma, should have been a colon.
  • Loading branch information
Ymirke authored Dec 19, 2023
1 parent 85e52f1 commit e4f7bba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const collection = await chroma.createCollection({ name: "test-from-js" });
for (let i = 0; i < 20; i++) {
await collection.add({
ids: ["test-id-" + i.toString()],
embeddings, [1, 2, 3, 4, 5],
embeddings: [1, 2, 3, 4, 5],
documents: ["test"],
});
}
Expand Down

0 comments on commit e4f7bba

Please sign in to comment.