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

Ideas for LLM-specific components #295

Open
shreyashankar opened this issue Jan 28, 2024 · 0 comments
Open

Ideas for LLM-specific components #295

shreyashankar opened this issue Jan 28, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@shreyashankar
Copy link
Collaborator

shreyashankar commented Jan 28, 2024

Suppose a component state represents all the sub-parts of a prompt. We should have the following utilities:

  • Automatically convert the sub-parts (or a subset of sub-parts) into a prompt
  • Support typed states (where the user can define the types of the values). Then we may not need to use cloudpickle
  • Incremental summarizer, e.g., if the state contains a list that only grows in size, we should have a data type of PartialSummary that contains the running summary so far + num items that have been summarized + outstanding items to summarize.
  • List-type sub-parts that can monotonically increase in size (can use CRDTs) for this? But this is only for when we can do updates concurrently.
@shreyashankar shreyashankar added the enhancement New feature or request label Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant