Skip to content

Demo and code for a CohereAI Chat endpoint as a command line chat tool

Notifications You must be signed in to change notification settings

harish-garg/cohereai-chat-commandline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

cohereai-chat-commandline

Demo and code for a CohereAI Chat endpoint as a command line chat tool

Steps

  1. Download this code

  2. cd to the directory

  3. set up an environment variable COHEREAI_API_KEY Example on a Linux or Mac machine:

    export COHEREAI_API_KEY=your-api-key

  4. Install cohere python package

    pip install cohere==3.1.6

  5. run this command to start the chatbot

    python app.py

Note: This tool uses the same session as long as you keep running it. To start fresh, just quit the tool and run again.

Happy chatting.

About

Demo and code for a CohereAI Chat endpoint as a command line chat tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages