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

feat: Reduce input stream for PromptTemplate, LLM, ChatModel, Retriever and Tool #388

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

davidmigloz
Copy link
Owner

@davidmigloz davidmigloz commented Apr 26, 2024

Previously, the following components processed each chunk of an input stream individually, making it difficult to implement streaming chains. Now these components reduce the input stream to a single value before processing it.

  • PromptTemplate
  • ChatPromptTemplate
  • LLM
  • ChatModel
  • Retriever
  • Tool

@davidmigloz davidmigloz self-assigned this Apr 26, 2024
@davidmigloz davidmigloz added t:enhancement New feature or request c:lcel LangChain Expression Language labels Apr 26, 2024
@davidmigloz davidmigloz added this to the v0.6.0 milestone Apr 26, 2024
@davidmigloz davidmigloz merged commit b59bcd4 into main Apr 26, 2024
1 check passed
@davidmigloz davidmigloz deleted the reduce-inputs branch April 26, 2024 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:lcel LangChain Expression Language t:enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

1 participant