mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
898 B
898 B
Settings
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| goose_model | str | [optional] | |
| goose_provider | str | [optional] | |
| temperature | float | [optional] |
Example
from goose_api.models.settings import Settings
# TODO update the JSON string below
json = "{}"
# create an instance of Settings from a JSON string
settings_instance = Settings.from_json(json)
# print the JSON string representation of the object
print(Settings.to_json())
# convert the object into a dict
settings_dict = settings_instance.to_dict()
# create an instance of Settings from a dict
settings_from_dict = Settings.from_dict(settings_dict)