© 2023 Wantedly, Inc.ChatGPTで僕が知っていることMay. 1 2023 - Hazumi Ichijo
View Slide
© 2023 Wantedly, Inc.利用方法1. ChatGPTa. OpenAIb. Azure OpenAI Service2. ChatGPT Pluginsa. LangChain
© 2023 Wantedly, Inc.実装パターン(@rerostがTLで見たことあるもの)1. APIa. 前段に情報を追加するi. 少量の情報を追加するii. 大量の情報を追加するb. 複数のChatGPTを利用する2. ChatGPT Plugins
© 2023 Wantedly, Inc.実装パターン 少量の情報を追加するURLを渡すパターン(gptalk)PDFを渡すパターン(zerebom/gpt-pdf-summarizer)
© 2023 Wantedly, Inc.実装パターン 大量の情報を追加する社内ドキュメントを検索する
© 2023 Wantedly, Inc.実装パターン 複数のChatGPTを利用する
© 2023 Wantedly, Inc.実装パターン 複数のChatGPTを利用する別のスレッドでモデレートする
© 2023 Wantedly, Inc.実装パターン 複数のChatGPTを利用するトークン数対策のため要約するパターンプロンプトインジェクション対策
© 2023 Wantedly, Inc.実装パターン ChatGPT Plugins
© 2023 Wantedly, Inc.ライブラリ1. LangChain, ChatGPT周りのいろんな機能全部入りhttps://github.com/hwchase17/langchain2. GPT Index, LLMに検索機能を付与https://github.com/jerryjliu/llama_index
© 2023 Wantedly, Inc.今できないこと1. ChatGPTに新しい情報を学習させる(Fine-Tune)2. 4k(32k)トークン以上の情報を渡す● トークンについて○ https://platform.openai.com/tokenizer○ https://help.openai.com/en/articles/4936856-what-are-tokens-and-how-to-count-them
© 2023 Wantedly, Inc.他事例1. Rimo 要約● https://prtimes.jp/main/html/rd/p/000000010.000064239.html2. タップル 文章作成● https://www.watch.impress.co.jp/docs/news/1492366.html3. LawFlow 法律相談● https://prtimes.jp/main/html/rd/p/000000045.000051647.html4. Zapier ノーコード(ChatGPT Pluginライク?)● https://zapier.com/apps/chatgpt/integrations5. SiteGPT サイト情報検索● https://sitegpt.ai/6. NPCとして振る舞わせる● https://arxiv.org/abs/2304.034427. 社内情報検索● https://qiita.com/nohanaga/items/803c09b5a3a4e2d1776f
© 2023 Wantedly, Inc.他の参考になりそうなもの1. ChatGPT Prompt Engineering for Developers● https://www.deeplearning.ai/short-courses/chatgpt-prompt-engineering-for-developers/2. 検索エンジンを組み合わせる例● https://twitter.com/dotey/status/16319265878672424963. ChatGPT Plugins (LangChain)● https://python.langchain.com/en/latest/modules/agents/tools/examples/chatgpt_plugins.html