command
module
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: Mar 11, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
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
¶
Copyright © 2023 Xavier X <xavier@xavierx.cn>
Source Files
¶
Directories
¶
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 |
Click to show internal directories.
Click to hide internal directories.