Skip to content

Retrieval-Augmented Generation

4.1 In the Open-WebUI, switch to the smallest Granite model: granite3.3:2b

granite3.3:2b

4.2 Click on "New Chat" so the context is clear

4.3 Ask it for:

List the past and current CEOs of the IBM corporation from first to last.
The answer isn't correct.

4.4 Click on "New Chat" to clear the context

4.5 Download a small text file with the correct list of IBM CEOs to your Downloads folder:

IBM.txt

4.6 Click on the "+" and then Upload files

Upload the IBM.txt file that you just downloaded

4.7 Now ask it our question about the CEOs of IBM:

List all the past and current CEOs of the IBM corporation from first to last.
The answer should now be correct. (For example, always before it forgets Jon Akers)

4.8 We can also find and download information to pdf from Wikipedia:

For example: History of IBM

4.9 On the right, click on "Tools" and Click on "Download as PDF"

4.10 Then use this History_of_IBM.pdf as a RAG by clicking on the + and adding "History_of_IBM.pdf" as a file.

4.11 Then use the Open-WebUI to ask more questions about IBM.

Who is the first female CEO of IBM?
The answer should be Ginni Rometty