Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pinecone doesn't work #1099

Open
junan-trustarc opened this issue Sep 15, 2024 · 1 comment
Open

Pinecone doesn't work #1099

junan-trustarc opened this issue Sep 15, 2024 · 1 comment
Labels
bug Something isn't working stale

Comments

@junan-trustarc
Copy link

junan-trustarc commented Sep 15, 2024

Describe the bug
I am trying to use Pinecone here, I followed manual but index from pinecone is not fetched at all.
Could you help check to ensure pinecone is working?

To Reproduce
Steps to reproduce the behavior:

I tried with PINECONE_ENVIRONMENT and without as well (I am using AWS severless one from pinecone).

DATASOURCE_TYPE=Pinecone
PINECONE_ENVIRONMENT=
PINECONE_API_KEY={key}
PINECONE_INDEX_NAME={indexName}
PINECONE_TOP_K=5
PINECONE_STRICTNESS=3
PINECONE_ENABLE_IN_DOMAIN=False
PINECONE_CONTENT_COLUMNS=text
PINECONE_FILENAME_COLUMN=file_path
PINECONE_TITLE_COLUMN=title
PINECONE_URL_COLUMN=file_path
PINECONE_VECTOR_COLUMNS=

Expected behavior
Rag should be working, but it doesn't work.
I checked pinecone is set on datasource properly.

when PINECONE_ENVIRONMENT is provided, (my case PINECONE_ENVIRONMENT=us-east-1), then I am getting

openai.BadRequestError: Error code: 400 - {'error': {'requestid': 'd4926d7a-ec0c-4178-b378-521f64fa7e2d', 'code': 400, 'message': 'Validation error at #/data_sources/0/pinecone/parameters/authentication/api_key: Extra inputs are not permitted'}}

when PINECONE_ENVIRONMENT is not provided, then I can get answer but index is not called at all.

  • also tried on index with dimension: 1536 vs 3072,
  • also tried with default columns

It seems like connecting pinecone is not accessible even though API key is correct.
Could you please check to make sure pinecone is working?

Configuration: Please provide the following

  • Azure OpenAI model name and version - both gpt-4o-mini and gpt-4o
  • Is chat history enabled? yes
  • Are you using data? If so, what data source? (Pinecone)
@junan-trustarc junan-trustarc added the bug Something isn't working label Sep 15, 2024
Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

1 participant