Register and share your invite link to earn from video plays and referrals.

Search results for ReRank
ReRank community
One keyword maps to one global community path.
Create community
People
Not Found
Tweets including ReRank
rerank-2.5: instruction-following reranking with higher retrieval accuracy. $0.05 per million input tokens.
rerank-2.5-lite: instruction-following reranking with natural-language relevance criteria. $0.02 per million input tokens.
new: rerank_by before, you'd implement rank fusion client-side. now, a little QoL upgrade, especially nice for large result sets docs:
KEN CARSON RKO OUTTA NOWHERE 😳😅 Watch the latest episode of #ReRank#, powered by @ESPN. Read the Ken Carson cover and shop the Ken Carson x WWE collection at the link in @complexmusic bio 🔗 Don't miss WWE SummerSlam August 1-2 at 6pm ET — Stream on the ESPN App with an ESPN Unlimited Plan.
Show more
# Weaviate Features and Practical Usage 🚀 Ever wished you could delete all the embedding-API plumbing from your app code? Weaviate's model provider integrations let you wire up vectorization, generation, and reranking just by writing it into your collection config. 📌 Title and Feature URL Title: Model provider integrations URL: 📝 Overview Weaviate integrates with 20+ model providers including OpenAI, Cohere, Google, AWS, Azure OpenAI, Mistral, Anthropic, Hugging Face, and Ollama. You can plug them into automatic embedding at import, automatic embedding of query text, generation for RAG, and reranking of search results. The big win is that your application no longer needs code to call an embedding API and pass vectors in. 🔧 How It Works Integrations fall into three roles: - Vectorizer (embeddings): text or multimodal vectorization. - Generative (LLM): text generation for RAG pipelines. - Reranker: result refinement (offered by Cohere, Jina AI, NVIDIA, Voyage AI). There are also two delivery forms. API-based providers (OpenAI, Google, Cohere, AWS Bedrock, etc.) call external services, while locally hosted options (Ollama, Hugging Face Transformers, Model2vec) run on your own infrastructure. API-based modules are enabled by default in v1.33+. 🛠 Practical Usage - Specify an embedding provider with Configure.Vectors at collection creation, and Weaviate vectorizes automatically at both import and query time. - Configure generation with Configure.Generative to run RAG over your search results. - Configure a reranker with Configure.Reranker. - Automatic vectorization targets text / text[] properties. Weaviate sorts property names alphabetically, concatenates them, optionally prepends the collection name, and sends the string to the model (you can also exclude properties per-field). 🎯 Use Cases - Internal document search: auto-vectorize body text at import, and auto-vectorize the query with the same model so they stay consistent. - Model swapping: change vendor or model by editing collection config only. - Closed-network requirements: use a locally hosted option like Ollama to keep data in-house through embedding generation. - RAG chat: combine retrieval and generation within the same configuration, minimizing external orchestration. ⚠️ Caveats - API-based providers require API keys and incur usage charges. - Rate limits follow each provider's policy; watch out during bulk imports. - For versions before v1.27, the concatenated string is lowercased before being sent to the model. - For versions before v1.33, set ENABLE_API_BASED_MODULES to use API-based modules. #Weaviate# #Embeddings#
Show more
🔎 Frontier model smarts alone don't run production AI. It works only when paired with a retrieval layer that pulls enterprise data accurately, with permissions and audit. TL;DR: Elastic and OpenAI expand their partnership, turning Elasticsearch into a permission-aware persistent memory layer to boost agents, observability, and security at once. Title: Elastic and OpenAI collaborate to bring frontier intelligence to unstructured enterprise data URL: Key points 🧠 Elasticsearch as a persistent memory layer (lexical + vector + reranking + access control) 🎯 Precomputed Knowledge Indicators cut input tokens up to 75%, lift accuracy 60%→92% 🔒 Internal tests show 0.89 recall with complete cross-user data protection 🛡 Attack Discovery correlates alerts into attack chains, mapped to MITRE ATT&CK ⚡ Visa cut triage from 10-20 min to seconds; Airtel up to 40% faster analysis, 30% faster investigations 🔌 Agent Builder exposes skills via MCP; migrates Splunk/QRadar rules A pragmatic design: intelligence + retrieval + governance together is what makes production AI real. #Elasticsearch# #OpenAI#
Show more
TL;DR Reliable agentic AI comes not from "a better model or prompt" but from explicitly engineering context and the orchestration harness—lessons from PRINCE, a Bayer × Thoughtworks pharma system. 🧪 Title: Building Reliable Agentic AI Systems URL: Highlights 🧭 Sequential agents with pause points: clarify intent → Think & Plan → Researcher → Reflection → Writer, verifying step by step 🔁 Three reflection loops: process (trajectory), data (evidence sufficiency), draft (output completeness) catch distinct failures 🔎 Hybrid retrieval: query expansion n=5, weighting 0.7 semantic + 0.3 keyword, bge-reranker cutting ~20 → 7 chunks 🗃️ Structured data via Text-to-SQL: SELECT-only, up to 3 self-corrections, ≤50 rows per query 🛟 Harness engineering: state persisted in PostgreSQL/DynamoDB, resume from failure point, automatic provider fallback 📌 Sentence-level citations plus RAGAS and Langfuse evals; daily batch checks on live traffic catch hallucinations 🏷️ NER extracts entities from study PDFs; high-confidence fields auto-update, low-confidence quarantined for human review The "even with big context windows, selectivity still matters" stance rings true to anyone shipping this stuff. #AIAgents# #LLMOps#
Show more
Practices for embedding AI agents into enterprise systems [Layered Memory -- 4-Tier Memory & Context Broker] 💡 An AI agent that starts from scratch every session is like a new hire who asks the same questions every day. Separate memory into four layers and dynamically assemble "only what's needed right now" -- that's what makes an agent production-ready. 🔥 Problems Solved - Context loss across sessions: context vanishes between sessions and agents, forcing repeated work - Finite context window: stuffing full history into the window degrades both cost and accuracy - Memory bloat: unlimited accumulation increases cost, privacy risk, and context pollution - Lost in the middle: injecting too much context actually reduces answer accuracy 🏗️ Proposed Pattern Separate memory into four tiers: Working (current session, ephemeral), Episodic (past summaries, per-user), Semantic (RAG-indexed knowledge), and Organizational (people, teams, relationships as a knowledge graph). Assign each tier its own storage, TTL, and ACL. A Context Broker retrieves from relevant tiers based on user intent, then prioritizes, summarizes, and compresses within a token budget -- assembling context from only the most relevant information. ✅ Selection Criteria - When to use: agents providing continuous support across sessions and agent boundaries - When NOT: one-shot stateless tasks; use cases where a small, fixed context is sufficient ⚠️ Pitfalls - Episodic memory bloat: store summaries (not raw logs) and control with importance scores, TTL, and time-decay - Context broker quality: poor reranking lets irrelevant information slip through, degrading accuracy - Cross-layer ACL consistency: when layers have different ACLs, aggregation must reduce to the strictest permission 🛠️ Implementation Approach 1. Deploy a vector DB (Pinecone / Weaviate / pgvector) for the semantic memory tier and Neo4j for the organizational knowledge graph tier, configuring storage, TTL, and ACLs per tier 2. Build a summarization pipeline for episodic memory -- store summaries instead of raw logs and implement automatic forgetting via importance scores and time-decay 3. Implement the Context Broker with reranking (Cohere Rerank / cross-encoder) to dynamically assemble the most relevant information within a token budget (target ~8,000 tokens) based on user intent 4. Leverage memory management frameworks (Mem0 / Zep) for cross-session and cross-agent context persistence 5. Tag each memory tier with ACL metadata and integrate with the Context Firewall (P10) to reduce permissions to the strictest level at aggregation time #AIAgents# #EnterpriseArchitecture#
Show more
# Practices for Embedding AI Agents in Software # Context Budget Allocator 🎯 The Hook "Just put everything in the context window" sounds reasonable until your costs spike, your system instructions get pushed out, and the LLM ignores the most important retrieved documents buried in the middle. 🔥 The Problem In RAG-powered agents, search results, conversation history, system instructions, and long-term memory all compete for the same finite token window. More input means higher cost but not necessarily better output. As conversations grow, system instructions shrink proportionally and behavior degrades. The "Lost in the Middle" phenomenon means information placed in the center of a long context gets less attention than content at the beginning or end. 💡 The Pattern Divide the context window into named slots (system instructions, retrieval, history, memory) each with a maximum token ratio and priority. Reserve system instructions as a non-compressible fixed slot at 10-20%. Cap retrieval results at a reranked top-k of 3-8 documents. Compress conversation history via summarization when window usage exceeds a threshold. Arrange content to counter Lost in the Middle: critical information first, recent user input last. The higher the cost sensitivity, the tighter the top-k, the lower the compression threshold, and the shorter the history retention. ✅ When to Use Use when: - RAG or memory is active and candidate content could exceed 50% of the model's context window - Cost sensitivity is medium or higher, with token volume affecting both cost and inference latency - Multi-turn conversations accumulate history that crowds out other content types Don't use when: - Input is just system instructions plus a single user message, fitting within 30% of the window - Using a long-context model with input under 20% of the window and low cost sensitivity ⚠️ Pitfalls - Never compress system instructions. Losing tool definitions or safety rules breaks agent behavior entirely - Raw top-k without reranking has low signal density. Retrieve 20 candidates, rerank to 3-8 with a cross-encoder - Summarization is lossy. Key decisions and proper nouns can vanish. Combine with keyword extraction to preserve critical terms 🔧 Implementation Approach - Model the context window as named slots (system/user/retrieval/history/memory) with a struct defining max token ratio, priority, and compressibility per slot - Reserve system instructions as the highest-priority non-compressible fixed allocation, then distribute remaining budget to other slots in descending priority order - Cap retrieval content by reranking vector search candidates with a cross-encoder before fitting within the slot budget, maximizing signal density - Trigger summarization compression on the history slot when it exceeds budget, combining with keyword extraction to prevent loss of critical terms #AIAgents# #SoftwareArchitecture#
Show more