The error that ended the stream: its message, type, code and the offending parameter.
| Name | Type | Description | Notes |
|---|---|---|---|
| message | str | ||
| type | str | ||
| code | str | ||
| param | str |
from docspace_api_sdk.models.ai_open_ai_stream_error_error import AiOpenAIStreamErrorError
# TODO update the JSON string below
json = "{}"
# create an instance of AiOpenAIStreamErrorError from a JSON string
ai_open_ai_stream_error_error_instance = AiOpenAIStreamErrorError.from_json(json)
# print the JSON string representation of the object
print(AiOpenAIStreamErrorError.to_json())
# convert the object into a dict
ai_open_ai_stream_error_error_dict = ai_open_ai_stream_error_error_instance.to_dict()
# create an instance of AiOpenAIStreamErrorError from a dict
ai_open_ai_stream_error_error_from_dict = AiOpenAIStreamErrorError.from_dict(ai_open_ai_stream_error_error_dict)