google / google/langfun

How does conversation history work?

Open
#380 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
915
Forks
81
Avg merge
21d 21h
Merged PRs (30d)
7

Description

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:

```python
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.
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.