💬 OpenAI Chat with Excel CSV using LangChain

  Рет қаралды 53,477

1littlecoder

1littlecoder

Күн бұрын

Пікірлер: 78
@kumargaurav2170
@kumargaurav2170 Жыл бұрын
Maybe we can use prompt _template & agent module of Langchain to make it more robust at giving answers.
@Ryan-yj4sd
@Ryan-yj4sd Жыл бұрын
please make one on chatting with SQL database
@anujsahu07
@anujsahu07 Жыл бұрын
@@mzerone-g6m any reference you have for the same?
@efficiencydna897
@efficiencydna897 Жыл бұрын
greatidea
@mzerone-g6m
@mzerone-g6m Жыл бұрын
@@anujsahu07 just read docs no need to reference
@Manali_99
@Manali_99 8 ай бұрын
It shows error during create an index using the loaded documents step, it asks to mention embeddings in first line
@AkaThePistachio
@AkaThePistachio Жыл бұрын
Hey for some reason when trying to create the vector store i get a conflict issue with pydantic saying "`BaseSettings` has been moved to the `pydantic-settings`" How can i fix this?
@bourbe
@bourbe Жыл бұрын
Hello, I am wonderng About something, when WE se a csv agent, WE don't need to use embeding, Vector data base or a memory ? I am currenly confuse
@AmirBehjat-c9f
@AmirBehjat-c9f Жыл бұрын
First it worked fine but then when I increased the size of the file it became useless, avoid the question. Once I returned to the original file it remained useless. It seems that some limitations activated and made the code wrong.
@hariram-pz5uz
@hariram-pz5uz Жыл бұрын
when i implement this using azure openai it throwing me too many input error. How to resolve this?
@nishkarve
@nishkarve Жыл бұрын
Why do I run into ChromaDB authentication errors? Is there some setup outside this notebook for ChromaDB?
@rheapoddar6912
@rheapoddar6912 Жыл бұрын
I am getting a rateLimit error, do you know what we can do about that?
@matthewpan8518
@matthewpan8518 Жыл бұрын
thank you for your helpful video, i am a new learner in ai, i gotta a question:what is the difference between gpt-index and gpt-embedding? i am a little confused...
@xevenau
@xevenau 5 ай бұрын
do you have one that uses llama3 for chatting to avoid cost?
@AbirKhan-j4r
@AbirKhan-j4r 4 күн бұрын
Did you get any solution with LLAMA
@RetropunkAI
@RetropunkAI Жыл бұрын
Which OpenAI model does it use? I may have missed it.
@chetan5581
@chetan5581 Жыл бұрын
But can we somehow control the no of tokens being used ? I have csv files in GBs
@Tadi859
@Tadi859 4 күн бұрын
I am working on a project with similar data volume. Were you able to solve the problem?
@smart-sg5cs
@smart-sg5cs Жыл бұрын
dear little coder if we want to set a system like this and want to use SQL data base instead of a vector DB .which one will have better and more accurate results .also do we necessarily use vector DB in case we want to use LLM like open ai
@judickaelsam3103
@judickaelsam3103 Жыл бұрын
Hi everyone, I get this error "RateLimitError: You exceeded your current quota, please check your plan and billing details." when executing the same code. I just want to do the same tests. Why would my quota be exceeded even if it's the first time I use an open ai key? Anyone having the same issue? Do I really need to upgrade as I just want to do exactly the same tests? Please help
@1littlecoder
@1littlecoder Жыл бұрын
Maybe your 3 months since OpenAI account creation is finished. the free credits expire in 3 months
@judickaelsam3103
@judickaelsam3103 Жыл бұрын
@@1littlecoder Thanks. I just created it yesterday
@ayushmansxn
@ayushmansxn Жыл бұрын
I am getting error "Failed building wheel for hnswlib" . How to resolve this ???
@1littlecoder
@1littlecoder Жыл бұрын
Did you try to install that library yourself?
@ayushmansxn
@ayushmansxn Жыл бұрын
yes i did
@top10collection88
@top10collection88 3 ай бұрын
Bro instead of chroma db use FAISS db it won't show the error :)
@AshishKumarRajak-xg7il
@AshishKumarRajak-xg7il 10 ай бұрын
I think i have to use paid api for this
@intrepidani6422
@intrepidani6422 Жыл бұрын
Can we do the same thing with doc or pdf form
@estrangeiroemtodaparte
@estrangeiroemtodaparte Жыл бұрын
This channel is awesome!
@v.svishnu2380
@v.svishnu2380 Жыл бұрын
Do we have any security for the data that we upload as csv ?
@dipanshumansingka
@dipanshumansingka Жыл бұрын
How about confedentiality of data given as input
@chenling2870
@chenling2870 Жыл бұрын
Hey 1littlecoder Thanks for post the code, and that's super helpful. I love it. But I have one question when run the script. It seems like the code only can read 4 lines in the CSV, any chance you might know the reason?
@VK-zg2bw
@VK-zg2bw Жыл бұрын
Because, the default similarity search k value is 4, that why.
@punithsai689
@punithsai689 Жыл бұрын
@@VK-zg2bw can we change that value? i mean i have a csv file of 107 records . if so, what is the maximum value for k?
@bhushiwakade5699
@bhushiwakade5699 Жыл бұрын
I guess it would be k= len(records). Correct me if I am wrong.
@dhanushdm5761
@dhanushdm5761 Жыл бұрын
same doubt
@feizaltoefy185
@feizaltoefy185 Жыл бұрын
How would one interact with more than 1 csv file with different field names
@RedCloudServices
@RedCloudServices Жыл бұрын
Langchain would need to help avoid hallucinations perhaps using agents and printing source for responses? i.e. csv rows/cols summary
@danixkarim
@danixkarim Жыл бұрын
Can you giude how to add a validation layer?
@aination7302
@aination7302 Жыл бұрын
I tried this and it keeps saying "I don't know" :/
@thekaizer666
@thekaizer666 Жыл бұрын
hey can you run a tutorial on how to code your own personal chatGPT text-davinci-003 + text-ada-002 embeddings, and integrate with a vector-database such as Chroma, Pinecone, or Milvus? plus, that its able to do live web-searches and scrape webs for information it doesnt currently have? "David Shapiro ~ AI" did a full tutorial on the very-basic level of it using Pinecone, but the bot is too basic and dull and doesnt really work that well. the video: "Chatbot with INFINITE MEMORY using OpenAI & Pinecone - GPT-3, Embeddings, ADA, Vector DB, Semantic"
@MohitSingh-ub9gc
@MohitSingh-ub9gc Жыл бұрын
any progress?
@MohitSingh-ub9gc
@MohitSingh-ub9gc Жыл бұрын
this is awesome!
@1littlecoder
@1littlecoder Жыл бұрын
Thanks Mohit!
@rohanchandanshive4258
@rohanchandanshive4258 Жыл бұрын
Please share, how can we integrate this with gradio UI???
@WondrousHello
@WondrousHello Жыл бұрын
What model does it use when you assign llm = OpenAI()? It’s important to know so you can monitor token usage I think
@1littlecoder
@1littlecoder Жыл бұрын
You can specify the model type inside that. By default it uses text davinci 003 if I'm not wrong. But please the documentation once.
@WondrousHello
@WondrousHello Жыл бұрын
@@1littlecoder thanks for the reply. Ok that makes sense. I assume gpt-3.5-turbo would perform better. Is there any transparency with how many tokens these processes use with LangChain? All this is very nice but I don’t want to burn through all my tokens 😅
@DeepakSingh-ji3zo
@DeepakSingh-ji3zo Жыл бұрын
Does Langchain upload this csv data to openai?
@RodrigoFigueras
@RodrigoFigueras Жыл бұрын
This works brilliantly but I realized the model will only return a max of 4 pokemon regardless of the prompt. Why is this?
@dhanushdm5761
@dhanushdm5761 Жыл бұрын
got any answer?
@extensivamente
@extensivamente Жыл бұрын
I wanted to ask you if you know the diff-svc project (exchange voices of musical artists). It would be helpful if you can make a video tutorial about it. Thank you!
@abodh7046
@abodh7046 9 ай бұрын
How to handle 2 csv file?
@joeboulton7638
@joeboulton7638 Жыл бұрын
Would this be able to do count calculations? E.g. How many pokemon's name start with the letter F or how many Pokemon have a health above 200
@1littlecoder
@1littlecoder Жыл бұрын
Ideally it should, did you try?
@SomuNayakVlogs
@SomuNayakVlogs Жыл бұрын
Can you create a video csv with opensource llm model, not with openai
@ValerioDucci
@ValerioDucci Жыл бұрын
Any plugin that does this?
@Lichen-er6zy
@Lichen-er6zy Жыл бұрын
I am getting langchain package error
@beinginlife1591
@beinginlife1591 5 ай бұрын
I have 1 lakh rows , and giving limited token error …
@mzerone-g6m
@mzerone-g6m Жыл бұрын
Could you use another open source model like rwkv or any thing.
@pastoryoda2789
@pastoryoda2789 Жыл бұрын
Little Coder what do you use to edit your videos?
@1littlecoder
@1littlecoder Жыл бұрын
Screenflow mostly and Da Vinci resolve sometimes
@isaiahsgametube2321
@isaiahsgametube2321 Жыл бұрын
thank you so much!
@harsh7704
@harsh7704 Жыл бұрын
could you implement the rag pipeline here
@arpitkakkar2780
@arpitkakkar2780 Жыл бұрын
What if CSV contains more than 5k rows and more than 20 columns?
@1littlecoder
@1littlecoder Жыл бұрын
I've not tried such a large one, did you try?
@arpitkakkar2780
@arpitkakkar2780 Жыл бұрын
@@1littlecoder Thanks for the reply. I'm trying to implement it using a pinecone vector database.
@VK-zg2bw
@VK-zg2bw Жыл бұрын
This code will not provide proper results, it will only give 4 results (rows) in total, and i can not do much like total count, difference and so on, And for the 4 rows, the similarity search in vectorstore gets only 4 rows in total, it's the default k value. And if not wrong, little coder also know this, that's why he matched his results like I know only Pikachu so I will ask question with it in this video😅 and there is no proper response in any of the questions below.
@akhilvmathew392
@akhilvmathew392 3 ай бұрын
Yeah. Even after increasing the k size, only 4 values are retrieved. Is there a way to get all the records ?
@unemployedtechie
@unemployedtechie 10 ай бұрын
can you do one with gemini-pro please?
@TerryKinder
@TerryKinder Жыл бұрын
You have accused the Ai of hallucinating. It will remember.
@1littlecoder
@1littlecoder Жыл бұрын
Haha
@real23lions
@real23lions Жыл бұрын
9:50 soon we will all apologise to AI 😂😂
@klam77
@klam77 10 ай бұрын
Does this not imply that SQL is dead?!!!!!!!
@smart-sg5cs
@smart-sg5cs Жыл бұрын
hello little Coder i have been trying to get in touch with u i have messages on ur twitter account also i am a non tech guy are u open for collbration on project basis i am trying to create my app using Llm pp let me know how to contact thanks
Embedchain - NEW 🔥 Langchain BABY to build LLM Bots!!!
15:49
1littlecoder
Рет қаралды 13 М.
Chat with CSV files using LangChain Agent [GPT-4o]
24:12
Tony Kipkemboi
Рет қаралды 3,3 М.
The Lost World: Living Room Edition
0:46
Daniel LaBelle
Рет қаралды 27 МЛН
Their Boat Engine Fell Off
0:13
Newsflare
Рет қаралды 15 МЛН
🎈🎈🎈😲 #tiktok #shorts
0:28
Byungari 병아리언니
Рет қаралды 4,5 МЛН
OpenAI Embeddings and Vector Databases Crash Course
18:41
Adrian Twarog
Рет қаралды 523 М.
The LangChain Cookbook - Beginner Guide To 7 Essential Concepts
38:11
Chat with a CSV | LangChain Agents Tutorial (Beginners)
26:22
Alejandro AO - Software & Ai
Рет қаралды 70 М.
This SIMPLE Trick will Change LLM Accuracy !!!
9:42
1littlecoder
Рет қаралды 1,1 М.
ChatGPT: от новичка до PRO за полчаса
38:21
DiazBarnz
Рет қаралды 542 М.
The Lost World: Living Room Edition
0:46
Daniel LaBelle
Рет қаралды 27 МЛН