InsertCommandSynthPairRequest

Properties

Name

Type

Description

Notes

user_prompt

str

The user-authored prompt (the question turn).

ai_response

str

The LLM-generated response (the reply turn).

command_name

str

Slash-command identifier (e.g. "schedule", "create-assistant").

Example

from h2ogpte.rest_sync.models.insert_command_synth_pair_request import InsertCommandSynthPairRequest

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

# convert the object into a dict
insert_command_synth_pair_request_dict = insert_command_synth_pair_request_instance.to_dict()
# create an instance of InsertCommandSynthPairRequest from a dict
insert_command_synth_pair_request_from_dict = InsertCommandSynthPairRequest.from_dict(insert_command_synth_pair_request_dict)