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

ERROR:root:ChatVectorDBChain does not support async #14

Open
xsirio opened this issue Apr 26, 2023 · 1 comment
Open

ERROR:root:ChatVectorDBChain does not support async #14

xsirio opened this issue Apr 26, 2023 · 1 comment

Comments

@xsirio
Copy link

xsirio commented Apr 26, 2023

INFO: ('127.0.0.1', 49680) - "WebSocket /chat" [accepted]
../base.py:207: UserWarning: ChatVectorDBChain is deprecated - please use from langchain.chains import ConversationalRetrievalChain
warnings.warn(
INFO: connection open
ERROR:root:ChatVectorDBChain does not support async

@dportabella
Copy link

I run python3 app.py, I go to the web browser http://127.0.0.1:7860, I type the OpenAI Key, and this appears in the console:

/opt/homebrew/lib/python3.11/site-packages/langchain/chains/conversational_retrieval/base.py:233: UserWarning: `ChatVectorDBChain` is deprecated - please use `from langchain.chains import ConversationalRetrievalChain`
  warnings.warn(
...
  File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for ChatVectorDBChain
qa_prompt
  extra fields not permitted (type=value_error.extra)

Trying to type a question, it fails with:
Please paste your OpenAI key to use

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants