feat: History API (client) (#204)

This commit is contained in:
cachho
2023-07-10 20:15:20 +02:00
committed by GitHub
parent b3cf834186
commit 65414af098
4 changed files with 111 additions and 41 deletions

View File

@@ -457,6 +457,7 @@ _coming soon_
|option|description|type|default|
|---|---|---|---|
|template|custom template for prompt|Template|Template("Use the following pieces of context to answer the query at the end. If you don't know the answer, just say that you don't know, don't try to make up an answer. \$context Query: $query Helpful Answer:")|
|history|include conversation history from your client or database|any (recommendation: list[str])|None
|stream|control if response is streamed back to the user|bool|False|
#### **Chat Config**
@@ -465,6 +466,8 @@ All options for query and...
_coming soon_
history is handled automatically, the config option is not supported.
## Other methods
### Reset