Class representing the details of a chat interaction with an LLM model, including prompts, responses, and configuration options such as tools, JSON output, and timeout settings.
The model to use for the conversation (e.g., "llama3.2").
The role of the speaker in the conversation (e.g., "user", "assistant").
The prompt text to be sent to the LLM model.
A listing of multi-prompt scenarios to be executed in sequence.
A listing of tools available for the LLM to use during the conversation.
A listing of file paths that the LLM can reference or access.
A flag indicating whether the response should be in JSON format.
A listing of specific keys to extract from the JSON response.
The response text returned by the LLM model.
The file path where the response is saved.
The listing of the item iteration results
A timestamp of when the response was generated, represented as an unsigned 64-bit integer.
The timeout duration (in seconds) for the LLM request. 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, and configuration options such as tools, JSON output, and timeout settings.