Unlocking ChatGPT's Potential: LangChain Tutorial with DuckDB

  Рет қаралды 3,814

Matt Forrest

Matt Forrest

Күн бұрын

Пікірлер: 12
@ecopony
@ecopony Жыл бұрын
Great demo. While following along, I noticed the issue with your initial question about the NBA data was an issue with capitalization. Typing 'Lebron' was causing no results to be returned. The season info in the prompt looked like it was actually doing the right thing. For anyone following along, these additions to the prompt seemed to help: "If you are asked about something having to do with a year, treat years as starting in October and ending in June." "Look up player names in a case insensitive manner." Also, in that initial question, the query was summing distance because there is no concept of points in the database. Adding a points column helped with this: connection.query('alter table nba_short add column points int'); connection.query(''' UPDATE nba_short SET points = CASE WHEN made = true AND shot_type = '2-pointer' THEN 2 WHEN made = true AND shot_type = '3-pointer' THEN 3 ELSE 0 END; ''') And to the prompt: "The column name points with the data type INTEGER contains the following information: The number of points the shot was worth"
@MattForrest
@MattForrest 11 ай бұрын
Yes good call I want to do more on this topic and still figuring out the best way to structure the prompts.
@AdrienSales
@AdrienSales Жыл бұрын
Cool demo, thanks a lot for sharing.
@MattForrest
@MattForrest 6 ай бұрын
Thanks!
@roshanm8409
@roshanm8409 10 ай бұрын
Can you please share the Jupyter notebook?
@MattForrest
@MattForrest 6 ай бұрын
Link should be there I believe
@oncedidactic
@oncedidactic Жыл бұрын
Thanks nice demos!
@MattForrest
@MattForrest 11 ай бұрын
Thanks!
@sunilverma1975
@sunilverma1975 Жыл бұрын
How you learn GIS can any way of learning tools... Is it worth it??
@MattForrest
@MattForrest 11 ай бұрын
Depends on your career goals but there are tons of great free resources to get started. I have other videos on that topic.
@AndreaBorruso
@AndreaBorruso Жыл бұрын
Thank you very much, impressive
@MattForrest
@MattForrest 11 ай бұрын
Thanks!
AI-Powered Crop Classification Using Hugging Face and Satellite Data
25:17
Война Семей - ВСЕ СЕРИИ, 1 сезон (серии 1-20)
7:40:31
Семейные Сериалы
Рет қаралды 1,6 МЛН
Can DuckDB revolutionize the data lake experience?
16:38
MotherDuck
Рет қаралды 3,9 М.
Apache Sedona Community Office Hours - December 2024
45:33
WHEROBOTS Inc.
Рет қаралды 110
Robust Text-to-SQL With LangChain: Claude 3 vs GPT-4
19:40
Rabbitmetrics
Рет қаралды 10 М.
Spatial SQL Tools Explained: The Ultimate Guide
30:32
Matt Forrest
Рет қаралды 1,2 М.
Is DuckDB the Secret to Unlocking Your GIS Potential?
14:50
MotherDuck
Рет қаралды 3,5 М.
Big Data is Dead | MotherDuck
25:58
Data Council
Рет қаралды 14 М.
pg_duckdb: Postgres analytics just got faster with DuckDB
14:19
Build an AI RAG Application with LangChain & Next.js
33:34
Dave Gray
Рет қаралды 30 М.
OGA: Hippocrates v Galen [volume up]
33:27
Voces anticae
Рет қаралды 26
Война Семей - ВСЕ СЕРИИ, 1 сезон (серии 1-20)
7:40:31
Семейные Сериалы
Рет қаралды 1,6 МЛН