Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.14 KB

File metadata and controls

32 lines (23 loc) · 1.14 KB

OllamaRequestOptions

Properties

Name Type Description Notes
num_predict int The maximum number of tokens to generate [optional] [default to 512]
temperature float [optional]
top_p float [optional]
stop Stop [optional]

Example

from cms_client.models.ollama_request_options import OllamaRequestOptions

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

# convert the object into a dict
ollama_request_options_dict = ollama_request_options_instance.to_dict()
# create an instance of OllamaRequestOptions from a dict
ollama_request_options_from_dict = OllamaRequestOptions.from_dict(ollama_request_options_dict)

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