Skip to content

How does conversation history work? #380

Description

@jimgoo

Very fun project :)

I couldn't quite figure out from a quick first read of the code how to use conversation history. Like if I run this, it doesn't know what I just asked:

r = lf.query('Who is Larry Page', lm=lm)
print(r)
# Larry Page is a prominent American computer scientist ...

r2 = lf.query('What did I just ask?', lm=lm)
print(r2)
# I'm sorry, but I can't recall or access previous interactions. 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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