Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【STEP1】ChainlitでOpenAIのAPIを使えるようにしてチャットボットを作る #27

Closed
wants to merge 1 commit into from

Conversation

sorasora2005
Copy link

@sorasora2005 sorasora2005 commented Apr 6, 2024

【STEP1】ChainlitでOpenAIのAPIを使えるようにしてチャットボットを作成

概要
このプルリクエストでは、Issue #1 の要件に従い、Chainlitを使用してOpenAIのAPIを統合し、インタラクティブなLLMエージェントと会話ができるチャットボットを実装しました。

主な変更点
OpenAI APIキーの取得と設定:.env ファイルを作成し、APIキーを安全に管理しました。
Chainlitアプリの実装: Chainlitのフレームワークを使用して、ユーザー入力を受け取り、OpenAIのAPIを呼び出してレスポンスを表示するシンプルなUIを作成しました。

参考資料
・[公式のgetting start] (https://docs.chainlit.io/integrations/langchain)
・[Qiita記事] (https://qiita.com/skkzsh/items/17bff703dba27240ec90)

開発のヒント

詳細な開発手順やヒントについては、開発例のヒントを参照してください。(https://github.com/matsuoinstitute/chatbot-demo/wiki/%E9%96%8B%E7%99%BA%E4%BE%8B%E3%81%AE%E3%83%92%E3%83%B3%E3%83%88)

@sorasora2005 sorasora2005 changed the title Add config.py, update requirements, and demo.py 【STEP1】ChainlitでOpenAIのAPIを使えるようにしてチャットボットを作る Apr 6, 2024
@Miyabi315 Miyabi315 closed this Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants