You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try out Pinecone as an optional alternative to FAISS. Expected pros: smaller container, lower memory use. Expected cons: slower indexing and querying because of network latency, cost for large document stores.
The text was updated successfully, but these errors were encountered:
importpinecone# initialize pineconepinecone.init(
api_key="YOUR_API_KEY", # find at app.pinecone.ioenvironment="YOUR_ENV"# next to api key in console
)
pinecone_index_name="langchain-demo"
Initial impressions are the Pinecone is noticeably slower than FAISS. I'd need to refactor get_index to support multiple index types. The check for an existing index (pinecone.describe_index("index-name")) is ~0.7s.
tomdyson
changed the title
Support Pinecone
Evaluate Pinecone as optional alternative vector store
Mar 7, 2023
Try out Pinecone as an optional alternative to FAISS. Expected pros: smaller container, lower memory use. Expected cons: slower indexing and querying because of network latency, cost for large document stores.
The text was updated successfully, but these errors were encountered: