電気通信大学 技術職員である島崎をAI化したものです
雑談や電気通信大学に関する質問ができます
Docker, docker-composeを端末にインストール
以下を取得してください
- OPENAI APIキー (参考:https://book.st-hakky.com/data-science/open-ai-create-api-key/)
- Koeiromap APIキー (参考:https://note.com/npaka/n/n44652d3c9fcc)
.env.local
を/frontend/
に作成してAPIキーを記載(参考:/frontend/.env.local.sample)
リポジトリをクローンするか、ダウンロードしてください。
リポジトリフォルダに移動後以下を実行
# https(音声認識を使用したい場合, 通常はこちら)
docker compose up -d
# http(音声認識使用不可)
docker compose --file docker-compose.wo_ssl.yml up -d
実行後、以下のURLにアクセスして動作を確認して下さい
- httpsの場合:https://localhost/ced-iot
- httpの場合:http://localhost/ced-iot
大学のサーバーで運用をする場合,以下の事項が必要です
- 443, 80ポートを開ける
/frontend/.env.local
のBASE_URLにサーバーアドレスを記載(https://brown01.ced.cei.uec.ac.jp/ced-iot/api/
のように最後に/api
を記述すること 参考:/frontend/.env.local.sample)- アクセス先の例:https://brown01.ced.cei.uec.ac.jp/ced-iot/
backend/qa_api/dataに電通大に関する情報を記述したテキストファイルを配置してください.
記述形式は現在検討中です.
ChatVRMでは返答文の生成にChatGPT APIを使用しています。
ChatGPT APIの仕様や利用規約については以下のリンクや公式サイトをご確認ください。
- https://platform.openai.com/docs/api-reference/chat
- https://openai.com/policies/api-data-usage-policies
ChatVRMでは返答文の音声読み上げにKoemotionのKoeiromap APIを使用しています。
Koeiromap APIの仕様や利用規約については以下のリンクや公式サイトをご確認ください。
VRMファイルを用意すれば任意のアバターを読み込める
例えば、ジョイマン高木のVRMを使用することができる
また,VRoidStudioを使用してオリジナルのアバターを作成できる
_document.tsxの<body style={{ backgroundImage:
url(${buildUrl("/bg-ced.png")}) }}>
を変更