nemo_microservices.resources.guardrail.chat.chat
#
Module Contents#
Classes#
API#
- class nemo_microservices.resources.guardrail.chat.chat.AsyncChatResource( )#
Bases:
nemo_microservices._resource.AsyncAPIResource
Initialization
- property completions: nemo_microservices.resources.guardrail.chat.completions.AsyncCompletionsResource#
- property with_raw_response: nemo_microservices.resources.guardrail.chat.chat.AsyncChatResourceWithRawResponse#
This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content.
For more information, see https://docs.nvidia.com/nemo/microservices/latest/pysdk/index.html#accessing-raw-response-data-e-g-headers
- property with_streaming_response: nemo_microservices.resources.guardrail.chat.chat.AsyncChatResourceWithStreamingResponse#
An alternative to
.with_raw_response
that doesn’t eagerly read the response body.For more information, see https://docs.nvidia.com/nemo/microservices/latest/pysdk/index.html#with_streaming_response
- class nemo_microservices.resources.guardrail.chat.chat.AsyncChatResourceWithRawResponse( )#
Initialization
- class nemo_microservices.resources.guardrail.chat.chat.AsyncChatResourceWithStreamingResponse( )#
Initialization
- class nemo_microservices.resources.guardrail.chat.chat.ChatResource(client: nemo_microservices._client.NeMoMicroservices)#
Bases:
nemo_microservices._resource.SyncAPIResource
Initialization
- property completions: nemo_microservices.resources.guardrail.chat.completions.CompletionsResource#
- property with_raw_response: nemo_microservices.resources.guardrail.chat.chat.ChatResourceWithRawResponse#
This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content.
For more information, see https://docs.nvidia.com/nemo/microservices/latest/pysdk/index.html#accessing-raw-response-data-e-g-headers
- property with_streaming_response: nemo_microservices.resources.guardrail.chat.chat.ChatResourceWithStreamingResponse#
An alternative to
.with_raw_response
that doesn’t eagerly read the response body.For more information, see https://docs.nvidia.com/nemo/microservices/latest/pysdk/index.html#with_streaming_response
- class nemo_microservices.resources.guardrail.chat.chat.ChatResourceWithRawResponse( )#
Initialization
- class nemo_microservices.resources.guardrail.chat.chat.ChatResourceWithStreamingResponse( )#
Initialization