I must be missing something, this says it can be self-hosted. But the first page of the self-hosting docs say you need accounts with no less than 6 (!) other third-party hosted services. We have very different ideas about the meaning of self-hosted.
You can self-host their code. I don't think there is any official definition of "self hosted" that this violates. For example - if a "self hosted" service supports off-site backups is it self hosted or just well designed?
Production RAG: what I learned from processing 5M+ documents
81–90 of 116 posts
Re: Production RAG: what I learned from processing 5M+ documents
#82Re: Production RAG: what I learned from processing 5M+ documents
#83Does anyone know how to do versioning for embeddings? Let’s say I want to update/upsert my data and deliver v6 of domain data instead of v1 or filter for data within a specified date range. I am thinking of exploring context prepending to chunks.
Re: Production RAG: what I learned from processing 5M+ documents
#84Re: Production RAG: what I learned from processing 5M+ documents
#85Does anyone know how to do versioning for embeddings? Let’s say I want to update/upsert my data and deliver v6 of domain data instead of v1 or filter for data within a specified date range. I am thinking of exploring context prepending to chunks.
Re: Production RAG: what I learned from processing 5M+ documents
#86Could you share more about chunking strategies you used?
Re: Production RAG: what I learned from processing 5M+ documents
#87Earlier quoted context omitted.
OP. Reranking is a specialized LLM that takes the user query, and a list of candidate results, then re-sets the order based on which ones are more relevant to the query. Here's sample code: https://docs.cohere.com/reference/rerank
What is the difference between reranking versus generating text embeddings and comparing with cosine similarity?
Re: Production RAG: what I learned from processing 5M+ documents
#88Re: Production RAG: what I learned from processing 5M+ documents
#89Earlier quoted context omitted.
At Microsoft, that's all baked into Azure AI Search - hybrid search does BM25, vector search, and re-ranking, just with setting booleans to true. It also has a new Agentic retrieval feature that does the query rewriting and parallel search execution. Disclosure: I work at MS and help maintain our most popular open-source RAG template, so I follow the best practices closely: https://github.com/Azure-Samples/azure-sear…
I am working on search but rather for text-to-image retrieval, nevertheless, I am curious if by that's all baked into Azure AI search you also meant synthetic query generation from the grandparent comment. If so, what's your latency for this? And do you extract structured data from the query? If so, do you use LLMs for that? Moreover I am curious why you guys use bm25 over SPLADE ?
That query generation approach does not extract structured data. I do maintain another RAG template for PostgreSQL that uses function calling to turn the query into a structured query, such that I can construct SQL filters dynamically. Docs here: https://github.com/Azure-Samples/rag-postgres-openai-python/...
I'll ask the search about SPLADE, not sure.
Re: Production RAG: what I learned from processing 5M+ documents
#90I must be missing something, this says it can be self-hosted. But the first page of the self-hosting docs say you need accounts with no less than 6 (!) other third-party hosted services. We have very different ideas about the meaning of self-hosted.
You can self-host their code. I don't think there is any official definition of "self hosted" that this violates. For example - if a "self hosted" service supports off-site backups is it self hosted or just well designed?
There is a big difference between communicating with external services (your example) vs REQUIRING external services (what parent is complaining about).
If in your example the system can run correctly with just local backups I would consider it self-hosted.