Object oriented programming
Classes and objects
Encapsulation
Code style: clean code
LLMs
Tokenization
Inference
Tools
RAGs
Using LLMs in Code
Practice
Assignment
Back to core program
What are tools?
Tools enhance LLM functionality by providing external software to perform tasks that LLMs can't do on their own. Some of those tools are searching the web, running Python programs, using a calculator, and many more.
Watch: How AI Chatbots search the web?
If the LLM is so limited, how can
<aside>
💭
Continue watching the following video from 31:00 to 42:00.
</aside>
https://www.youtube.com/watch?v=EWvNQjAaOHw&t=1861s
Key takeaways from the video
- Remember: An LLM's information is fixed during training and may be out of date.
- Searching the web is not performed by the LLM itself. It is an external program that is part of the AI platform (e.g. ChatGPT) which fetches data from websites and feeds it back to the LLM before it continues processing the answer.
- The LLM has been trained to detect when recent information is needed. It stops outputting tokens and emits a special token to invoke the web search tool. The AI platform detects this token in the response and, instead of showing the user an answer, displays a message like "Searching the web…"
- Most AI chatbots now have web search enabled by default.
<aside>
⌨️
Hands on: Open a new chat window and ask a question that will trigger a web search.
</aside>
The HackYourFuture curriculum is licensed under CC BY-NC-SA 4.0

*https://hackyourfuture.net/*
Found a mistake or have a suggestion? Let us know in the feedback form.