kotaemon/libs/ktem
Albert 466adf2d94
Feat/Add ReAct and ReWOO Reasoning Pipelines (#43)
* Add ReactAgentPipeline by wrapping the ReactAgent

* Implement stream processing for ReactAgentPipeline and RewooAgentPipeline

* Fix highlight_citation in Rewoo and remove highlight_citation from React

* Fix importing ktem.llms inside kotaemon

* fix: Change Rewoo::solver's output to LLMInterface instead of plain text

* Add more user_settings to the RewooAgentPipeline

* Fix LLMTool

* Add more user_settings to the ReactAgentPipeline

* Minor fix

* Stream the react agent immediately

* Yield the Rewoo progress to info panel

* Hide the agent in flowsettings

* Remove redundant comments

---------

Co-authored-by: trducng <trungduc1992@gmail.com>
2024-05-09 16:06:24 +07:00
..
ktem Feat/Add ReAct and ReWOO Reasoning Pipelines (#43) 2024-05-09 16:06:24 +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 Setup app data dir (#32) 2024-04-13 23:26:06 +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