docs.rs failed to build FerriteChatter-4.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
FerriteChatter-3.2.0
FerriteChatter
ChatGPTとターミナル上で会話できるやつ。
名前はChatGPTに考えて貰った。
Usage
API keyはOPENAI_API_KEYに設定
もしくは$XDG_CONFIG_HOME/.ferriteconf.yamlに記載。
あとは実行するだけ
# Chat形式
# "exit"で終了、"reset"で会話のリセット、"v"でエディターを使用した入力ができる。
# 単発の質問 パイプまたは引数からの入力
# 日英・英日翻訳 パイプまたは引数からの入力
# 基本的に共通のオプション
# fchatのみ、ファイルからコンテキストを渡せます。
)
installation
ビルド時にAPIを叩いて使用可能なモデルを取得しています。インストールする前にOPENAI_API_KEYにAPIキーを登録してください。
また、その仕様上モデルの更新には再インストールが必要です
Use in vim
function! ChatAIWithContext()
let l:temp_file = tempname()
execute 'write ' . l:temp_file
execute 'rightbelow vsplit | terminal fchat -f ' . l:temp_file
endfunction
vnoremap <silent> <C-f> :<C-u>call ChatAIWithContext()<CR>
config file (Optional)
$HOME/.ferriteconf.yaml or $XDG_CONFIG_HOME/.ferriteconf.yaml
openai_api_key: "XXXX"
default_model: "gpt-4o"