chatgo

command module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

README

chatgo

chatgpt cmd tool

Usage

# install
$ go install github.com/xavierxcn/chatgo@latest

# set openai token
$ chatgo set <your-token>

# chat
$ chatgo chat

init robot...
init robot success.
> 你叫什么名字
chatgo: 
我叫ChatGo,很高兴能够为你服务!有什么可以帮到你的吗?


> 


todo

  • stream chat
  • 继续之前的聊天
  • api接口
  • 前端页面

Documentation

Overview

Copyright © 2023 Xavier X <xavier@xavierx.cn>

Directories

Path Synopsis
Package chatgo is a chatbot based on openai api
Package chatgo is a chatbot based on openai api
Package cmd implements the command-line interface for chatgo.
Package cmd implements the command-line interface for chatgo.
Package utils contains utility functions
Package utils contains utility functions
Package web provides the web server
Package web provides the web server

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL