Skip to content
This repository was archived by the owner on Sep 16, 2025. It is now read-only.

chappie-bot/chappie-rag-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chappie Server

The Chappie Server ingests documents for a certain Product/Project and version and creates a index of summaries for all pages in the documentation. It also expose a service that allows users to ask questions against this Product and version. Chappie will find the relavant documentation in the index summary and use that as input for RAG to answer the user question.

Running this locally.

To run this locally, you will need a OPEN_AI_API_KEY that can be optained at openai. You will also need a GITHUB_API_KEY that can be optained at github. You only need access to public repos To start chappie in dev mode you can do:

export OPEN_AI_API_KEY=asd-rf......hfd
export GITHUB_API_KEY=ghp_j4......gyU
mvn quarkus:dev -Dquarkus.profile=quarkus

The -Dquarkus.profile=quarkus will create an intial product named Quarkus, to enable injesting the Quarkus documentation.

Ingesting the data.

This takes a while to do, and we will improve this in the future to distribute the already ingested data. For now, you can go to Dev UI and look at the swagger UI to execute the initialation of the ingestion, or you can just do:

curl -X 'GET' \
  'http://localhost:8080/api/ingest/Quarkus/3.12.2' \
  -H 'accept: */*'

This will start the process to ingest the Quarkus 3.12.2 documentation. The process runs on a schedule to not be rate limited by openai, and ingest one page at a time. You can follow the process by going to the Chappie UI (localhost:8080). On the status page you will see the progress.

Chappie Ingestion

You can also get the persentage ingestioned with:

curl -X 'GET' \
  'http://localhost:8080/api/status/persentageIngested' \
  -H 'accept: */*'

Once everything for a certain product/version combination is ingested, you can also use the Chappie UI to ask questions against the documentation.

Chappie Ingestion

There is still a LOT to be done. Please see the issues for a list.

About

RAG for Project documentation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •