* feat: add structured output to /reflect * feat: add structured output to /reflect * imrpove * add max_toksn * fix rust client * fix rust client * fix rust client * try fix * try fix * no stricts
1.3 KiB
1.3 KiB
ReflectRequest
Request model for reflect endpoint.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| query | str | ||
| budget | Budget | [optional] | |
| context | str | [optional] | |
| max_tokens | int | Maximum tokens for the response | [optional] [default to 4096] |
| include | ReflectIncludeOptions | Options for including additional data (disabled by default) | [optional] |
| response_schema | Dict[str, object] | [optional] |
Example
from hindsight_client_api.models.reflect_request import ReflectRequest
# TODO update the JSON string below
json = "{}"
# create an instance of ReflectRequest from a JSON string
reflect_request_instance = ReflectRequest.from_json(json)
# print the JSON string representation of the object
print(ReflectRequest.to_json())
# convert the object into a dict
reflect_request_dict = reflect_request_instance.to_dict()
# create an instance of ReflectRequest from a dict
reflect_request_from_dict = ReflectRequest.from_dict(reflect_request_dict)