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
{{ message }}
Repository navigation
[Bug] Creating PC Assistants in EU region not working in Python client #427
I have searched the existing Github issues and Community Forum, and I could not find an existing post for this bug
Describe the bug
When specifying region="eu" in pc.assistant.create_assistant, unexpected keyword argument 'region' is returned.
It is possible to create EU assistants using curl however then when trying to upload files in python we get {"error":{"code":"NOT_FOUND","message":"Knowledge base not found"},"status":404}
Error information
TypeError: Assistant.create_assistant() got an unexpected keyword argument 'region'
Steps to reproduce the issue locally
Run:
from pinecone import Pinecone
pc = Pinecone(api_key="YOUR_API_KEY")
assistant = pc.assistant.create_assistant(
assistant_name="example-assistant",
instructions="Use American English for spelling and grammar.",
region="eu" # Region to deploy assistant. Options: "us" (default) or "eu".
timeout=30 # Maximum seconds to wait for assistant status to become "Ready" before timing out.
)
Activity
anawishnoff commentedon Mar 4, 2025
Thanks for filing - shared this with the Assistants team internally and will circle back with any updates.