Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.01 KB

File metadata and controls

33 lines (24 loc) · 1.01 KB

Model

A language model.

Properties

Name Type Description Notes
id int The unique id. [optional] [readonly]
name str The language model name.
system_prompt str The system prompt for the model - chat models only. [optional]
token_margin int The upper token margin for completions. [optional]

Example

from wordlift_client.models.model import Model

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

# convert the object into a dict
model_dict = model_instance.to_dict()
# create an instance of Model from a dict
model_from_dict = Model.from_dict(model_dict)

[Back to Model list] [Back to API list] [Back to README]