NLQSystemPromptClause

NLQSystemPromptClause(value_param)

Parameters

value_param
TypedParam | Evaluated[TypedParam]
required
The parameter containing the system prompt text.

Inheritance

Inheritance Chain:
  • NLQSystemPromptClause
  • SingleValueParamQueryClause
  • QueryClause
  • ABC

Static Methods

from_param()

from_param(system_prompt) -> NLQSystemPromptClause
system_prompt
StringParamType
required
The system prompt parameter for natural language query processing.
Returns: NLQSystemPromptClause - A new NLQ system prompt clause instance.

Methods

get_altered_nql_params()

get_altered_nql_params(nlq_clause_params) -> NLQClauseParams
nlq_clause_params
NLQClauseParams
required
The NLQ clause parameters to modify with the system prompt.
Returns: NLQClauseParams - The modified NLQ parameters with the system prompt applied.