_documents
DocumentFormat
HordeDocument
Bases: HordeResponseBaseModel
Source code in horde_sdk/ai_horde_api/apimodels/_documents.py
html
class-attribute
instance-attribute
The HTML content of the document, if requested.
markdown
class-attribute
instance-attribute
The markdown content of the document, if requested.
AIHordeDocumentRequestMixin
Bases: HordeAPIObjectBaseModel
Source code in horde_sdk/ai_horde_api/apimodels/_documents.py
format
class-attribute
instance-attribute
The format of the document to return. Default is markdown.
validate_format
Source code in horde_sdk/ai_horde_api/apimodels/_documents.py
AIHordeGetPrivacyPolicyRequest
Bases: BaseAIHordeRequest, AIHordeDocumentRequestMixin
Source code in horde_sdk/ai_horde_api/apimodels/_documents.py
get_api_model_name
classmethod
get_http_method
classmethod
get_api_endpoint_subpath
classmethod
AIHordeGetSponsorsRequest
Bases: BaseAIHordeRequest, AIHordeDocumentRequestMixin
Source code in horde_sdk/ai_horde_api/apimodels/_documents.py
get_api_model_name
classmethod
get_http_method
classmethod
get_api_endpoint_subpath
classmethod
AIHordeGetTermsRequest
Bases: BaseAIHordeRequest, AIHordeDocumentRequestMixin