kittycad.api.ml.list_ml_prompts

Functions

asyncio(sort_by, *, client[, limit, page_token])

For text-to-cad prompts, this will always return the STEP file contents as well as the format the user originally requested.

asyncio_detailed(sort_by, *, client[, ...])

sync(sort_by, *, client[, limit, page_token])

For text-to-cad prompts, this will always return the STEP file contents as well as the format the user originally requested.

sync_detailed(sort_by, *, client[, limit, ...])

kittycad.api.ml.list_ml_prompts._build_response(*, response)[source][source]
Return type:

Response[Union[MlPromptResultsPage, Error, None]]

kittycad.api.ml.list_ml_prompts._get_kwargs(sort_by, *, client, limit=None, page_token=None)[source][source]
Return type:

Dict[str, Any]

kittycad.api.ml.list_ml_prompts._parse_response(*, response)[source][source]
Return type:

Union[MlPromptResultsPage, Error, None]

async kittycad.api.ml.list_ml_prompts.asyncio(sort_by, *, client, limit=None, page_token=None)[source][source]

For text-to-cad prompts, this will always return the STEP file contents as well as the format the user originally requested.

This endpoint requires authentication by a Zoo employee.

The ML prompts are returned in order of creation, with the most recently created ML prompts first.

Return type:

Union[MlPromptResultsPage, Error, None]

async kittycad.api.ml.list_ml_prompts.asyncio_detailed(sort_by, *, client, limit=None, page_token=None)[source][source]
Return type:

Response[Union[MlPromptResultsPage, Error, None]]

kittycad.api.ml.list_ml_prompts.sync(sort_by, *, client, limit=None, page_token=None)[source][source]

For text-to-cad prompts, this will always return the STEP file contents as well as the format the user originally requested.

This endpoint requires authentication by a Zoo employee.

The ML prompts are returned in order of creation, with the most recently created ML prompts first.

Return type:

Union[MlPromptResultsPage, Error, None]

kittycad.api.ml.list_ml_prompts.sync_detailed(sort_by, *, client, limit=None, page_token=None)[source][source]
Return type:

Response[Union[MlPromptResultsPage, Error, None]]