kotaemon/libs/ktem
Duc Nguyen (john) 0417610d3e
Refactor reasoning pipeline (#31)
* Move the text rendering out for reusability

* Refactor common operations in the reasoning pipeline

* Add run method

* Provide dedicated method for invoke
2024-04-13 23:13:04 +07:00
..
ktem Refactor reasoning pipeline (#31) 2024-04-13 23:13:04 +07:00
ktem_tests Allow users to add LLM within the UI (#6) 2024-04-06 11:53:17 +07:00
migrations Optionally allow database migration with Alembic 2024-01-28 19:54:15 +07:00
.gitignore Make ktem official (#134) 2024-01-23 10:54:18 +07:00
alembic.ini Optionally allow database migration with Alembic 2024-01-28 19:54:15 +07:00
flowsettings.py Treat index id as auto-generated field (#27) 2024-04-13 18:29:37 +07:00
launch.py Feat/new UI (#13) 2024-04-08 22:23:00 +07:00
MANIFEST.in Improve kotaemon based on insights from projects (#147) 2024-02-28 22:18:29 +07:00
pyproject.toml allow LlamaCppChat to auto download model from hf hub (#29) 2024-04-13 18:57:04 +07:00
README.md Make ktem official (#134) 2024-01-23 10:54:18 +07:00
requirements.txt Make ktem official (#134) 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