gateway.gateway#

Module Contents#

Classes#

API#

class gateway.gateway.AsyncGatewayResource(client: nemo_platform._client.AsyncNeMoPlatform)#

Bases: nemo_platform._resource.AsyncAPIResource

Initialization

property model: gateway.model.AsyncModelResource#
property openai: gateway.openai.openai.AsyncOpenAIResource#
property provider: gateway.provider.AsyncProviderResource#
property with_raw_response: gateway.gateway.AsyncGatewayResourceWithRawResponse#
property with_streaming_response: gateway.gateway.AsyncGatewayResourceWithStreamingResponse#
class gateway.gateway.AsyncGatewayResourceWithRawResponse(
gateway: gateway.gateway.AsyncGatewayResource,
)#

Initialization

property model: gateway.model.AsyncModelResourceWithRawResponse#
property openai: gateway.openai.openai.AsyncOpenAIResourceWithRawResponse#
property provider: gateway.provider.AsyncProviderResourceWithRawResponse#
class gateway.gateway.AsyncGatewayResourceWithStreamingResponse(
gateway: gateway.gateway.AsyncGatewayResource,
)#

Initialization

property model: gateway.model.AsyncModelResourceWithStreamingResponse#
property openai: gateway.openai.openai.AsyncOpenAIResourceWithStreamingResponse#
property provider: gateway.provider.AsyncProviderResourceWithStreamingResponse#
class gateway.gateway.GatewayResource(client: nemo_platform._client.NeMoPlatform)#

Bases: nemo_platform._resource.SyncAPIResource

Initialization

property model: gateway.model.ModelResource#
property openai: gateway.openai.openai.OpenAIResource#
property provider: gateway.provider.ProviderResource#
property with_raw_response: gateway.gateway.GatewayResourceWithRawResponse#
property with_streaming_response: gateway.gateway.GatewayResourceWithStreamingResponse#
class gateway.gateway.GatewayResourceWithRawResponse(
gateway: gateway.gateway.GatewayResource,
)#

Initialization

property model: gateway.model.ModelResourceWithRawResponse#
property openai: gateway.openai.openai.OpenAIResourceWithRawResponse#
property provider: gateway.provider.ProviderResourceWithRawResponse#
class gateway.gateway.GatewayResourceWithStreamingResponse(
gateway: gateway.gateway.GatewayResource,
)#

Initialization

property model: gateway.model.ModelResourceWithStreamingResponse#
property openai: gateway.openai.openai.OpenAIResourceWithStreamingResponse#
property provider: gateway.provider.ProviderResourceWithStreamingResponse#