We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug 描述bug 在OpenAIEmbeddings()函数中,设置host后仍然404,两个环境变量已经设置过了。
To Reproduce 复现方法 `from langchain.embeddings.openai import OpenAIEmbeddings from langchain.vectorstores import Chroma
embed_model = OpenAIEmbeddings(openai_proxy='https://api.chatanywhere.org') vectorstore = Chroma.from_documents(documents=docs, embedding=embed_model , collection_name="openai_embed")`
Screenshots 截图
The text was updated successfully, but these errors were encountered:
后面加个/v1试试
Sorry, something went wrong.
还是不行,附demo.py的成功运行截图
你确定你这api是这样写的? 1openai_proxy 是设置代理的么? 还有 embed_model 是什么? 如果1确定是这样写的话 那就不知道你这啥问题了, 去langchain里面的isuess问问吧 应该怎么填写 这个就不清楚了
No branches or pull requests
Describe the bug 描述bug
在OpenAIEmbeddings()函数中,设置host后仍然404,两个环境变量已经设置过了。
To Reproduce 复现方法
`from langchain.embeddings.openai import OpenAIEmbeddings
from langchain.vectorstores import Chroma
embed_model = OpenAIEmbeddings(openai_proxy='https://api.chatanywhere.org')
vectorstore = Chroma.from_documents(documents=docs, embedding=embed_model , collection_name="openai_embed")`
Screenshots 截图
The text was updated successfully, but these errors were encountered: