langchain-experimental: SmartLLMChain (split prompts for each LLM type) #21003
Sachin-Bhat
announced in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Checked
Feature request
Create a way to instantiate
SmartLLMChain
with the following attributes as well:These would be used to guide their respective LLMs to perform the task as directed by the user. The attributes can either be a
str
or aPromptTemplate
.Motivation
I believe this would help in the usage of LLMs with small context length to be fed relatively larger prompts encompassing the roles of ideation, critique and resolution by splitting these prompts to give a final response.
This could also be used to define seperate prompts for different LLMs.
Proposal (If applicable)
No response
Beta Was this translation helpful? Give feedback.
All reactions