picha

package module
v0.0.0-...-707fd51 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2023 License: BSD-2-Clause Imports: 7 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

pipe-chatgpt

インタラクティブにファイルや音声、テキストをchatgptに問い合わせるCLI

Tahks!

Features

  • 入力されたテキストをChatGPT3へ聞く
  • ChatGPT3にテキストファイルを解析?してもらう
  • ChatGPT3に音声(ファイル?)を解析?してもらう

Installation

$ go install github.com/ddddddO/pipe-chatgpt/cmd/picha

Usage

  • CHATGPT_API_KEY 環境変数にChatGPTのAPIKeyを設定するか、未設定時にインタラクションに沿ってAPIKeyを入力するかしてChatGPT3が利用できるようにします。

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGPTClient

func NewGPTClient(apiKey string) *gptClient

Types

type Responser

type Responser interface {
	Run() error
}

func ResponserFactory

func ResponserFactory(answerType string, gptClient *gptClient) (Responser, error)

Directories

Path Synopsis
cmd
picha command

Jump to

Keyboard shortcuts

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