The Chainlit copilot for the Chainlit documentation.
cp app/.env.example app/.env
- Obtain a Literal API key here
pip install -r app/requirements.txt
chainlit run app/app.py
- Make sure the Chainlit application is running.
python -m http.server 3004 --directory copilot
Go to https://gitingest.com for repo https://github.com/chainlit/chainlit
with exclude
.editorconfig, .eslintignore, .eslintrc, .npmrc, .prettierrc, *.json, *.lock, *.yaml, *.toml, *.md, *.js, .github, .husky, cypress, frontend, images, libs/copilot, */tests,README.md, **/__pycache__, **/*.spec.py, **/wavtools, **/.git, */__init__.py, backend, LICENSE, *.config.ts
to generate codebase.txt
Go to https://gitingest.com for repo https://github.com/chainlit/docs
with exclude *.json
to generate documentation.txt
Go to https://gitingest.com for repo https://github.com/chainlit/docs
with include map-canvas/, realtime-assistant/
to generate cookbook.txt
Make all the changes you want to the application, then validate them in local against Test dataset to ship RAG.
Follow the Experiments.ipynb
notebook to run your experiments against that dataset.
To have a locally exposed endpoint you can test with, run the main.py
Fast API server from the root directory:
uvicorn --app-dir app main:app --host 0.0.0.0 --port 80
This will expose the http://localhost:80/app/ endpoint where you can put your question at the end.