Table of Contents

Class RagPipelineOptions

Namespace
Mythosia.AI.Rag
Assembly
Mythosia.AI.Rag.Abstractions.dll

Configuration options for the RAG pipeline.

public class RagPipelineOptions
Inheritance
RagPipelineOptions
Inherited Members

Properties

DefaultQuery

Default query policy applied when a per-request query policy is not supplied.

public RagQueryOptions DefaultQuery { get; set; }

Property Value

RagQueryOptions

EmbeddingBatchSize

Maximum number of texts to embed in a single batch call.

public int EmbeddingBatchSize { get; set; }

Property Value

int

PromptTemplate

Optional prompt template with {context} and {question} placeholders. When set, overrides the default context builder at query time. When null or whitespace, the default context builder is used.

public string? PromptTemplate { get; set; }

Property Value

string