Skip to content

Access to chat memory in LlmRanker #1178

@smilyanovr

Description

@smilyanovr

Hi!

I've been looking into Autonomy usage which internally will use the LlmRanker in order to decide which the best goal is based in user's input.

Let's assume the following scenario:

  1. User ask a question
  2. A goal is selected by the LlmRanker
  3. Selected goal might end up with asking user for more context/information
  4. Then user provides answer
  5. Next call by LlmRanker will try to choose the next best goal only by the user input provided in 4) without information on what happened so far
  6. Next goal selection might become a bit unreliable

I imagine that LlmRanker needs to have access to the previous messages (chat memory) in order to compute the next goal in the best possible way.

What do you think about this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions