improved

Knowledge API: New Parameters

New search_type field with options:

  • vector_search: Semantic similarity search
  • keyword_search: Exact text matching
  • hybrid_search: Combined approach (default)
  • Separated Top-K Controls:
    • top_k: Controls initial document retrieval (1-100)
    • rerank_config.top_k: Controls final result count after reranking (1-100)
  • New agentic_rag_config parameter to customize AI-driven search behavior per request

Benefits

  • Flexible Search Strategy: Choose optimal search method per query
  • Fine-tuned Relevance: Retrieve broadly, return precisely with independent top-k settings
  • Performance Optimization: Better control over retrieval vs. quality trade-offs

Impact

  • Users can now choose specific search strategies instead of relying on knowledge base defaults
  • Better control over the retrieval-rerank pipeline allows for more relevant results by retrieving more documents initially but returning fewer, higher-quality results

You can find more info here https://docs.orq.ai/reference/searchknowledge#/