Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 1.62 KB

CreateMessageData.md

File metadata and controls

28 lines (22 loc) · 1.62 KB

TrieveRubyClient::CreateMessageData

Properties

Name Type Description Notes
highlight_citations Boolean Whether or not to highlight the citations in the response. If this is set to true or not included, the citations will be highlighted. If this is set to false, the citations will not be highlighted. Default is true. [optional]
highlight_delimiters Array<String> The delimiters to use for highlighting the citations. If this is not included, the default delimiters will be used. Default is `[&quot;.&quot;, &quot;!&quot;, &quot;?&quot;, &quot;\n&quot;, &quot;\t&quot;, &quot;,&quot;]`. [optional]
model String The model to use for the assistant's messages. This can be any model from the openrouter model list. If no model is provided, gpt-3.5-turbo will be used. [optional]
new_message_content String The content of the user message to attach to the topic and then generate an assistant message in response to.
stream_response Boolean 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 String The ID of the topic to attach the message to.

Example

require 'trieve_ruby_client'

instance = TrieveRubyClient::CreateMessageData.new(
  highlight_citations: null,
  highlight_delimiters: null,
  model: null,
  new_message_content: null,
  stream_response: null,
  topic_id: null
)