Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1.02 KB

README.md

File metadata and controls

41 lines (26 loc) · 1.02 KB

Go Report Card test

chatty

chatty is a cli application that will be your conversation partner in your spare time.

Preparation

Create OpenAI account and get API Key.

ref: https://platform.openai.com/account/api-keys

And then, set the key in the environment variable.

$ export OPEN_AI_KEY={key}

If you wish to record past exchanges and conversations, please specify a file path for the record in an environment variable.

The file will be saved in json format

$ export CHATTY_MESSAGES_PATH={filepath}

# e.g. export CHATTY_MESSAGES_PATH=~/chatty-history.json

Installation

$ go install github.com/hirokisan/chatty@latest

Usage

$ chatty my name is chatty
Hello, Chatty! How can I assist you today?