root.skill_chat

Classes

ASkillChat

Wrapper for a single Chat with a Skill.

SkillChat

Wrapper for a single Chat with a Skill.

Module Contents

class root.skill_chat.ASkillChat

Bases: root.generated.openapi_aclient.models.chat_detail.ChatDetail

Wrapper for a single Chat with a Skill.

For available attributes, please check the (automatically generated) superclass documentation.

async arun(variables: Dict[str, str] | None = None, *, skill_version_id: str | None = None, _request_timeout: int | None = None) root.generated.openapi_aclient.models.chat_execution_result.ChatExecutionResult

Asynchronously run a skill with optional variables as an interactive chat. The chat message history is stored and can be referred to in following calls.

The response is equal to the skill run response, with the addition of a chat_id key.

Parameters:
  • variables (Optional[Dict[str, str]])

  • skill_version_id (Optional[str])

  • _request_timeout (Optional[int])

Return type:

root.generated.openapi_aclient.models.chat_execution_result.ChatExecutionResult

class root.skill_chat.SkillChat

Bases: root.generated.openapi_client.models.chat_detail.ChatDetail

Wrapper for a single Chat with a Skill.

For available attributes, please check the (automatically generated) superclass documentation.

run(variables: Dict[str, str] | None = None, *, skill_version_id: str | None = None, _request_timeout: int | None = None) root.generated.openapi_client.models.chat_execution_result.ChatExecutionResult

Run a skill with optional variables as an interactive chat. The chat message history is stored and can be referred to in following calls.

The response is equal to the skill run response, with the addition of a chat_id key.

Parameters:
  • variables (Optional[Dict[str, str]])

  • skill_version_id (Optional[str])

  • _request_timeout (Optional[int])

Return type:

root.generated.openapi_client.models.chat_execution_result.ChatExecutionResult