Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.31 KB

File metadata and controls

36 lines (27 loc) · 1.31 KB

OllamaGenerateRequest

Properties

Name Type Description Notes
model str The model name
prompt str The prompt text
stream bool [optional]
system str [optional]
suffix str [optional]
format Dict[str, object] [optional]
keep_alive KeepAlive [optional]
options OllamaRequestOptions [optional]

Example

from cms_client.models.ollama_generate_request import OllamaGenerateRequest

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

# convert the object into a dict
ollama_generate_request_dict = ollama_generate_request_instance.to_dict()
# create an instance of OllamaGenerateRequest from a dict
ollama_generate_request_from_dict = OllamaGenerateRequest.from_dict(ollama_generate_request_dict)

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