DRF Serializers
LLMHost serializers.
- class smarter.apps.llmhost.serializers.LLMHostComputeSerializer(*args, **kwargs)[source]
Bases:
MetaDataWithOwnershipModelSerializerSerializer for the smarter.apps.llmhost.models.LLMHostCompute model.
- get_fields()[source]
Return the dict of field names -> field instances that should be used for self.fields when instantiating the serializer.
- class smarter.apps.llmhost.serializers.LLMHostSerializer(*args, **kwargs)[source]
Bases:
MetaDataWithOwnershipModelSerializerSerializer for the smarter.apps.llmhost.models.LLMHost model.