LlmCustomization

class oci.generative_ai_agent.models.LlmCustomization(**kwargs)

Bases: object

Configuration to customize LLM.

Methods:

__init__(**kwargs)

Initializes a new LlmCustomization object with values from keyword arguments.

Attributes:

instruction

Gets the instruction of this LlmCustomization.

llm_hyper_parameters

Gets the llm_hyper_parameters of this LlmCustomization.

llm_selection

Gets the llm_selection of this LlmCustomization.

__init__(**kwargs)

Initializes a new LlmCustomization object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • llm_selection (oci.generative_ai_agent.models.LlmSelection) – The value to assign to the llm_selection property of this LlmCustomization.

  • llm_hyper_parameters (dict(str, object)) – The value to assign to the llm_hyper_parameters property of this LlmCustomization.

  • instruction (str) – The value to assign to the instruction property of this LlmCustomization.

property instruction

Gets the instruction of this LlmCustomization. If specified, the default instruction is replaced with provided instruction.

Returns

The instruction of this LlmCustomization.

Return type

str

property llm_hyper_parameters

Gets the llm_hyper_parameters of this LlmCustomization. Hyper parameters for LLM configuration. Accepts Key-value pairs to configure various hyper parameters. Refer to the guide for examples and the JSON Schema documentation for details on the format.

Returns

The llm_hyper_parameters of this LlmCustomization.

Return type

dict(str, object)

property llm_selection

Gets the llm_selection of this LlmCustomization.

Returns

The llm_selection of this LlmCustomization.

Return type

oci.generative_ai_agent.models.LlmSelection