Skip to content

catid/chainlit-anthropic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chainlit Anthropic

This is a Chainlit app that uses the Anthropic API to generate text.

Setup

git clone https://github.com/catid/chainlit-anthropic.git
cd chainlit-anthropic

conda create -n chat python=3.10 -y && conda activate chat
pip install -r requirements.txt

Create a .env file with your Anthropic API key:

echo "ANTHROPIC_API_KEY=your_api_key" > .env

Run the app:

chainlit run chat.py

Usage

Browse to http://localhost:8000 in your web browser.

Type your message in the chat window and press enter. The app will generate a response using the Anthropic API.

Example output

About

Chainlit AI UI with Anthropic Backend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages