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: trim llm client clones #253

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Conversation

timonv
Copy link
Member

@timonv timonv commented Aug 27, 2024

Work in progress. Problem right now is that the stream lives for static, which is fine, but introducing lifetimes there adds a lot of overhead.

i.e. MetadataQAText::new(&openai) works, but when passing it into the pipeline, it requires &openai to outlive static, and fails.

There has to be a reliable way to create an owned value of the transformer, haven't figured it out yet.

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

Successfully merging this pull request may close these issues.

1 participant