Skip to content

Chainlit/chainlit-help

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chainlit Help

The Chainlit copilot for the Chainlit documentation.

How to use?

The Chainlit Application

  • cp app/.env.example app/.env
  • Obtain a Literal API key here
  • pip install -r app/requirements.txt
  • chainlit run app/app.py

The Chainlit Copilot

  • Make sure the Chainlit application is running.
  • python -m http.server 3004 --directory copilot

Create context

Codebase context

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

Documentation context

Go to https://gitingest.com for repo https://github.com/chainlit/docs with exclude *.json to generate documentation.txt

Cookbook context

Go to https://gitingest.com for repo https://github.com/chainlit/docs with include map-canvas/, realtime-assistant/ to generate cookbook.txt

How to contribute?

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •