Buscar
AI-generatedSummary
Execute a semantic search on Brazilian legal documents using a query string, returning relevant documents filtered and ranked according to specified parameters.
Inputs
- Query (required) — The search question or term to query the documents (e.g., 'O que é ETP?').
- Quantidade de Resultados — Maximum number of search results to return, from 1 to 20 (default 5).
- Modo de Busca — Search mode balancing speed and accuracy with options: 'balanced' (default), 'fast' (faster, no reranking), or 'precise' (slower, with HyDE and reranking).
- Filtros — Optional filters to narrow results by document type (Lei, Decreto, Instrução Normativa, Portaria), year (0 for any), or specific document ID (e.g., 'LEI-14133-2021').
- Opções Avançadas — Advanced options including whether to include a system prompt for use with external LLMs, and the style of this prompt (default, concise, detailed, or chatbot).
Output shape
An array of JSON objects representing the search results returned by the VectorGov API.
Results are returned from a POST request to /api/v1/sdk/search and include the documents matching the semantic query according to the specified parameters. The response format is JSON as provided directly by the API. Advanced options may add a system prompt field to the response.