Skip to content

sagib/try

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Claude Chatbot Demo

A simple interactive CLI chatbot using the Anthropic Python SDK with streaming responses and multi-turn conversation memory.

Setup

pip install -r requirements.txt
export ANTHROPIC_API_KEY=your_api_key_here

Run

python chatbot.py

Type your messages and press Enter. Claude will stream its response back in real time. Type quit or exit to stop.

Example

Claude Chatbot Demo. Type 'quit' to exit.

You: What is the capital of France?
Claude: The capital of France is Paris.

You: And what's it known for?
Claude: Paris is known for the Eiffel Tower, world-class cuisine, art museums like the Louvre...

You: quit

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages