Table of Contents

Class RagFileParsingConfigLlmParser

Namespace
GenerativeAI.Types.RagEngine
Assembly
GenerativeAI.dll

Specifies the advanced parsing for RagFiles.

public class RagFileParsingConfigLlmParser
Inheritance
RagFileParsingConfigLlmParser
Inherited Members
Extension Methods

Properties

CustomParsingPrompt

The prompt to use for parsing. If not specified, a default prompt will be used.

[JsonPropertyName("customParsingPrompt")]
public string? CustomParsingPrompt { get; set; }

Property Value

string

MaxParsingRequestsPerMin

The maximum number of requests the job is allowed to make to the LLM model per minute. Consult https://cloud.google.com/vertex-ai/generative-ai/docs/quotas and your document size to set an appropriate value here. If unspecified, a default value of 5000 QPM would be used.

[JsonPropertyName("maxParsingRequestsPerMin")]
public int? MaxParsingRequestsPerMin { get; set; }

Property Value

int?

ModelName

The name of a LLM model used for parsing. Format: * projects/{project_id}/locations/{location}/publishers/{publisher}/models/{model}

[JsonPropertyName("modelName")]
public string? ModelName { get; set; }

Property Value

string