Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

想问下有关langchain优缺点的看法 #1

Open
Victoriaheiheihei opened this issue Jul 24, 2023 · 1 comment
Open

想问下有关langchain优缺点的看法 #1

Victoriaheiheihei opened this issue Jul 24, 2023 · 1 comment

Comments

@Victoriaheiheihei
Copy link

你好,
想问下prompt重用是指langchain构建agent时可能会发生prompt重用的情况是吗?如果我只是单独借助langchain+llm+retrieval 实现一个对长文档的检索器,针对这种特定任务场景也比较固定,是不是就不存在prompt重用的情况了?
还想问下langchain内置的prompt在哪里可以查看呢

@taishan1994
Copy link
Owner

你好, 想问下prompt重用是指langchain构建agent时可能会发生prompt重用的情况是吗?如果我只是单独借助langchain+llm+retrieval 实现一个对长文档的检索器,针对这种特定任务场景也比较固定,是不是就不存在prompt重用的情况了? 还想问下langchain内置的prompt在哪里可以查看呢

一般的话,固定的prompt根据任务会有所不同,比如会在langchain/agents/下有,chat/prompt.py,或者说其它的一些已经预先提供好的chain,里面都可能会有设置好的prompt。langchain+llm+retrieval的方法不会有这个问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants