Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.91 KB

CreateMessageData.md

File metadata and controls

33 lines (24 loc) · 1.91 KB

CreateMessageData

Properties

Name Type Description Notes
highlight_delimiters List[str] The delimiters to use for highlighting the citations. If this is not included, the default delimiters will be used. Default is `[".", "!", "?", "\n", "\t", ","]`. [optional]
highlight_results bool Set highlight_results to false for a slight latency improvement (1-10ms). If not specified, this defaults to true. This will add `<b><mark>` tags to the chunk_html of the chunks to highlight matching sub-sentences. [optional]
new_message_content str The content of the user message to attach to the topic and then generate an assistant message in response to.
stream_response bool Whether or not to stream the response. If this is set to true or not included, the response will be a stream. If this is set to false, the response will be a normal JSON response. Default is true. [optional]
topic_id str The ID of the topic to attach the message to.

Example

from trieve_py_client.models.create_message_data import CreateMessageData

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

# convert the object into a dict
create_message_data_dict = create_message_data_instance.to_dict()
# create an instance of CreateMessageData from a dict
create_message_data_form_dict = create_message_data.from_dict(create_message_data_dict)

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