Build an abstract dialogue model using classes and methods to represent different dialogue elements
Fixes # None Before submitting If you want to review, please refer to the quick start example provided in langchain/chains/dialogue_answering/main.py. You may need to set the openaikey and the following startup parameters: --dialogue-path: the location of the dialogue file, --embedding-model: the HuggingFaceEmbeddings model to use (defaults to GanymedeNil/text2vec-large-chinese) if not specified. Regarding the format of the dialogue file, please refer to the following information: ```text sun: Has the offline model been run? glide-the: Yes, it has been run, but the results are not very satisfactory. glide-the: It lacks chat intelligence and falls far behind in terms of logic and reasoning. sun: Are you available for voice chat? glide-the: I'm considering using this offline model: https://huggingface.co/chat glide-the: voice chat okay. glide-the: You can take a look at the dev_agent branch of the langchain-chatglm project. glide-the: There's a dialogue model question-answering example under the agent. sun: Alright. glide-the: The specified chat record file is exported from WeChat. ```
正在显示
chains/dialogue_answering/__init__.py
0 → 100644
chains/dialogue_answering/__main__.py
0 → 100644
chains/dialogue_answering/base.py
0 → 100644
chains/dialogue_answering/prompts.py
0 → 100644
请
注册
或者
登录
后发表评论