Skip to content

Instantly share code, notes, and snippets.

@davidmezzetti
Created January 23, 2022 12:18
Show Gist options
  • Save davidmezzetti/f9f18651f2ecb21e23a69bc8e880b55a to your computer and use it in GitHub Desktop.
Save davidmezzetti/f9f18651f2ecb21e23a69bc8e880b55a to your computer and use it in GitHub Desktop.
# Print index info before (info() is also new!)
embeddings.info()
# Reindex
embeddings.reindex({"path": "sentence-transformers/paraphrase-MiniLM-L3-v2"})
print("------")
# Print index info after
embeddings.info()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment