ai Package

Packages

embeddings
google
open_ai

Modules

chat_completion_client_base
completion_usage
function_call_behavior
function_call_choice_configuration
function_calling_utils
function_choice_behavior
prompt_execution_settings
text_completion_client_base
text_to_image_client_base

Classes

PromptExecutionSettings

Base class for prompt execution settings.

Can be used by itself or as a base class for other prompt execution settings. The methods are used to create specific prompt execution settings objects based on the keys in the extension_data field, this way you can create a generic PromptExecutionSettings object in your application, which gets mapped into the keys of the prompt execution settings that each services returns by using the service.get_prompt_execution_settings() method.

Initialize the prompt execution settings.