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
0
130
LangChain体験入門演習ガイド
DATASTAX JAPAN
February 28, 2024
Tweet
Share
More Decks by DATASTAX JAPAN
See All by DATASTAX JAPAN
LangChain体験入門Part2 ハイブリッド検索
datastaxjapan
0
510
LangChain体験入門_演習ガイド_20240418
datastaxjapan
0
170
LangChain体験入門(再々)
datastaxjapan
0
120
LangChain体験入門演習ガイド
datastaxjapan
0
190
ベクトルデータベース Astra DB / Apache Cassandra 紹介
datastaxjapan
1
750
LangChain体験入門
datastaxjapan
0
280
LLMフレームワークLangChain入門 〜生成AIアプリ開発手法とベクトル検索
datastaxjapan
0
490
DataStaxの生成AIへのアプローチと顧客のAI活用事例
datastaxjapan
1
180
機械学習/深層学習とCassandraの進化〜リアルタイムデータからリアルタイムAIへ
datastaxjapan
0
170
Other Decks in Technology
See All in Technology
テストセンター受験、オンライン受験、どっちなんだい?
yama3133
0
210
Databricks Free Edition講座 データエンジニアリング編
taka_aki
0
2.5k
AWS re:Invent 2025 を振り返る
kazzpapa3
2
110
ECS_EKS以外の選択肢_ROSA入門_.pdf
masakiokuda
1
130
AI Agent Standards and Protocols: a Walkthrough of MCP, A2A, and more...
glaforge
0
190
Data Hubグループ 紹介資料
sansan33
PRO
0
2.6k
技術選定、下から見るか?横から見るか?
masakiokuda
0
190
Kusakabe_面白いダッシュボードの表現方法
ykka
0
120
kintone開発のプラットフォームエンジニアの紹介
cybozuinsideout
PRO
0
510
[PR] はじめてのデジタルアイデンティティという本を書きました
ritou
1
800
BidiAgent と Nova 2 Sonic から考える音声 AI について
yama3133
2
150
AI に「学ばせ、調べさせ、作らせる」。Auth0 開発を加速させる7つの実践的アプローチ
scova0731
0
240
Featured
See All Featured
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
160
Embracing the Ebb and Flow
colly
88
4.9k
Code Review Best Practice
trishagee
74
19k
Context Engineering - Making Every Token Count
addyosmani
9
590
Test your architecture with Archunit
thirion
1
2.1k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
2.8k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
730
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
130
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
41
Building Flexible Design Systems
yeseniaperezcruz
330
40k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
The Curious Case for Waylosing
cassininazir
0
200
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 ありがとうございました