Skip to content

Commit

Permalink
Update dimension in PineconeDB configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobweiss2305 committed Mar 25, 2024
1 parent 65d1705 commit d0381a1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cookbook/pinecone/assistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

vector_db = PineconeDB(
name=index_name,
dimension=768,
dimension=1536,
spec={
"region": "us-west-2",
"pod_type": "p1.x1",
Expand All @@ -35,7 +35,6 @@ def pdf_assistant(user: str = "user"):
run_id=run_id,
user_id=user,
knowledge_base=knowledge_base,
storage=vector_db,
# tool_calls=True adds functions to
# search the knowledge base and chat history
use_tools=True,
Expand Down

0 comments on commit d0381a1

Please sign in to comment.