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
got the following error while i created the app. just to be clear, in the secrets file i wrote down the api key for openai and pinecone as specified, but nowhere in the readme did it tell where to put the environment and the index name for pinecone index, please reply on how to fix, am i missing something? where can i put index name and pinecone environment
pinecone.core.exceptions.PineconeProtocolError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if you're on Streamlit Cloud, click on 'Manage app' in the lower right of your app).
Traceback:
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
exec(code, module.dict)
File "/app/gptbot/chat/main.py", line 271, in
output = answer_query_with_context_pinecone(user_input)
File "/app/gptbot/chat/main.py", line 222, in answer_query_with_context_pinecone
prompt = construct_prompt_pinecone(query) + "\n\n Q: " + query + "\n A:"
File "/app/gptbot/chat/main.py", line 140, in construct_prompt_pinecone
res = pineconeindex.query([xq], top_k=30, include_metadata=True, namespace="movies")
File "/home/appuser/venv/lib/python3.9/site-packages/pinecone/core/utils/error_handling.py", line 25, in inner_func
raise PineconeProtocolError(f'Failed to connect; did you specify the correct index name?') f
The text was updated successfully, but these errors were encountered:
got the following error while i created the app. just to be clear, in the secrets file i wrote down the api key for openai and pinecone as specified, but nowhere in the readme did it tell where to put the environment and the index name for pinecone index, please reply on how to fix, am i missing something? where can i put index name and pinecone environment
pinecone.core.exceptions.PineconeProtocolError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if you're on Streamlit Cloud, click on 'Manage app' in the lower right of your app).
Traceback:
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
exec(code, module.dict)
File "/app/gptbot/chat/main.py", line 271, in
output = answer_query_with_context_pinecone(user_input)
File "/app/gptbot/chat/main.py", line 222, in answer_query_with_context_pinecone
prompt = construct_prompt_pinecone(query) + "\n\n Q: " + query + "\n A:"
File "/app/gptbot/chat/main.py", line 140, in construct_prompt_pinecone
res = pineconeindex.query([xq], top_k=30, include_metadata=True, namespace="movies")
File "/home/appuser/venv/lib/python3.9/site-packages/pinecone/core/utils/error_handling.py", line 25, in inner_func
raise PineconeProtocolError(f'Failed to connect; did you specify the correct index name?') f
The text was updated successfully, but these errors were encountered: