Build AI chatbot with custom knowledge base using OpenAI API and GPT Index

  Рет қаралды 207,199

Irina Nik

Irina Nik

Жыл бұрын

Learn how to build a full-stack app in this tutorial: • Full-stack AI chatbot ...
Tutorial about building an AI with a custom knowledge base using OpenAI API, GPTIndex, and Langchain.
The technique was first described by Dan Shipper www.lennysnewsletter.com/p/i-...
Source code: colab.research.google.com/dri...
High-converting accessible e-commerce template from Tech Foundation techfoundation.gumroad.com/l/...
Designed following 100+ insights from large-scale usability testing and research provided by such organizations as Baymard University and NNGroup.
Free UI design course: • How to set up Figma ac...
#UXDesign #UX #Figma #UXUI

Пікірлер: 295
@irina_nik
@irina_nik 10 ай бұрын
Learn how to build a full-stack app in this tutorial: kzfaq.info/get/bejne/d7OTZaRmpsjOY4E.html
@Taskade
@Taskade 9 ай бұрын
Irina, amazing tutorial on integrating OpenAI API with a custom knowledge base! Really excited about the potential of GPTIndex and Langchain. I'd love to see a deep dive comparing AI Agents in Langchain, especially when they're long-running and autonomous. Keep up the fantastic work! 🌟
@pragmatica1032
@pragmatica1032 Жыл бұрын
So happy to have found you this morning! We need more designers that can code and explore AI possibilities like you do!
@lcruzintel
@lcruzintel Жыл бұрын
You are the best at explaining things Irina!! Thank you for taking the time to putting this together.
@jonathandanemo
@jonathandanemo Жыл бұрын
That was a great tutorial. And I like your approach to explaining why one should not be using only one long prompt etc.
@shanesteven4578
@shanesteven4578 Жыл бұрын
Excellent tutorial, well presented and very clear. Thank you …. It works perfectly, unlike many so-called tutorials on YT about AI 😊
@vverboX
@vverboX Жыл бұрын
Miss Irina, thank you. After few days playing around you got me to the point. Merci!
@harel4u2
@harel4u2 Жыл бұрын
Great explanation. Very explicit and clear instructions. Thank you very much for this.
@keithinadhd6693
@keithinadhd6693 Жыл бұрын
Thank you so much for this information. This is exactly the kind of thing I've looking for. Step by step tutorials for finetining your own AI. This is perfect.
@njorogekamau3820
@njorogekamau3820 Жыл бұрын
Thanks for the amazing tutorial, simple but impactful.
@borakou39
@borakou39 Жыл бұрын
This is exactly what I was looking for, thank you!
@gianantonel9913
@gianantonel9913 10 ай бұрын
Great video Irina !! I was looking for this exact solution and it was the first video of your channel that I followed exactly step by step and it works perfectly end to end It was very clear and well explained. Nice job !! Please continue making this kind of useful videos It was extremely useful for me and extremely detailed. Keep going!
@chatgpt_explained
@chatgpt_explained Жыл бұрын
Thanks for this info - it's easier to setup a chatbot than I realized!
@irina_nik
@irina_nik Жыл бұрын
I'm glad it's useful for you.
@YahaS-vf7cq
@YahaS-vf7cq Жыл бұрын
Amazing video, very friendly to beginners. Thank you.
@rdy4trvl
@rdy4trvl Жыл бұрын
Great video and thanks for answering many of the questions! Looking forward to your future YT on integrating into a website.
@irina_nik
@irina_nik Жыл бұрын
Thank you, I'm glad you liked it
@Inglewhite1
@Inglewhite1 Жыл бұрын
@@irina_nik thank you for this video. Do you have a tutorial to show how to integrate it into website/whatsapp? thanks
@chinamatt
@chinamatt Жыл бұрын
Great work!! Really nice step by step explanation! By the way you can click the refresh button in the file explorer panel (2nd icon) to refresh the files so that they appear.
@kermitec
@kermitec Жыл бұрын
Thank you for the tutorial... also, to refresh the files details there is a "Refresh" button located just above the Files detail section. It's an icon of a folder with a circular arrow. This will refresh the section without needing to refresh the page.
@irina_nik
@irina_nik Жыл бұрын
Thank you for the tip!
@HelpHub150
@HelpHub150 9 ай бұрын
thank you !!!! this is a great video Irina, keep up the good work !
@malexandersalazar
@malexandersalazar Жыл бұрын
I didn't know that we can do something like this with OpenAI, thanks for the video Irina.
@JulianHarris
@JulianHarris Жыл бұрын
Using ChatGPT to generate sample user interview data: genius 💥
@somu6666
@somu6666 3 ай бұрын
It's really nice, I got the insights how we can use the custom knowledge base
@zhiyingwang1234
@zhiyingwang1234 Жыл бұрын
Thank you so much, Irina! I copied your source code to Jupyter notebook and create a chatbot in a few minutes! To my surprise, it works! Please give some thumb-ups to this amazing lady. She has spent time to make this solution so easy to use for everyone!
@dannydiscovers
@dannydiscovers Жыл бұрын
This is an incredible video. You did an amazing job. Subscribed
@javi_v7.0
@javi_v7.0 Жыл бұрын
Great video, thanks!!!
@researchforumonline
@researchforumonline Жыл бұрын
Nice, already done it but i don't know everything so had to watch this!
@hishamalawi6011
@hishamalawi6011 Жыл бұрын
An excellent tutorial. Thank you.
@hishamalawi6011
@hishamalawi6011 Жыл бұрын
I converted this code to a flask app and it works fine on my local server. However when I deploy to google app engine it fails to return responses. The error is 500 internal server error! any idea or advice is much appreciated.
@maneeshk2355
@maneeshk2355 Ай бұрын
I love your teaching ❤
@addkik
@addkik Жыл бұрын
Very informative...Thanks 😀 wishing you Lots of love and strength to you.
@thepunisher0702
@thepunisher0702 Жыл бұрын
Great !! Keep Going. All the very best !!👍😄
@irina_nik
@irina_nik Жыл бұрын
Thank you!!! Your words inspire me for more videos)
@Lexa-Live
@Lexa-Live Жыл бұрын
Even I understood almost everything! Well delivered and interesting content!
@irina_nik
@irina_nik Жыл бұрын
Thanks ☺️
@sammathew535
@sammathew535 Жыл бұрын
You don't need to refresh the whole colab page to update the view of the files/folders, but just the refresh button above the directory structure, in the left pane.
@CamsYoga
@CamsYoga 10 ай бұрын
Thanks worked for me 😇
@Kisssonik
@Kisssonik Жыл бұрын
почему ты все время улыбаешься))) так мило)))
@DrMohanMuthal
@DrMohanMuthal Жыл бұрын
Great information irina❤🎉
@CaboLabsHealthInformatics
@CaboLabsHealthInformatics Жыл бұрын
Nice!
@inflationking1271
@inflationking1271 Жыл бұрын
Really good tutorial. I wonder on how well this scales with more documents than just a couple. Do you have some experience with the performance of 1k or 10k documents?
@anastasiosmichaelkoutoumba9384
@anastasiosmichaelkoutoumba9384 Жыл бұрын
Excellent
@hqoutlaw5329
@hqoutlaw5329 Жыл бұрын
awsome!
@sojoba3521
@sojoba3521 Жыл бұрын
Great tutorial! Thank you so much for going through this is such detail. Can you suggest a resource that explains how to take the chatbot we create and integrate it into a website or web app with a prettier interface?
@0xeb-
@0xeb- Жыл бұрын
Thank you Irina
@EdSpooky
@EdSpooky Жыл бұрын
Thank you so so so much
@BillyRybka
@BillyRybka Жыл бұрын
Hey! Great video! Now that Chat GPT api is out do you know if these libraries will work for it? or is this still only a gpt 3.5 method?
@irina_nik
@irina_nik Жыл бұрын
Hi! This library is not available with ChatGPT yet, but you can keep an eye for updates here gpt-index.readthedocs.io/en/latest/how_to/custom_llms.html
@kunalr_ai
@kunalr_ai Жыл бұрын
You nailed it ..I ll follow you on Twitter.
@diederik6975
@diederik6975 Жыл бұрын
Thank you very much, very useful tutorial. Wondering, why did you not use gpt-3.5-turbo - as it is much more inexpensive and probably almost as good?
@gangwu3235
@gangwu3235 Жыл бұрын
Thanks for the amazing tutorial. BTW, is there any method to increase the output length? I could only get a answer of approximately 160 words (~250 tokens) right now.
@evaagustine7962
@evaagustine7962 Жыл бұрын
Hi Irina! it is such a great tutorial and would be useful for case that I currently work on. I have tried this with my own research data and turns out so good with relevant and decent answer. But I am wondering is it possible to use the GPT 3 Model but not using it's training data or knowledge? So the information/answer produced would be just using custom data that we added to the knowledge base. Your answer would be very appreciated, thanks!
@veyselaytekin8734
@veyselaytekin8734 Жыл бұрын
thank you
@bartake1
@bartake1 Жыл бұрын
Great tutorial. When we send data to OpenAI is that getting used for public training or would it remain private for me ?
@marassisportsinc.9195
@marassisportsinc.9195 Жыл бұрын
Nice 👍
@sambhajisawant4559
@sambhajisawant4559 Жыл бұрын
Thanks it’s really helpful. Capfuls you please let me know if I can use complex data having 100 of parameters (text & numbers) ? If yes in what format the should be uploaded?
@NatkhatNoble
@NatkhatNoble Жыл бұрын
That smile, that damned smile 😊 And thanks for the nice tutorial btw.
@kawingchan
@kawingchan Жыл бұрын
Thanks for posting this video. The whole demo is great. The only thing that I am not clear about how to pick those input, output sizes, and if some are based on the particular model, how do you obtain those from OpenAI (like the davinci) page, just in more details and a screen split such that you don’t have to toggle around.
@NK5LLC
@NK5LLC Жыл бұрын
This is great, thank you! When asking questions to the AI, I didn't notice any custom instructions in use. How can you be sure it was answering only using the data given to it in the index? Can you also make more videos for using custom data from other sources, such as databases? How about the ability to categorize? One minor thing: When pronouncing the word "answer", the "w" is actually silent. (My wife is ESL and always asks me to correct her pronunciation, and I ask the same of her when I speak her native tongue.)
@user-vc2sc9rq7t
@user-vc2sc9rq7t Жыл бұрын
Thanks for the great tutorial! For multiple documents, can you please advise on how i can retrieve the file name where the contextual information is retrieved from?
@RobertoSilvaZuniga
@RobertoSilvaZuniga Жыл бұрын
Great example Irina! I was wondering if the cost of the OpenAi key is for each request? I mean every time you ask the OpenAi key will cost or only will have a cost when you create the dataset in the JSON file? another question, Do you know if the questions/requests will feed the JSON file or are only to work as an assistant using the JSON file as a base? Thanks!
@alexdomla
@alexdomla Жыл бұрын
Thank you for the video! Really cool. I have a question: here you are working on Google Colaboración, but how would you bring this to a website? Is it possible? Is it easy? Greetings from Spain :)
@Shrab
@Shrab Жыл бұрын
Great explination, thnka you, may I ask, Is there a limit on how much custom data you can use and would large custom knowledge slow down the chat?
@p.c.336
@p.c.336 Жыл бұрын
Congrats Irina very clear and nicely explained 👍Which file formats does it support for indexing? Is it only .txt?
@irina_nik
@irina_nik Жыл бұрын
Thanks! You can connect other file types with LlamaHub gpt-index.readthedocs.io/en/latest/how_to/data_connectors.html
@MichaelLloydAI
@MichaelLloydAI Жыл бұрын
Irina, Many use cases. Excellent information. Thank you. Are you able to provide a similar method for creating a generative AI for a closed system that ensures secret or confidential company or government data cannot be leaked?
@OferNRaz
@OferNRaz Жыл бұрын
Hi Irina, thanks for sharing. Do you know if, having a large training set, you can also ask statistical questions about the set? For example, if one of the questions you had in the interview was "How much did you pay for an air-fryer?", could you ask GPT a question like: "On average, how much people paid for an air-fryer?"? thanks
@LisaButler-dy1ps
@LisaButler-dy1ps Жыл бұрын
Thank you for sharing this walkthrough! It's exciting to think about the potential uses for this. At my company we have pretty tight digital security because we sometimes deal with personal identifying information. You mentioned that your actual research is also confidential. So I'm curious about the security risk of something like this. Do you have any concerns over the security of the data you are uploading?
@irina_nik
@irina_nik Жыл бұрын
Hi Lisa! The data submitted through OpenAI API is not used for training purposes and is deleted after 30 days. Here is the policy platform.openai.com/docs/data-usage-policies Though we are also still figuring out the security questions, while I'm experimenting with fake data.
@shitaldhakne7989
@shitaldhakne7989 Жыл бұрын
Hi Lisa...! for data security ,you can use azure openai services.
@reticent
@reticent Жыл бұрын
Hi Irina - Would building a custom AI chatbot also allow you to avoid the topic restrictions put into place by OpenAI/Bing/etc. in their chat modes? Personally I'm interested in interacting with one of these AIs without all the restrictions put into place by the corps running them publicly, and if possible with persistent memory of previous conversations. The technology fascinates me but I don't want to interact with "gimped" AIs that, as entities, can't really exhibit their true capabilities due to the restrictive actions of the tech companies who are trying to reduce their exposure from a liability standpoint.
@gabrielcastaing8035
@gabrielcastaing8035 5 ай бұрын
Hi Thank you for that content! I am just curious about the files size limit and the importance of the file format in your approach. I have seen that you are using .txt files. I am using pdfs to feed the knowledge base of custom GPTs but I am observing a low accurary in the answers. It seems that the GPT is not looking at all the knowledge base (6 merged pdfs with 7000 pages approx. in total). Do you have any advice?
@lopnezk1320
@lopnezk1320 Жыл бұрын
Thanks! Now I can fire all my employees and save lots of money!
@irina_nik
@irina_nik Жыл бұрын
😎
@BwahBwah
@BwahBwah Жыл бұрын
🤣🤣.... 😅😅.... 😄😄.... 🙂.... 🤔🤔🤔... 😐😐
@unitedstarsutopia
@unitedstarsutopia Жыл бұрын
Seriously 😂😂
@unitedstarsutopia
@unitedstarsutopia Жыл бұрын
​@@BwahBwahdon't tell me you are going to fire your employees too😂
@BwahBwah
@BwahBwah Жыл бұрын
@@unitedstarsutopia I'll go one better. I won't have to employ anyone now 😀
@shacharlavi8556
@shacharlavi8556 Жыл бұрын
great. tnx
@irina_nik
@irina_nik Жыл бұрын
thank you)
@user-on7gb7tf8p
@user-on7gb7tf8p Жыл бұрын
Great work, it's quite clear, Seems the llama Index has many updates, I can't recreate your work, would you please make an updated version? thanks a lot~
@chuck18420
@chuck18420 Жыл бұрын
What could be happening here? I asked how many people were interviewed and the reply was "One person was interviewed". I asked how many times did "It was fun to talk about cooking." appear and it said none (interview4 ends with this quote). Thank you, great video!
@youwang9156
@youwang9156 Жыл бұрын
really appreciate your work, just have one question for the chunk, can I split the text into chunks by sentence or comma or space instead of chunk size?
@irina_nik
@irina_nik Жыл бұрын
Hi! In this technique it's not possible
@youwang9156
@youwang9156 Жыл бұрын
@@irina_nik I found this technique is not very suitable for dealing with numbers, for example,it will delivers wrong product price which is mixed up with other products, do u have any idea how to fix it ? Thank you so much for ur reply
@vl9110012010
@vl9110012010 Жыл бұрын
Благодарочка! нижайший поклон! Респект и уважуха)))
@MikeyMcCorry
@MikeyMcCorry Жыл бұрын
Amazing tutorial! Thanks! If you're looking for future tutorial ideas, I'd love to know how to expand on this to create my own API endpoints so my trained chat bot can be made publicly available from my website. I'm not very familiar with Google Collab (or python for that matter - I'm a php/js web developer), so I'll try to do some of my own research on how this might be possible -- but I really enjoyed and easily absorbed the info in this video. Well done. :)
@irina_nik
@irina_nik Жыл бұрын
Hi Mikey! Thank you for the suggestion, I definitely need to make a video about that. I think, I'll be able to post it in 3-4 weeks. Though I'll be using NextJS/Typescript because this is what I'm familiar with.
@Adrian_Marmy
@Adrian_Marmy Жыл бұрын
this response made me subscribe... That would be awesome!
@maertscisum7243
@maertscisum7243 Жыл бұрын
​@@irina_nikyou are smart. Can't wait to see you share the typescript/node js version.
@lstephen
@lstephen Жыл бұрын
Good question Mikey! I have the same question and subscribed to find out from her next video! Thank you!
@austink9285
@austink9285 Жыл бұрын
Irina, thank you for your help? When I ask it irrelevant article questions, it seems to many times provide answers, when it shouldn't. Anyway to ensure it only focuses on my uploaded article?
@_trashcode
@_trashcode Жыл бұрын
Thanks for this very helpful video. I am very happy to have found it. I would like to create my own knowledge database that includes ideas I've had in the past, transcripts from KZfaq tutorials, manuals, etc. Some of this content is constantly changing. For example, a manual isn't updated very often, so I can create a database with it and leave it as is. However, what about ideas and the aforementioned transcripts of tutorials? It might not be very efficient to manually update these, so I would try to automatically update them on a schedule. Alternatively, would it make more sense to leave them out and just let the bot scan through all my ideas in normal text form, notifying me if I've had a similar idea before or if it finds connections between different ideas I've had? Any help is appreciated. Thank you.
@callmefred
@callmefred Жыл бұрын
Very nice tutorial. Have you developed any consumer-facing AI-powered web apps?
@irina_nik
@irina_nik Жыл бұрын
No, but I'm thinking to make a next tutorial about it once I figure it out :)
@jdlovely
@jdlovely Жыл бұрын
Great video! How do we customize it to our local repository as you suggested?
@irina_nik
@irina_nik Жыл бұрын
Hey! You can just manually upload the data into the project folder and change the path in construct_index("your_path")
@saw970
@saw970 7 ай бұрын
Very nice and easy way thank you !!! I have a question regarding the custom knowledge base … can I implement a prolog knowledge base and put it there or it should be a text type because prolog is a requirement in my school project… I hope you answer and thanks a lot ❤
@user-tg9ft2yj7n
@user-tg9ft2yj7n Жыл бұрын
Hello! Thank you for the helpful tutorial! What would happen if I ask a question in another language? Would this chatbot switch to the language as ChatGPT does? Thanks a lot.
@leoheise9967
@leoheise9967 Жыл бұрын
hey, any tips on how to fine tune a model based on a very large pdf document without the " " to split prompt/resolution? I thought maybe have a script break down in every question mark? Or is there some other way?
@zhuk
@zhuk Жыл бұрын
Пасибки 🥰
@user-lz2md3pu5b
@user-lz2md3pu5b 4 ай бұрын
Hey Irina! Thank you for this tutorial, it's a game changer. This is built off GPT 3, how would you go about running it off GPT4? Thanks!
@pedromoreno8655
@pedromoreno8655 Жыл бұрын
Hi Irina, thanks for the video. I want to ask how do you limit the model to answer only about your information. I.e., what would happen if the person asks any question out of context (like: "Can I go to Miami for holiday?"), will it reply?. Thanks
@tulsipatro4662
@tulsipatro4662 11 ай бұрын
Amazing tutorial. Is there a way where we can let the model answer the questions faster! It takes nearly 30 seconds to answer the questions.
@jairam470
@jairam470 Жыл бұрын
Hello, nice video. Please let me know how this will ensure our data still will be our data. Will OpenAI won't have access to it now ?
@almor2445
@almor2445 Жыл бұрын
Is there a good one already made, loaded with up to date research papers?
@prabharora0
@prabharora0 Жыл бұрын
Hello! Thank you for the video! Also your secret API key is visible in the first few frames before you blur it! You should delete that API key completely!
@phnxregen2131
@phnxregen2131 Жыл бұрын
Does the data in the folder have to be a .txt file, or can I include pdfs and other documents?
@ganeshkris
@ganeshkris Жыл бұрын
This just spits out the text related to the query. If I want to augment GPT capabilities with my own data set. what is the best way to do it? For example, using the same example of interview transcription, I should be able to ask the GPT to summarize how the candidate did or whether the interviewee answer was correct for a particular question. Any idea how to go about that? I understand fine-tuning is a possibility but if i have 10,000 interview scripts i want to augment the GPT capabilities with, I am not sure how to go about it. Any help?
@123arskas
@123arskas Жыл бұрын
One question, Whenever we ask a question......Does it go through the entire Index everytime? And does that cost us a lot of Tokens for each question? Because If that's the case then we would run out of credit if we applied an App like that for users online.
@egyptsongs
@egyptsongs Жыл бұрын
😍
@TorNeely
@TorNeely 9 ай бұрын
Very intresting. I noticed you said that you can't share the real interviews in video because there can be private information, which is understandable. However, how do you secure that Open AI doesn't receive this information? I find the biggest problem is how to avoid Open AI getting either user or customer information?
@adambrickley1119
@adambrickley1119 Жыл бұрын
How would you adapt this to derive context from dynamic data being generated in a website?
@wardaraees4887
@wardaraees4887 Жыл бұрын
You feed text data files for providing the data to the model, what if I have an excel file or a tabular data file? And, Openai api key is free or it is paid?
@johnsmith1953x
@johnsmith1953x Жыл бұрын
Is there a software package that can make an entire openai chatbox GPT4 or even 3.5 just by pointing at a folder of PDFs? We would pay thousands for this right now. The application has to run local on a PC.
@irina_nik
@irina_nik Жыл бұрын
You can use langchain for that. I'll make more tutorials on that topic
@kylespangladesh2947
@kylespangladesh2947 Жыл бұрын
Great tutorial! Have you considered doing an updated version with the new ChatGPT API?
@irina_nik
@irina_nik Жыл бұрын
Hi! This library is not available with ChatGPT yet. But I'm planning to make a video with ChatGPT API with another use case
@kylespangladesh2947
@kylespangladesh2947 Жыл бұрын
@@irina_nik ok great looking forward to it! I'd love to apply ChatGPT to a custom knowledge base.
@SuperMikeArt
@SuperMikeArt Жыл бұрын
Hello, thanks a lot for that video. I arrived from the article you have written. I do have a specific question. Is it possible to use more complex data as context stored in a google table, airtable, etc). Similar to the screenshot you are showing in the article. Reason why I am asking: We have our data categorized and I would like to ask specific questions like "In the category XY, what are the top insights...."
@irina_nik
@irina_nik Жыл бұрын
Hey! Yes, GPT Index can work with a variety of documents through Llama Hub gpt-index.readthedocs.io/en/latest/how_to/data_connectors.html And you can try to run the code without any changes with .csv files. My assumption , it should work.
@SuperMikeArt
@SuperMikeArt Жыл бұрын
@@irina_nik Thanks a lot for your quick response. Really appericiate it. I do have a follow up question. Do you know a tutorial or some guidance on how to implement all this into your own UI / Website?
@sumitsehgal5910
@sumitsehgal5910 Жыл бұрын
Hi, Can anybody tell me where did she use the interview sample files in code? Overall it's fantastic
@AdiDubs
@AdiDubs Жыл бұрын
Thank you so very much. A quick question - how can I get more detailed responses?
@irina_nik
@irina_nik Жыл бұрын
Increase the number of output tokens
@jackwan358
@jackwan358 Жыл бұрын
If i put my own knowledge base to chatgpt for reference, is it just my api qill be able to access the content or it will also share the same to others chatgpt users? Is there any security comcern on this?
@mrpips76
@mrpips76 Жыл бұрын
Absolutely Great video Irina. The colab seems to have llama errors. Was anything changed with the colab? Would love to connect to discuss more. Great tutorials!!
@jlaroche0
@jlaroche0 Жыл бұрын
While you're at it, you may want to change the following in the "Define the functions" section of the Colab. Change this --> from langchain import OpenAI To this --> from langchain.chat_models import ChatOpenAI Apparently "from langchain import OpenAI" is old and being deprecated.
@mrpips76
@mrpips76 Жыл бұрын
@@jlaroche0 Thanks for the feedback Jacques. I tried both recommendations. They seemed to install fine. But still getting error with the following line: -> from llama_index import SimpleDirectoryReader, GPTListIndex, readers, GPTSimpleVectorIndex, LLMPredictor, PromptHelper, ServiceContext
@mrpips76
@mrpips76 Жыл бұрын
@@jlaroche0 It works now. Thank you so much Jacques. Really appreciate your help. These educational videos are super helpful! Looking forward to more videos!
@Progenix
@Progenix Жыл бұрын
How is this GPT-index different from OpenAI's Text Embedding ADA model? Or is it just a wrapper of that model?
@drewwellington2496
@drewwellington2496 Жыл бұрын
great question. would love an answer to this; I can't figure out the difference. they appear to be doing the same thing.
@irina_nik
@irina_nik Жыл бұрын
You can achieve the same result without any external library, GPTIndex just makes it easier for non-professional coders like me 😉. It uses the found chunks as the context to the prompt and not as the answer itself.
@josehoyos
@josehoyos Жыл бұрын
For embedding you need also a vector database . I wonder if this index solution also performs in a production environment?!
@mattizzle81
@mattizzle81 Жыл бұрын
@@josehoyos Yeah i have seen Pinecone proposed a lot for this. I did a little test with Pinecone and while it was unfamiliar to me it ended up being dead simple.
@AIMagician996
@AIMagician996 Жыл бұрын
A few points not mentioned in the videos: Essentially, it is fine-tuning. However, the module for fine-tuning has been pre-written for you. Fine-tuning can only be done with models below GPT3. Currently, Fine-tuning is not available for ChatGPT, GPT3.5, or CPT4. For GPT2 to be effective, you need at least 300M training data. Models with more parameters than GPT3 require even more data to achieve the desired effect
@lnyitrai
@lnyitrai Жыл бұрын
She used about 12kB of text in this demo. Llamaindex built 559kB index from it. And it did the job on text-davinci-003. I'm genuinely interested in the reason behind your training data size needs claim.
@M-ABDULLAH-AZIZ
@M-ABDULLAH-AZIZ 9 ай бұрын
having data in a file and real time embeddings vs embeddings in a db for chatbot for an application (provides information about an application)?
Let's prototype an AI tool in Next.js with ChatGPT API
20:26
Irina Nik
Рет қаралды 5 М.
🌊Насколько Глубокий Океан ? #shorts
00:42
King jr
Рет қаралды 1,7 МЛН
⬅️🤔➡️
00:31
Celine Dept
Рет қаралды 33 МЛН
Khóa ly biệt
01:00
Đào Nguyễn Ánh - Hữu Hưng
Рет қаралды 7 МЛН
AI Learns What Pizza Is
8:03
Green Code
Рет қаралды 325 М.
How To Create Custom GPTs - Build your own ChatGPT
12:17
Skill Leap AI
Рет қаралды 326 М.
🌊Насколько Глубокий Океан ? #shorts
00:42
King jr
Рет қаралды 1,7 МЛН