Chat Tool Call Model
Smarter API Chat Manifest Constants
Smarter API ChatToolCall - ChatToolCall.metadata
- class smarter.apps.prompt.manifest.models.chat_tool_call.metadata.SAMChatToolCallMetadata(*, name: str, description: str | None, version: str | None, tags: List[str] | None = <factory>, annotations: List[dict[str, str | int | float | bool | ~datetime.date | ~datetime.datetime | ~decimal.Decimal | ~uuid.UUID | bytes | list | dict]] | None=<factory>)[source]
Bases:
AbstractSAMMetadataBaseSmarter API ChatToolCall Manifest - Metadata class.
Smarter API ChatToolCall - ChatToolCall.spec
- class smarter.apps.prompt.manifest.models.chat_tool_call.spec.SAMChatToolCallSpecConfig[source]
Bases:
AbstractSAMSpecBaseSmarter API ChatToolCall Manifest ChatToolCall.spec.config
Smarter API Manifest - ChatToolCall.status
- class smarter.apps.prompt.manifest.models.chat_tool_call.status.SAMChatToolCallStatus(*, recordLocator: str, created: datetime, modified: datetime)[source]
Bases:
AbstractSAMStatusBaseSmarter API ChatToolCall Manifest - Status class.
Smarter API ChatToolCall Manifest
- class smarter.apps.prompt.manifest.models.chat_tool_call.model.SAMChatToolCall(*, apiVersion: str, kind: str, metadata: SAMChatToolCallMetadata, spec: SAMChatToolCallSpecConfig, status: SAMChatToolCallStatus | None = None)[source]
Bases:
AbstractSAMBaseSmarter API Manifest - ChatToolCall
- metadata: SAMChatToolCallMetadata
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True, 'from_attributes': True, 'frozen': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_post_init(context, /)
This function is meant to behave like a BaseModel method to initialize private attributes.
It takes context as an argument since that’s what pydantic-core passes when calling it.
- Return type:
- Parameters:
self – The BaseModel instance.
context – The context.
- status: SAMChatToolCallStatus | None