home.social

#rag — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #rag, aggregated by home.social.

fetched live
  1. Строим RAG вручную: как это работает под капотом

    Имея некоторый опыт в построении классических ML и CV-проектов, я решил разобраться в NLP (Natural Language Processing) и собрать свою RAG-систему без использования сторонних RAG-фреймворков (LangChain, LlamaIndex и т.п.). Моя цель - понять, как на самом деле работает RAG под капотом: от разбиения текста до генерации ответа. Проблема, которую решает RAG Готовые LLM модели имеют несколько недостатков:

    habr.com/ru/articles/1070662/

    #python #llm #rag #nlp

  2. Честный RAG eval set: как собрать первые 100-300 кейсов и не обмануть себя цифрой

    В прошлой статье серии мы сжимали эмбеддинги и замеряли, насколько изменится выдача относительно полного fp32-поиска. Там это был правильный вопрос: ломает ли квантизация уже существующий retrieval . Но у такого замера есть неприятное слепое пятно. Можно аккуратно сохранить 99% выдачи исходного эмбеддера и все равно плохо находить нужные документы на своем домене. Внешний бенчмарк, даже сильный, этого не гарантирует. BEIR как раз был создан, чтобы показать, насколько результаты retrieval меняются между разными задачами и доменами; один усредненный скор там не заменяет проверку на собственных данных. Нужен свой eval set . И тут обычно возникает ложная развилка:

    habr.com/ru/articles/1070534/

    #rag #retrieval #evals #оценка_качества #LLM #эмбеддинги #поиск #MTEB #ragas #BEIR

  3. Наши книги о LLM: состояние дел по готовящимся новинкам

    Приветствуем, Хабр. Не секрет, что большие языковые модели и, в частности, трансформеры (GPT) серьезно повлияли на работу программиста, привели к автоматизации многих рутинных задач, значительно удешевили проверку концепций и эксперименты при разработке новых продуктов. Коренные изменения произошли не только в разработке, но и во взаимодействии пользователя с ботами, агентами, поисковыми системами. Промпт-инжиниринг буквально за полтора года превратился из искусства в ремесло, которое способен освоить и подросток. Мы хотим очертить ближайшие перспективы выхода книг из типографии и планы на обозримое будущее — на наших верфях и уже практически на стапелях готовится целый флот литературы, ориентированной на работу с искусственным интеллектом.

    habr.com/ru/companies/bhv_publ

    #искусственный_интеллект #книги #llm #алгоритмы #rag #анонс

  4. A tool failure is obvious. Bad retrieval can be much quieter.

    The agent finds a plausible document, produces a grounded answer—and is confidently wrong.

    From The AI Agent Test Manual:amzn.eu/d/0blIkveq

    webdad.eu/2026/08/14/the-agent

  5. on-premise "token generator" can become financially beneficial, with some analyses showing a break-even in as little as three months compared to public cloud API costs

    500m input/output a mo for average smb - dev labs with heavy agentic pipelines will have 10x that

    the mkt is wide open for smb open source ai consulting/praxis low tco, quick roi #cloud costs can vary by 68x

    #iops #rag pipelines #orchestration #harness #hybrid models

  6. on-premise "token generator" can become financially beneficial, with some analyses showing a break-even in as little as three months compared to public cloud API costs

    500m input/output a mo for average smb - dev labs with heavy agentic pipelines will have 10x that

    the mkt is wide open for smb open source ai consulting/praxis low tco, quick roi #cloud costs can vary by 68x

    #iops #rag pipelines #orchestration #harness #hybrid models

  7. J'avance doucement sur “RAG in my pocket“, une application pour du RAG personnel sur #RaspberryPI 5 avec les #SLM de chez Pleias : écriture de l'application #streamlit en cours depuis le notebook #Jupyter #IA #CPU #RAG #AI #Pi

  8. J'avance doucement sur “RAG in my pocket“, une application pour du RAG personnel sur #RaspberryPI 5 avec les #SLM de chez Pleias : écriture de l'application #streamlit en cours depuis le notebook #Jupyter #IA #CPU #RAG #AI #Pi

  9. Generic AI models hallucinate when they don't know your business. Ksolves' RAG development services ground AI in your actual data — for accurate, trustworthy responses.

    🚀 Custom knowledge base integration
    ⚙️ Vector search & retrieval optimization
    🔒 Secure data handling
    🛡️ Ongoing model tuning

    Turn AI guesswork into grounded, reliable answers.

    🔗 ksolves.com/rag-development-se
    #RAG #Ksolves #GenerativeAI

  10. Generic AI models hallucinate when they don't know your business. Ksolves' RAG development services ground AI in your actual data — for accurate, trustworthy responses.

    🚀 Custom knowledge base integration
    ⚙️ Vector search & retrieval optimization
    🔒 Secure data handling
    🛡️ Ongoing model tuning

    Turn AI guesswork into grounded, reliable answers.

    🔗 ksolves.com/rag-development-se
    #RAG #Ksolves #GenerativeAI

  11. RE: mastodon.gal/@damian/117078979

    @damian a que vén o de #teresinha?

    Busqueino no diccionario da #RAG pero non sae.

    Pensei que podía ser un nome local da #mantis que tampouco é moi galego.

  12. Your vector search cannot tell "which services use Redis" from "which services do NOT use Redis". Both embed to nearly the same point, because the model encodes the topic and not the logic.

    Same blind spot hits exact identifiers like ERR_CONNECTION_REFUSED or JIRA-4521, multi-hop questions, and anything time scoped.

    Not a bug in your index, it is what embeddings are. Hybrid search, metadata filters and reranking are the patches.

    adaptiverecall.com/vector-sear

    #RAG #AI

  13. Your vector search cannot tell "which services use Redis" from "which services do NOT use Redis". Both embed to nearly the same point, because the model encodes the topic and not the logic.

    Same blind spot hits exact identifiers like ERR_CONNECTION_REFUSED or JIRA-4521, multi-hop questions, and anything time scoped.

    Not a bug in your index, it is what embeddings are. Hybrid search, metadata filters and reranking are the patches.

    adaptiverecall.com/vector-sear

    #RAG #AI

  14. Browser Policy Manager: документация

    К релизу Browser Policy Manager 0.9.5 подготовлен документационный портал: четыре руководства на шести языках, локальный поиск, контекстная помощь из интерфейса и фундамент для будущего безопасного RAG-помощника. Рассказываю, как он устроен и почему документация здесь — часть безопасной работы с политиками Firefox.

    habr.com/ru/articles/1069842/

    #browser_policy_manager #firefox_enterprise #policiesjson #управление_политиками_браузера #техническая_документация #dita #локализация #rag #MPL20

  15. holy motherf... shit... 🤯
    i thought this would never end.... 🙈

    7 #ai #coding #agents build my new #RAG 📖
    with a temporal #graph + #cli + #mcp) 🕸️ 🕐

    what a journey 😓

    - real build time: 11 days
    - lines of code (core): 33k
    - lines of code (tests): 89k
    - number of tests: 1868 (in 182 files)

    does it work: YES 😁
    did i check any line of code: of course not 😂 🖕

    is it public ? sorry, no. the intensive live testing phase begins today 🏁

    let's call it: expensive learning..... 😏

    🧵 👇

  16. holy motherf... shit... 🤯
    i thought this would never end.... 🙈

    7 #ai #coding #agents build my new #RAG 📖
    with a temporal #graph + #cli + #mcp) 🕸️ 🕐

    what a journey 😓

    - real build time: 11 days
    - lines of code (core): 33k
    - lines of code (tests): 89k
    - number of tests: 1868 (in 182 files)

    does it work: YES 😁
    did i check any line of code: of course not 😂 🖕

    is it public ? sorry, no. the intensive live testing phase begins today 🏁

    let's call it: expensive learning..... 😏

    🧵 👇

  17. LLM truncation in KoAssistant/Ollama is causing my prompt to be cut off.

    The Fix:
    1️⃣ Move from large models (e.g., 26B) to mid-size (e.g., 12B) to free up VRAM.
    2️⃣ Create a Modelfile with PARAMETER num_ctx 32768.
    3️⃣ Rebuild: ollama create model-name -f Modelfile.

    This balances intelligence and context, letting your RAG prompts actually reach the model! 🚀 #Ollama #LLM #LocalAI #KoReader #OpenSource #RAG #LocalLLM

  18. Struggling with LLM truncation in KoAssistant/Ollama? 🛠️ If your prompt is being cut off, you're likely hitting VRAM limits.

    The Fix:
    1️⃣ Move from large models (e.g., 26B) to mid-size (e.g., 12B) to free up VRAM.
    2️⃣ Create a Modelfile with PARAMETER num_ctx 32768.
    3️⃣ Rebuild: ollama create model-name -f Modelfile.

    This balances intelligence and context, letting your RAG prompts actually reach the model! 🚀 #Ollama #LLM #LocalAI #KoReader #OpenSource #RAG #LocalLLM

  19. Помогаем детским ревматологам повышать эффективность терапии: ИИ-агент для дистанционного мониторинга

    В России около 70 тысяч детей и подростков страдают от ревматических патологий. Это группа заболеваний, при которых иммунная система даёт сбой и атакует собственные ткани — чаще всего суставы. Примерно раз в год ребёнку положена госпитализация в федеральный центр, чтобы проверить состояние и убедиться, что конкретный тип терапии работает. Однако, когда ребёнок возвращается в родной город, рядом может не быть ни одного врача, который знает, что делать с этой терапией. На связи Юлия Шеянова, менеджер проектов в здравоохранении, Центр технологий для общества Yandex Cloud. В этой статье расскажу, как мы в Yandex Cloud вместе с Ассоциацией детских ревматологов (ASPiRRe) и студентом ИТМО сделали ИИ-агента для системы дистанционного мониторинга. Ниже — как он устроен и почему мы доверили модели только две узкие задачи, а все решения о рисках вынесли в детерминированные правила.

    habr.com/ru/companies/yandex_c

    #мониторинг #rag #ииагент #llm #медицина #healthtech

  20. RT @thesupermanmx: Google DeepMind argues RAG is broken. They published a paper that proved vectors databases are the dead end. For the last three years, the default engineering response to any AI memory or data problem has been identical: "Just build a RAG pipeline." Chunk the data, push it into a vector database, and let embeddings handle the rest. Every company scaling enterprise AI assumes that if an embedding model fails, it's just a matter of time. Better training data, larger models, more parameters—throw compute at it, and the search gets smarter. This paper proves that assumption is completely false. They mathematically demonstrated that single-vector embeddings have a hard, uncrossable limit. Here is the core flaw: An embedding compresses an entire document or a complex query down into a single fixed-length vector of numbers. When you run a search, the model takes the dot product of those vectors to measure similarity. The math reveals a brutal constraint. The number of distinct document combinations a model can possibly retrieve for different queries is strictly bounded by the dimension of its embedding space. It is a hard mathematical ceiling dictated by geometry and communication complexity. No amount of data scaling can fix it. No amount of fine-tuning will punch through it. Even if you give an embedding model infinite, unconstrained training freedom on the test set, it still hits the wall. DeepMind built a stress-test dataset called LIMIT to prove it. They threw state-of-the-art embedding models at it, models with thousands of dimensions. The models completely failed. Even on s…

    mehr auf Arint.info

    #agent #AIagent #DeepMind #finetuning #Google #RAG #rest #arint_info

    https://x.com/thesupermanmx/status/2086489237726347444#m

  21. RT @thesupermanmx: Google DeepMind argues RAG is broken. They published a paper that proved vectors databases are the dead end. For the last three years, the default engineering response to any AI memory or data problem has been identical: "Just build a RAG pipeline." Chunk the data, push it into a vector database, and let embeddings handle the rest. Every company scaling enterprise AI assumes that if an embedding model fails, it's just a matter of time. Better training data, larger models, more parameters—throw compute at it, and the search gets smarter. This paper proves that assumption is completely false. They mathematically demonstrated that single-vector embeddings have a hard, uncrossable limit. Here is the core flaw: An embedding compresses an entire document or a complex query down into a single fixed-length vector of numbers. When you run a search, the model takes the dot product of those vectors to measure similarity. The math reveals a brutal constraint. The number of distinct document combinations a model can possibly retrieve for different queries is strictly bounded by the dimension of its embedding space. It is a hard mathematical ceiling dictated by geometry and communication complexity. No amount of data scaling can fix it. No amount of fine-tuning will punch through it. Even if you give an embedding model infinite, unconstrained training freedom on the test set, it still hits the wall. DeepMind built a stress-test dataset called LIMIT to prove it. They threw state-of-the-art embedding models at it, models with thousands of dimensions. The models completely failed. Even on s…

    mehr auf Arint.info

    #agent #AIagent #DeepMind #finetuning #Google #RAG #rest #arint_info

    https://x.com/thesupermanmx/status/2086489237726347444#m

  22. Я объяснил KERNEL маме за пять минут. Потом проверил, переживёт ли он LLM в production

    Недавно я попробовал объяснить маме, как нормально ставить задачи ChatGPT. Без temperature, context window, system prompt и прочих слов, после которых человек вполне справедливо решает, что проще уже сделать всё самому. Я сказал примерно так: «Сформулируй, что тебе нужно. Объясни, каким должен быть результат. Если есть ограничения, напиши их сразу. Не сваливай пять разных задач в одну. И не заставляй модель угадывать то, что существует только у тебя в голове». На всё ушло минут пять. А потом я понял, что почти дословно пересказал KERNEL, один из фреймворков для написания промптов. И тут стало интереснее: если базовый prompt engineering действительно можно объяснить человеку за пять минут, что происходит, когда LLM переезжает из вкладки браузера в реальный продукт?

    habr.com/ru/companies/syntx_ai

    #LLM #prompt_engineering #KERNEL #промпты #context_engineering #evals #ChatGPT #RAG #AIагенты #LLM_в_production

  23. NEW! Leanpub Book LAUNCH 🚀 ENTERPRISE AI ARCHITECTURE AND THE MODERN AI STACK: VOLUME I — DESIGNING THE STACK by Padmanabham Venkiteela

    youtu.be/T9TBdlNdLnA

    #books #leanpublishing #selfpublishing #EnterpriseAI #AIArchitecture #LLM #AgenticAI #RAG

  24. NEW! Leanpub Book LAUNCH 🚀 ENTERPRISE AI ARCHITECTURE AND THE MODERN AI STACK: VOLUME I — DESIGNING THE STACK by Padmanabham Venkiteela

    youtu.be/T9TBdlNdLnA

    #books #leanpublishing #selfpublishing #EnterpriseAI #AIArchitecture #LLM #AgenticAI #RAG

  25. 📋 #AWS has made vector search in #DynamoDB generally available: embeddings live in the same table as operational data #vectorsearch #RAG #AI #DevOps
    🧵👇

    ⚡ Native similarity search with single-digit millisecond latency at 99%+ recall, designed to scale to trillions of vectors

  26. 📋 #AWS has made vector search in #DynamoDB generally available: embeddings live in the same table as operational data #vectorsearch #RAG #AI #DevOps
    🧵👇

    ⚡ Native similarity search with single-digit millisecond latency at 99%+ recall, designed to scale to trillions of vectors

  27. Debugging a fine-tuned model is archaeology. Debugging RAG is grep.

    Fine-tune fix: 3-5 days engineering, $500-5,000 compute, regression risk on every retrain. RAG fix: edit the source document, 30 minutes, zero compute.

    60% of production LLM apps now run on RAG. Not because it is more sophisticated, but because keeping a database current is a solved problem.

    roamingpigs.com/r/rvfte

    #AI #RAG #LLM

  28. What is Retrieval-Augmented Generation (RAG)? 🤖

    RAG is an AI technique that combines information retrieval with generative AI to produce more contextually informed answers.

    Our beginner-friendly guide covers:

    • What RAG means
    • How RAG works
    • RAG architecture
    • Benefits and limitations
    • Real-world examples

    Read the full guide:
    startupglossary.blogspot.com/2

    #RAG #AI #ArtificialIntelligence #LLM

  29. Nouveau billet, et le début d'une série sur mes projets : des assistants IA pour réparer de vieilles machines — une Datsun de 77, un flipper Dracula, des archives techniques du XIXe.

    Le fil rouge : une IA qui ne répond qu'à partir de sources réelles, cite ses pages, et dit « je ne sais pas » plutôt que d'inventer. La machine propose, l'humain dispose.

    blogz.zaclys.com/chatpey/une-i

    #IA #lowtech #logicielLibre #RAG #AI