Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
LangChain体験入門演習ガイド
Search
DATASTAX JAPAN
February 28, 2024
Technology
180
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
LangChain体験入門演習ガイド
DATASTAX JAPAN
February 28, 2024
Transcript
23 slides
©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 ありがとうございました
More Decks by DATASTAX JAPAN
See All by DATASTAX JAPAN
LangChain体験入門Part2 ハイブリッド検索
datastaxjapan
0
580
LangChain体験入門_演習ガイド_20240418
datastaxjapan
0
210
LangChain体験入門(再々)
datastaxjapan
0
160
LangChain体験入門演習ガイド
datastaxjapan
0
230
ベクトルデータベース Astra DB / Apache Cassandra 紹介
datastaxjapan
1
860
LangChain体験入門
datastaxjapan
0
350
LLMフレームワークLangChain入門 〜生成AIアプリ開発手法とベクトル検索
datastaxjapan
0
550
DataStaxの生成AIへのアプローチと顧客のAI活用事例
datastaxjapan
1
240
機械学習/深層学習とCassandraの進化〜リアルタイムデータからリアルタイムAIへ
datastaxjapan
0
220
Other Decks in Technology
See All in Technology
常時稼働エージェントの作り方(Claude公式ブログを資料化)
minorun365
PRO
20
29k
Webメール開発を大幅に変えたJMAPというゲームチェンジャー
tascript
3
1.1k
業務の傍らで進める改善ループエンジニアリング
bengo4com
1
240
信頼性を犠牲にせず、PR マージからデプロイまで人の介入を完全にゼロにするまでの道のり
knwoop
4
2.1k
認知負荷の減らし方 ~開発にも日常業務にも活かせるノウハウ~
minorun365
PRO
17
10k
フロントエンドのテストカバレッジは 100%強制がいい
bengo4com
6
2.4k
NutanixへのSSHアクセスの今後について
shadowhat
0
170
実測データからサービスの成長余力を測る。負荷シナリオ・テストデータ・限界値の設計
kazatohiei
1
180
Amazon EFS のマルウェアスキャンをClamAV で自前実装したら苦労した話
mtmtfactory01
0
110
さようならSSH鍵、こんにちはゼロトラスト ― AIフレンドリーで快適な自宅鯖SSH
atalie2m
14
7.6k
メルカリの小規模チーム「Pod」で、 エンジニアがデータアナリストなしで、 AIを使ってデータ分析の自走を目指す取り組み
jackojacko_
1
350
統制されたID・権限をどう利用するか : DPoP/FAPIによるAPIセキュリティ強化
oidfj
2
300
Featured
See All Featured
Facilitating Awesome Meetings
lara
57
7.2k
The Cost Of JavaScript in 2023
addyosmani
56
10k
Testing 201, or: Great Expectations
jmmastey
46
8.4k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
680
A Soul's Torment
seathinner
9
4k
Utilizing Notion as your number one productivity tool
mfonobong
4
650
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
1k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1.1k