chatify icon indicating copy to clipboard operation
chatify copied to clipboard

Re-use chains

Open jeremymanning opened this issue 1 year ago • 0 comments

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 avatar Jun 29 '24 23:06 jeremymanning