メインコンテンツへスキップ

Documentation Index

Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt

Use this file to discover all available pages before exploring further.

gpt_academic は、大規模言語モデルを使って学術的な文章作成やコードレビューを強化するオープンソースツールです。CometAPI に接続すると、研究ワークフローで GPT、Claude、そのほかのモデルを利用できます。

前提条件

  • gpt_academic がインストールされ、実行中であること
  • 有効な API key を持つ CometAPI アカウント

セットアップ

1

CometAPI API key を取得する

CometAPI dashboard にログインします。Add API Key をクリックし、キーと base URL(https://api.cometapi.com)をコピーします。
CometAPI ダッシュボード — Add API Key
CometAPI API key と base URL
2

config.py を編集する

gpt_academic/config.py を開きます。API endpoint を https://api.cometapi.com/v1/chat/completions に設定し、CometAPI key を API key の値として貼り付けます。
gpt_academic config.py — API URL と key フィールド
3

再起動してテストする

gpt_academic を再起動し、簡単なタスクを試します。正常にレスポンスが返れば、CometAPI が接続されています。