kittycad.api.ai.list_ai_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[, ...])

rtype:

Response[Union[AiPromptResultsPage, Error, None]]

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, ...])

rtype:

Response[Union[AiPromptResultsPage, Error, None]]

kittycad.api.ai.list_ai_prompts._build_response(*, response)[source][source]
Return type:

Response[Union[AiPromptResultsPage, Error, None]]

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

Dict[str, Any]

kittycad.api.ai.list_ai_prompts._parse_response(*, response)[source][source]
Return type:

Union[AiPromptResultsPage, Error, None]

async kittycad.api.ai.list_ai_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 KittyCAD employee. The AI prompts are returned in order of creation, with the most recently created AI prompts first.

Return type:

Union[AiPromptResultsPage, Error, None]

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

Response[Union[AiPromptResultsPage, Error, None]]

kittycad.api.ai.list_ai_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 KittyCAD employee. The AI prompts are returned in order of creation, with the most recently created AI prompts first.

Return type:

Union[AiPromptResultsPage, Error, None]

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

Response[Union[AiPromptResultsPage, Error, None]]