chengleilovesky
Results
1
issues of
chengleilovesky
I implemented dify as LLM. I implemented dify as LLM. class DifyHttpService(LLMService): """DifyHttpService 使用 aiohttp 来发送异步 HTTP 请求,并解析响应数据。 该服务消耗 OpenAILLMContextFrame 帧,包含一个引用 OpenAILLMContext 帧的对象。 OpenAILLMContext 对象定义了发送到 LLM 进行完成的上下文。 这包括用户、助手和系统消息,以及工具选择和使用的工具(如果请求函数调用来自 LLM)。 """...