nat.plugins.adk.llm#

Attributes#

Functions#

azure_openai_adk(config, _builder)

Create and yield a Google ADK AzureOpenAI client from a NAT AzureOpenAIModelConfig.

litellm_adk(litellm_config, _builder)

nim_adk(config, _builder)

Create and yield a Google ADK NIM client from a NAT NIMModelConfig.

openai_adk(config, _builder)

Create and yield a Google ADK OpenAI client from a NAT OpenAIModelConfig.

Module Contents#

logger#
async azure_openai_adk(
config: nat.llm.azure_openai_llm.AzureOpenAIModelConfig,
_builder: nat.builder.builder.Builder,
)#

Create and yield a Google ADK AzureOpenAI client from a NAT AzureOpenAIModelConfig.

Args:

config (AzureOpenAIModelConfig): The configuration for the AzureOpenAI model. _builder (Builder): The NAT builder instance.

async litellm_adk(
litellm_config: nat.llm.litellm_llm.LiteLlmModelConfig,
_builder: nat.builder.builder.Builder,
)#
async nim_adk(
config: nat.llm.nim_llm.NIMModelConfig,
_builder: nat.builder.builder.Builder,
)#

Create and yield a Google ADK NIM client from a NAT NIMModelConfig.

Args:

config (NIMModelConfig): The configuration for the NIM model. _builder (Builder): The NAT builder instance.

async openai_adk(
config: nat.llm.openai_llm.OpenAIModelConfig,
_builder: nat.builder.builder.Builder,
)#

Create and yield a Google ADK OpenAI client from a NAT OpenAIModelConfig.

Args:

config (OpenAIModelConfig): The configuration for the OpenAI model. _builder (Builder): The NAT builder instance.