genai.system_prompt.system_prompt_service module#

class genai.system_prompt.system_prompt_service.SystemPromptService[source]#

Bases: BaseService[BaseServiceConfig, BaseServiceServices]

create(*, name, content)[source]#
Raises:
Parameters:
  • name (str) –

  • content (str) –

Return type:

SystemPromptCreateResponse

delete(id)[source]#
Raises:
Parameters:

id (int) –

Return type:

None

list(*, limit=None, offset=None)[source]#
Raises:
Parameters:
  • limit (int | None) –

  • offset (int | None) –

Return type:

SystemPromptRetrieveResponse

retrieve(id)[source]#
Raises:
Parameters:

id (int) –

Return type:

SystemPromptIdRetrieveResponse

update(id, *, name, content)[source]#
Raises:
Parameters:
  • id (int) –

  • name (str) –

  • content (str) –

Return type:

SystemPromptIdUpdateResponse