Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.23 KB

File metadata and controls

34 lines (25 loc) · 1.23 KB

OllamaChatRequest

Properties

Name Type Description Notes
model str The model name
messages List[OllamaMessage] The conversation messages
stream bool [optional]
format Dict[str, object] [optional]
keep_alive KeepAlive [optional]
options OllamaRequestOptions [optional]

Example

from cms_client.models.ollama_chat_request import OllamaChatRequest

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

# convert the object into a dict
ollama_chat_request_dict = ollama_chat_request_instance.to_dict()
# create an instance of OllamaChatRequest from a dict
ollama_chat_request_from_dict = OllamaChatRequest.from_dict(ollama_chat_request_dict)

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