Craig Kelly

Results 8 comments of Craig Kelly

I got same error when i upgrade langchain = 0.0.158 ``` openai.error.InvalidRequestError: Unsupported OpenAI-Version header provided: 2022-12-01. (HINT: you can provide any of the following supported versions: 2020-10-01, 2020-11-07. Alternatively,...

> > 合并是肯定的,gpt应该会结合上下文回复最后一个问题。 > > 为什么要合并生成新的问题呢? 有的时候生成的新的问题,与我的提问完全不相干,导致对话错乱了。为何不把历史记录原样的传给openai,而是要造一个新的问题 I think the merging of conversations has created new problems because you are using ConversationalRetrievalChain to query vector databases based on question similarity....

@acoronadoc it seems some typo in your code, > Unresolved attribute reference 'tocken_cost_process' for class 'CostCalcAsyncHandler' but THANKS for you. It works for me.

+1 前天中午开始到昨天早上给同事们演示使用,之后再没有使用过,今天中午微信被登出,再次登录提示违反个人账号使用规范

在提示语最后回答添加 `IN CHINESE` 试试: ``` DEFAULT_PROMPT = ( "We have provided context information below: \n" "---------------------\n" "{context_str}\n" "---------------------\n" "Given this information, Please answer my question in the same language that...

> > 在提示语最后回答添加 `IN CHINESE` 试试: > > ``` > > DEFAULT_PROMPT = ( > > "We have provided context information below: \n" > > "---------------------\n" > > "{context_str}\n" >...

我在 `llm.py` 文件中 ``` OPENAI_API_KEY = os.environ.get('OPENAI_API_KEY') openai.api_key = OPENAI_API_KEY ## 添加了如下代码就设置了代理域名 openai.api_base = "https://XXX.XX/v1" ``` 你可以试试 另外,在 ISSUE 中暴漏 key 是一件很危险的事情

> @hycao Do you have any ways to use MJ without subscribe?? Sorry, I don't know how to using Midjourney without subscribe. You can use alternative products such as Stable...