For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
DocumentationAPI Reference
DocumentationAPI Reference
  • API Reference
    • Overview
        • Nemo Curator
          • Backends
          • Config
          • Core
          • Metrics
          • Models
            • Aesthetics
            • Base
            • Client
              • Llm Client
              • Openai Client
            • Clip
            • Cosmos Embed1
            • Nemotron 3 Nano Omni
            • Nemotron H Vl
            • Nsfw
            • Prompt Formatter
            • Qwen Lm
            • Qwen Vl
            • Transnetv2
            • Vllm Model
          • Package Info
          • Pipeline
          • Stages
          • Tasks
          • Utils
    • Pipeline
    • ProcessingStage
    • CompositeStage
    • Resources
NVIDIANVIDIA
Developer-friendly docs for your API
Privacy Policy | Your Privacy Choices | Terms of Service | Accessibility | Corporate Policies | Product Security | Contact

Copyright © 2026, NVIDIA Corporation.

LogoLogoNeMo Curator
On this page
  • Module Contents
  • Classes
  • API
API ReferenceFull Library ReferenceNemo CuratorNemo CuratorModelsClient

nemo_curator.models.client.openai_client

||View as Markdown|
Previous

nemo_curator.models.client.llm_client

Next

nemo_curator.models.clip

Module Contents

Classes

NameDescription
AsyncOpenAIClientA wrapper around OpenAI’s Python async client for querying models
OpenAIClientA wrapper around OpenAI’s Python client for querying models

API

class nemo_curator.models.client.openai_client.AsyncOpenAIClient(
max_concurrent_requests: int = 5,
max_retries: int = 3,
base_delay: float = 1.0,
kwargs = {}
)

Bases: AsyncLLMClient

A wrapper around OpenAI’s Python async client for querying models

timeout
= kwargs.pop('timeout', 120)
nemo_curator.models.client.openai_client.AsyncOpenAIClient._query_model_impl(
messages: collections.abc.Iterable,
model: str,
conversation_formatter: nemo_curator.models.client.llm_client.ConversationFormatter | None = None,
generation_config: nemo_curator.models.client.llm_client.GenerationConfig | dict | None = None
) -> list[str]
async

Internal implementation of query_model without retry/concurrency logic.

nemo_curator.models.client.openai_client.AsyncOpenAIClient.setup() -> None

Setup the client.

class nemo_curator.models.client.openai_client.OpenAIClient(
kwargs = {}
)

Bases: LLMClient

A wrapper around OpenAI’s Python client for querying models

timeout
= kwargs.pop('timeout', 120)
nemo_curator.models.client.openai_client.OpenAIClient.query_model(
messages: collections.abc.Iterable,
model: str,
conversation_formatter: nemo_curator.models.client.llm_client.ConversationFormatter | None = None,
generation_config: nemo_curator.models.client.llm_client.GenerationConfig | dict | None = None
) -> list[str]
nemo_curator.models.client.openai_client.OpenAIClient.setup() -> None

Setup the client.