Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.12 KB

File metadata and controls

30 lines (21 loc) · 1.12 KB

UserMessageRequest

Request to send a user message and trigger agent generation.

Properties

Name Type Description Notes
input_text str User input text. Mock agent dev controls may be embedded here (e.g. /mock duration=5 wps=3 scenario=tool_call_once). [optional] [default to '']

Example

from ksapi.models.user_message_request import UserMessageRequest

# TODO update the JSON string below
json = "{}"
# create an instance of UserMessageRequest from a JSON string
user_message_request_instance = UserMessageRequest.from_json(json)
# print the JSON string representation of the object
print(UserMessageRequest.to_json())

# convert the object into a dict
user_message_request_dict = user_message_request_instance.to_dict()
# create an instance of UserMessageRequest from a dict
user_message_request_from_dict = UserMessageRequest.from_dict(user_message_request_dict)

[Back to Model list] [Back to API list] [Back to README]