Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

posts/llama_index_rag #12

Open
utterances-bot opened this issue Mar 3, 2025 · 1 comment
Open

posts/llama_index_rag #12

utterances-bot opened this issue Mar 3, 2025 · 1 comment

Comments

@utterances-bot
Copy link

Running Large Language Models (LLMs) locally for Retrieval-Augmented-Generation (RAG) Systems with full privacy – Hans Dembinski’s blog

https://hdembinski.github.io/posts/llama_index_rag.html

Copy link
Owner

Update 1: There is a new library from the authors of the popular pydantic type validation library, called PydanticAI, which looks very promising.

Update 2: This article does not discuss the size of context windows. The way to provide a LLM with input is to put the text in its context window. The earlier LLMs von 2024 typically had context windows that are 4-8k token large (a token is roughly a word), which is not a lot, so it was important to pinpoint relevant information and feed only small snippets of text into the machine. Due to advances in technology, even small LLMs are now trained with context windows as large as 128k token, which alleviates the need to locate relevant text pieces with pinpoint accuracy, making RAG easier. Unfortunately, with a 8 GB GPU, one cannot exploit such large context windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants