Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vprelovac authored Nov 14, 2023
1 parent 995b955 commit 0693224
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,9 @@ from vectordb import Memory
# Memory is where all content you want to store/search goes.
memory = Memory()
# You can save a list of items, and associate any kind of metadata with it (optional)
memory.save(
["apples are green", "oranges are orange"],
[{"url": "https://apples.com"}, {"url": "https://oranges.com"}],
["apples are green", "oranges are orange"], # save your text content. for long text we will automatically chunk it
[{"url": "https://apples.com"}, {"url": "https://oranges.com"}], # associate any kind of metadata with it (optional)
)
# Search for top n relevant results, automatically using embeddings
Expand Down

0 comments on commit 0693224

Please sign in to comment.