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

Re-use chains #58

Open
2 tasks
jeremymanning opened this issue Jun 29, 2024 · 0 comments
Open
2 tasks

Re-use chains #58

jeremymanning opened this issue Jun 29, 2024 · 0 comments
Labels
coding required Is coding required for this task?

Comments

@jeremymanning
Copy link
Member

Overview

Instead of creating a new chain with each prompt, we should create the chain once (maybe when the chatify extension is first loaded?) and re-use it to respond to each query.

Completion criteria

This requires refactoring this function and this function

  • create a new chain when the extension is first loaded
  • execute the chain when new queries are submitted

Resources (optional)

Mentioned here.

@jeremymanning jeremymanning added the coding required Is coding required for this task? label Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
coding required Is coding required for this task?
Projects
None yet
Development

No branches or pull requests

1 participant