That's such an amazing content, Akshath. Is there any suggestion on how to have a deeper understanding of each step we went through in this video? That's a totally new field for me. Can you share a roadmap to master this subject? I mean, if I study Machine Learning only, will I learn everything from this lesson in depth? Many thanks!
Thank you for this. I have been assigned a project at our company for document QnA with LLMs and this is exactly what I wanted. Please upload follow up courses as well such as for prompt engineering.
it appears that various libraries have moved on a bit since this was recorded. If you get errors during execution then make sure you replace 'message' with 'message.content' when passing that parameter into a function.
immediately stuck at playground UI, which does not look anything like the video, and coming into this cold, I have to go find some other resource or training to understand the playground UI.
I dont think GPT-4 is available to non premium users. Bit of an oversight on my part using it as it as chatgpt premium is definetly not necessary for this course. The API is available to non premium subscribers as well as it works on a standard per use pricing model.
@@MMABeijing python may be easier than C++ to pick up but it is used in AI too. Especially for faster computations, ie: things like Pytorch and other Cuda directives have code in c++ not just in c as in the case of CPython etc etc. But yes not many people here will be using anything other than Python because of the ease of implementation
@@Abraham_writes_random_code First I want to say that there is a C++ library to interact with Openai. Second: although I know the advantages of CPP, or rust, I am curious as to why @Majesticaln would want to use them to interact with OpenAi "infrastructure". There are fields where web assembly deemed mission critical, and considering that RUst actually has the tighest integration with WASM it makes sense to use it... but what is the use case that would motivate Majestic to want to talk with OpenAI using CPP? Python has a richer community, more help available, and langchain is using it too. It s clear to me that we are at a stage when the speed of integration is crucial, and for that reason I thing going along with python is the way to go. That being said I am interested in hearing other, possibly conflicting, opinions
Can someone provide a possible solution for this error? if match := _special_token_regex(disallowed_special).search(text): TypeError: expected string or buffer
Issue: 1st param type is expected to be string or buffer in acall function. Resolution: So, you need to update the param to message.content. res = await chain.acall(message.content, callbacks=[cb]).
I'm unsure why we used Chatlit instead of Streamlit, but it works nonetheless. Something very fun to do is to upload your resume and ask the chatbot questions on it. I think this will help the hiring team of an organisation greatly, as it simplifies the job of reviewing resumes and understanding the applicant's abilities. So scaling the document QnA project will be tremendously valuable.
hi yes, thats a fair point as streamlit is more popular. I wanted this series to emphasize giving people an understanding of LLMs and their capabilities so i just chose chainlit because it needed less code to work with lets us only worry about the use of LLMs and agents.
QUESTION: at VERY end of video, the custom tool multiplier decided to return "12" even when the delegated python function had hard-cod overrided to divide "/" instead of "*". The system internally experiences cognitive dissonance "thoughts" -- including the correct answer - then resolves by returning an unqualified 12 due to all the prevailing context suggesting that was the intention, eg some "common sense". I would love to know more about that clash like if there is a term for it. Also this was the most mind expanding tutorial ive ever seen in my life.
Completed this video. Learned chainlit, document q and a by basics of chromadb (most favorite part), basics of vector db, langchain, agents etc. It was nice. The second hour was more interesting. (As first hour was basic stuff that many people may knows).
My Godddd, the ability to have custom tools for the agent changes everything, so theoretically (I bet, we are going to see some implementations of these pretty soon), we can do everything using natural language, what a time to be alive
hello everyone! PermissionError: [Errno 13] Permission denied: 'C:\\Users\\Usuario\\AppData\\Local\\Temp\\tmpjf7ckm9u' can somone tell me how to fix this problem when i import the pdf to the app?! thanks!
Replace `with tempfile.NamedTemporaryFile() as tempfile` with `with tempfile.NamedTemporaryFile(delete=False) as tempfile`, since you don't want the temporary processed file you create to be deleted once closed.
can someone tell me if there's any free alternative of the OpenAi API ?......bcoz no GPT 4...and even GPT-3 is limited time , credit ....please.....thanks
If you've used gpt-4: there's a limit of requests per time allowed You can have a look into your settings when you log into your openai account. There you might have set a manual limit.
thanks for the video lesson. the new OpenAI retrieval Assistant abstracts all of these steps so was wondering if Chainlit can be configured with the new Assistant API?
Hi, I am working with document QA project but I am bit confused about what will be the actual chunk size for better semantic search results. And I am using milvus to store my embeddings. I am having large pdfs.
Hi, Akshath here. We dont specifically "train" it, we just do a retreival augmented search so technically chroma db is where all of this information is stored. Given that chroma is open source and the python package runs on our machinne locally, noone has access to the embeddings but us. Additionally OpenAI claims that it doesn't use any of our data to train their models. big emphasis on the word "claims".
These are very basics, and only 10 minute of content, but this guy takes 2 hours for extra talking, the main part of chatbot is multi-user conversation ability, which he didn't discussed even.