Table of Contents

Class RagFileParsingConfig

Namespace
GenerativeAI.Types.RagEngine
Assembly
GenerativeAI.dll

Specifies the parsing config for RagFiles.

public class RagFileParsingConfig
Inheritance
RagFileParsingConfig
Inherited Members
Extension Methods

Properties

AdvancedParser

The Advanced Parser to use for RagFiles.

[JsonPropertyName("advancedParser")]
public RagFileParsingConfigAdvancedParser? AdvancedParser { get; set; }

Property Value

RagFileParsingConfigAdvancedParser

LayoutParser

The Layout Parser to use for RagFiles.

[JsonPropertyName("layoutParser")]
public RagFileParsingConfigLayoutParser? LayoutParser { get; set; }

Property Value

RagFileParsingConfigLayoutParser

LlmParser

The LLM Parser to use for RagFiles.

[JsonPropertyName("llmParser")]
public RagFileParsingConfigLlmParser? LlmParser { get; set; }

Property Value

RagFileParsingConfigLlmParser

UseAdvancedPdfParsing

Whether to use advanced PDF parsing.

[JsonPropertyName("useAdvancedPdfParsing")]
[Obsolete("Use AdvancedParser property instead. UseAdvancedPdfParsing property will be removed in a future version.")]
public bool? UseAdvancedPdfParsing { get; set; }

Property Value

bool?