Enhanced RAG

Generate With Hybrid Rag

Enhanced content generation using hybrid RAG for context retrieval.

This endpoint uses the hybrid search to gather relevant context, then generates content using the retrieved information.

post/api/rag/generate

Request

  • Base URL: https://voyant.io (the document declares no server; this is the origin it was published from)
  • URL: https://voyant.io/api/rag/generate
  • Auth: HTTP bearer

Request body

querystring required

Query or topic for content generation

platformstring required

Target platform (twitter, linkedin, etc.)

tonestring required

Desired tone (professional, casual, etc.)

strategy'hybrid' | 'semantic' | 'keyword' | 'domain'

Search strategy for context retrieval

top_kinteger

Number of context chunks to retrieve

domainstring nullable

Filter context by domain

content_typestring nullable

Filter context by content type

Response

Successful Response

querystring required
generated_contentstring required
context_sourcesobject[] required
retrieval_statsobject required
generation_metadataobject required
timestampstring required

Changes

No recorded changes to this operation across all 1 revision of this API.