chatty

command module
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2023 License: MIT Imports: 8 Imported by: 0

README

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?

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳