Agent Parag - A chat based interface for nlp-raga
The focus of this next-js build is to craft an interface for backend services based on GPT & LLM using Retrieval Augmented Generation (RAG). This interface can use any backend service like nlp-raga as specified in Vital info section.
Please use terminal for project installation, build & running locally for testing. The integrated terminal of vscode can also be used. Windows users can use Ubuntu or Al2 machines running on WSL 2
After cloing the agent-parag repository; cd to the agent-parag directory and fire below commands as required.
This next-js project is built on node version 18.17 and uses yarn package manager.
# install the npm dependencies
yarn install
You can also use the npm as appropriate.
A backend service like nlp-raga is required as mentioned in the Vital Info section.
# The nlp-raga service must be run before running this interface
poetry run test-srv
# now run the interface as below
yarn run dev
-
This project is an interface to the services based on GPT or LLM. This project calls a standard set of end-points (unified API specs). These end-points are implemented in all the NLP handling services avilable in this repository. So before running this project, any such service like nlp-raga must be up & running. The other nlp-* services can also be used, though only one at a time.
-
The project uses yarn (package.json) for dependency management.