Files
kotaemon/libs/ktem
Duc Nguyen (john) fbe983ccb3 Add relevant chat context when query the index (#42)
* Add context for query

* Add older messages in the chat

* Update the indexing

* Make some hard-code values configurable

* Remove hard-code values
2024-04-22 14:32:30 +07:00
..
2024-01-23 10:54:18 +07:00
2024-04-13 23:26:06 +07:00
2024-04-08 22:23:00 +07:00
2024-01-23 10:54:18 +07:00
2024-01-23 10:54:18 +07:00

Example of MVP pipeline for example

Prerequisite

To run the system out-of-the-box, please supply the following environment variables:

OPENAI_API_KEY=
OPENAI_API_BASE=
OPENAI_API_VERSION=
SERPAPI_API_KEY=
COHERE_API_KEY=
OPENAI_API_KEY_EMBEDDING=

# optional
KH_APP_NAME=

Run

gradio launch.py