英文: how to specify similarity threshold in langchain faiss retriever? 问题 我想要传递一个相似性阈值给检索器。到目前为止,我只能找...
Program that translates text using openai. The program translates the text successfully but there is more information given in the output than needed
英文: Program that translates text using openai. The program translates the text successfully but ther...
OpenAI API, ChatCompletion and Completion give totally different answers with same parameters. Why?
英文: OpenAI API, ChatCompletion and Completion give totally different answers with same parameters. W...
LangChain ConversationalRetrieval与JSONloader
英文: LangChain ConversationalRetrieval with JSONloader 问题 I modified the data loader of this source c...
OpenAI GPT-4 API错误: “模型 gpt-4 不存在”
英文: OpenAI GPT-4 API error: "The model: gpt-4 does not exist" 问题 以下是翻译的代码部分: 我有以下代码,它在`gpt...
如何在ConversationalRetrievalChain上添加自定义提示模板?
英文: how can i add custom prompt template on ConversationalRetrievalChain 问题 qa = ConversationalRetri...
在StreamLit上部署(和托管)LangChain代码会引发PydanticUserError。
英文: Deploying (and hosting) a LangChain code on StreamLit throws PydanticUserError 问题 我使用LangChain、O...
将聊天回复适配到GPT API中的列表中。
英文: Fit the chat response into a list in GPT API 问题 我试图使用ChatGPT API来获取文本中的情感。 def infer_feeling(tex...
OpenAI GPT-3 API错误:为什么NodeJS上的Discord机器人与OpenAI API连接返回404错误?
英文: OpenAI GPT-3 API error: Why does the Discord bot on NodeJS return a 404 error in connection with...
FAISS vectorstore created with LangChain yields AttributeError: 'OpenAIEmbeddings' object has no attribute 'deployment' / 'headers'
英文: FAISS vectorstore created with LangChain yields AttributeError: 'OpenAIEmbeddings' objec...
12