Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
LangChain体験入門演習ガイド
Search
DATASTAX JAPAN
February 28, 2024
Technology
160
0
Share
LangChain体験入門演習ガイド
DATASTAX JAPAN
February 28, 2024
More Decks by DATASTAX JAPAN
See All by DATASTAX JAPAN
LangChain体験入門Part2 ハイブリッド検索
datastaxjapan
0
550
LangChain体験入門_演習ガイド_20240418
datastaxjapan
0
190
LangChain体験入門(再々)
datastaxjapan
0
140
LangChain体験入門演習ガイド
datastaxjapan
0
200
ベクトルデータベース Astra DB / Apache Cassandra 紹介
datastaxjapan
1
800
LangChain体験入門
datastaxjapan
0
310
LLMフレームワークLangChain入門 〜生成AIアプリ開発手法とベクトル検索
datastaxjapan
0
510
DataStaxの生成AIへのアプローチと顧客のAI活用事例
datastaxjapan
1
200
機械学習/深層学習とCassandraの進化〜リアルタイムデータからリアルタイムAIへ
datastaxjapan
0
190
Other Decks in Technology
See All in Technology
関西に縁あるMicrosoft MVPsが語るCopilotの未来
kasada
0
1k
AI-DLCを活用した高品質・安全なAI駆動開発実践 / AI Driven Development
yoshidashingo
1
330
インフラが苦手でも大丈夫! 紙芝居 Kubernetes -WWGT 10周年編-
aoi1
1
330
Oracle AI Database@Google Cloud:サービス概要のご紹介
oracle4engineer
PRO
6
1.5k
AI時代の私の技術インプットとアウトプット術
tonkotsuboy_com
16
8.3k
BigQuery の Cross-cloud Lakehouse への歩み
phaya72
2
540
Spring Boot における AOT Cache 活用テクニックと 起動時間改善事例
ntt_dsol_java
0
200
サイバーセキュリティ概論 / Introduction to Cybersecurity
ks91
PRO
0
130
AIを「創る」と「使う」の循環 — HRテックが実践するリアルなAI組織実装
taketo957
0
1.1k
プラットフォームエンジニア ワークショップ/ platform-workshop
databricksjapan
0
220
AIガバナンス実践 - 生成AIコネクタのデータ漏洩リスクと実務対策
knishioka
0
170
「嘘をつくテスト」の失敗例から学ぶ 良いテストコード #frontend_phpcon_do
asumikam
0
160
Featured
See All Featured
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Designing Experiences People Love
moore
143
24k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
240
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.3k
Side Projects
sachag
455
43k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
480
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Embracing the Ebb and Flow
colly
88
5.1k
Test your architecture with Archunit
thirion
1
2.3k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.7k
Being A Developer After 40
akosma
91
590k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
Transcript
©2023 DataStax. – All rights reserved DataStax AIワークショップ LangChain体験入門 演習ガイド 2024年2月29日
©2023 DataStax. – All rights reserved 前提条件の準備
©2023 DataStax. – All rights reserved AstraDBトライアルアカウント 3 下記のURLからご登録ください(クレジットカード入力不要・利用期間制限なし、月々無料枠あり)
▪ https://astra.datastax.com/signup
©2023 DataStax. – All rights reserved OpenAI APIキー 4 https://platform.openai.com/login?launch
OpenAIログイン >「API」タイル > 左サイドメニューAPI Keys
©2023 DataStax. – All rights reserved Colaboratory / Google Colab
5 https://colab.research.google.com/?hl=ja 初めて利用する場合は、 Googleアカウントでサインアップします。
©2023 DataStax. – All rights reserved Astra DB利用
©2023 DataStax. – All rights reserved データベースメニューから新規DB作成 7
©2023 DataStax. – All rights reserved データベース作成ダイアログ 8 Serverless (Vector)を選びます。
データベース名: demo
©2023 DataStax. – All rights reserved DBへの接続のための認証情報取得 9
©2023 DataStax. – All rights reserved トークン生成 10
©2023 DataStax. – All rights reserved 接続先指定:APIエンドポイント 11
©2023 DataStax. – All rights reserved CQLコンソール(クエリでの確認を行う場合) 12
©2023 DataStax. – All rights reserved 演習
©2023 DataStax. – All rights reserved 本日の演習内容 14 01_RAG_pdf.ipynb
02_RAG_table_text.ipynb https://github.com/YoshiyukiKono/langchain_for_beginners
©2023 DataStax. – All rights reserved 01_RAG_pdf.ipynb 15 ①初めに、リポジトリの「 data」フォルダの下の「
DataStax_Vector-search.pdf」をローカルにダウンロードします。 ②ローカルにダウンロードしたファイルをCollaboratoryに、 アップロードします。
©2023 DataStax. – All rights reserved サンプルアプリ
©2023 DataStax. – All rights reserved サンプルアプリ 17 企業保有データ Streamlit(https://streamlit.io/)を利用したサンプルアプリ
(同じ書籍データを利用・テーブル名などの差異があります) https://github.com/YoshiyukiKono/gen_ai-sandbox/tree/main/streamlit _chatbot
©2023 DataStax. – All rights reserved 従来のアプリケーションとの違い 18 自由な表現による 問い合わせ
「機械学習」から 「データサイエンス」、「データ サイエンティスト」のように意味 的に関連する 言葉を含めて推薦
©2023 DataStax. – All rights reserved 告知など
©2023 DataStax. – All rights reserved Qiitaにてブログ発信中:ぜひフォローください! 20 https://qiita.com/organizations/datastax
©2023 DataStax. – All rights reserved 次回ワークショップ開催 21 4月4日(木)に、今回と同じ場所・時間で開催予定 次回は、(ベクトル検索と通常の
DBhenoクエリとの)「ハイブリッドサーチ」 をテーマにする予定
©2023 DataStax. – All rights reserved 生成AI・ベクトル検索にDataStaxの技術を! 22 ご質問・デモ・ご商談のご依頼は、
[email protected]
へお問合せください。
POCのご要望についても、お待ちしています。
©2023 DataStax. – All rights reserved ありがとうございました