OpenFn / OpenFn/apollo

Rethink how to store conversation histories

Open
#583 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

refactor
Dominant language
Jupyter Notebook
Stars
5
Forks
10
Avg merge
2d 20h
Merged PRs (30d)
17

Description

Currently Lightning rebuilds conversation histories from past messages. It does not use the conversation history compiled by Apollo. This means that Apollo cannot curate what is kept in the history: for example, page prefixes are now lost from the conversation history. https://github.com/OpenFn/apollo/issues/582

Consider whether conversation histories could be stored on Apollo instead, or if the latest conversation history could be stored separately in addition to conversation turns on Lightning. Note that we might add more detail to conversation histories in the future, e.g. images attached to specific turns.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review how Lightning currently rebuilds conversation histories and read the related Apollo issue #582 before choosing an approach. The work is complete when Apollo-curated history, including page prefixes and possible future turn details such as images, can be retained without losing conversation turns.

Written by the indexing model from the issue text.

Assessment

Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.