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
170
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
LangChain体験入門演習ガイド
DATASTAX JAPAN
February 28, 2024
More Decks by DATASTAX JAPAN
See All by DATASTAX JAPAN
LangChain体験入門Part2 ハイブリッド検索
datastaxjapan
0
560
LangChain体験入門_演習ガイド_20240418
datastaxjapan
0
200
LangChain体験入門(再々)
datastaxjapan
0
150
LangChain体験入門演習ガイド
datastaxjapan
0
220
ベクトルデータベース Astra DB / Apache Cassandra 紹介
datastaxjapan
1
830
LangChain体験入門
datastaxjapan
0
330
LLMフレームワークLangChain入門 〜生成AIアプリ開発手法とベクトル検索
datastaxjapan
0
530
DataStaxの生成AIへのアプローチと顧客のAI活用事例
datastaxjapan
1
220
機械学習/深層学習とCassandraの進化〜リアルタイムデータからリアルタイムAIへ
datastaxjapan
0
210
Other Decks in Technology
See All in Technology
Sigmaユーザーのための有用リソース一挙公開 & Sigmaで使えるMCP #sigma_ucj /useful-resources-for-sigma-computing-users-and-mcps-with-sigma
shinyaa31
0
160
AIとペアプロを始める。人とのペアプロをやめる。ペアプロの良さを改めて知る。もっと好きになった。 / Rediscovering Pair Programming
honyanya
1
290
WAF 運用改善の承認サイクル/SRE_BizReach_MIXI_1
visional_engineering_and_design
2
370
ブラウザアプリの継続的パフォーマンスモニタリング (序) / Continuous Browser Application Performance Monitoring; Act 1
moznion
0
110
Oracle Cloud Infrastructure IaaS 新機能アップデート 2026/6 - 2026/8
oracle4engineer
PRO
0
130
GuardDuty 検知対応を DevOps Agent で効率化しようとしている話 / GuardDuty Investigations with DevOps Agent
masahirokawahara
1
340
生成AIのテナント制御とシャドーMCP対策 | AIを"止めずに"、情報を守る
yukun
0
130
Bet AI Day 2026丨AIによって本質に戻るシステムリスク管理
layerx
PRO
0
1.3k
コスト最適化の「めんどくさい」を AWS FinOps Agent でチョット楽にする
classmethod_kaz
0
280
Adaptive Warehouse を今すぐ導入すべき理由と迷ったときの判断基準
__allllllllez__
0
120
少人数データチームのDevin活用実践事例
runandy16
2
460
V8コントリビュート超入門
riyaamemiya
0
150
Featured
See All Featured
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.2k
Designing for humans not robots
tammielis
254
26k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
270
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
[RailsConf 2023] Rails as a piece of cake
palkan
59
7k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
320
How to make the Groovebox
asonas
2
2.4k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.9k
From π to Pie charts
rasagy
0
360
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
480
What does AI have to do with Human Rights?
axbom
PRO
1
2.4k
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 ありがとうございました