Class representing the details of a chat interaction with an LLM model, including prompts, responses, file generation, and additional metadata.
The name of the LLM model used for the chat.
The prompt text sent to the LLM model.
A listing of file paths or identifiers associated with the chat.
Whether the LLM's response is in JSON format. Defaults to false.
false
A listing of keys expected in the JSON response from the LLM model.
The actual response returned from the LLM model.
The file path where the LLM response of this resource is saved
A timestamp of when the response was generated, represented as an unsigned 64-bit integer.
The timeout duration (in seconds) for the LLM interaction. Defaults to 60 seconds.
Returns the class of this.
this
Returns a string representation of this.
This method is used to convert the values of string interpolation expressions to strings.
Returns this |> transform if this is non-null, and null otherwise.
this |> transform
null
This method is the complement of the ?? operator and the equivalent of an Option type's map and flatMap methods.
??
Option
map
flatMap
Tells if this object has a property with the given name.
name
Returns the value of the property with the given name.
Throws if a property with this name does not exist.
Returns null if a property with this name does not exist.
Converts this object to a Dynamic object.
Dynamic
Converts this object to a Map.
Map
Class representing the details of a chat interaction with an LLM model, including prompts, responses, file generation, and additional metadata.