Upgrade to Pro — share decks privately, control downloads, hide ads and more …

LangChain体験入門_演習ガイド_20240418

 LangChain体験入門_演習ガイド_20240418

DATASTAX JAPAN

April 17, 2024
Tweet

More Decks by DATASTAX JAPAN

Other Decks in Technology

Transcript

  1. ©2023 DataStax. – All rights reserved
 OpenAI APIキー 4
 https://platform.openai.com/login?launch

    OpenAIログイン >「API」タイル > 左サイドメニューAPI Keys
  2. ©2023 DataStax. – All rights reserved
 Colaboratory / Google Colab

    5
 https://colab.research.google.com/?hl=ja 初めて利用する場合は、 Googleアカウントでサインアップします。
  3. ©2023 DataStax. – All rights reserved
 本日の演習内容 14
 01_RAG_pdf.ipynb
 


    03_RAG_table_text_hybrid_search.ipynb
 
 https://github.com/YoshiyukiKono/langchain_for_beginners
  4. ©2023 DataStax. – All rights reserved
 01_RAG_pdf.ipynb 15
 ①初めに、リポジトリの「 data」フォルダの下の「

    DataStax_Vector-search.pdf」をローカルにダウンロードします。 
 ②ローカルにダウンロードしたファイルをCollaboratoryに、 アップロードします。

  5. ©2023 DataStax. – All rights reserved
 サンプルアプリ 17
 企業保有データ
 Streamlit(https://streamlit.io/)を利用したサンプルアプリ

    (同じ書籍データを利用・テーブル名などの差異があります) https://github.com/YoshiyukiKono/gen_ai-sandbox/tree/main/streamlit _chatbot
  6. ©2023 DataStax. – All rights reserved
 従来のアプリケーションとの違い 18
 自由な表現による
 問い合わせ


    「機械学習」から
 「データサイエンス」、「データ サイエンティスト」のように意味 的に関連する
 言葉を含めて推薦