seven_seven
seven_seven
please ,how to solve this question?
please,should it stored by itself
stopped by itself
I have the same question,can you tell me how to solve?
excuse,how to connect with true roborts and simulate roborts?
excuse.i want to know how to run this code,and the simulate is our simulate plane?can you tell me ,thankyou.
> > 这个接口功能是支持传入对话历史的,所以你可以自己在客户端维护上下文信息的 我目前将记忆内容加入LLMChain中,发现该类不支持memory参数,我是需要换一个链使用吗? 以下是我的代码: chat_prompt = ChatPromptTemplate.from_messages([input_msg]) print("************************************knowledge_base_chat chat prompt in") print("***************************************chat_prompt:", chat_prompt) memory = ConversationSummaryBufferMemory(llm=model, max_token_limit=100) print("***************************************memory:", memory) for message in history: # 检查消息的角色 if message.role == 'user':...
目前碰到了两个问题,这两个地方不知道该怎么修改: chain = LLMChain(prompt=chat_prompt, llm=model, memory=memory, verbose=True) # Begin a task that runs in the background. task = asyncio.create_task(wrap_done( chain.acall({"context": context, "question": query}), callback.done), )