Spaces:
Runtime error
Runtime error
Download backend/api/serializers.py from samarthnaikk/finsight1: direct link, hf CLI and curl.
- Browser
- Download file 299 Bytes
-
https://huggingface.co/spaces/samarthnaikk/finsight1/resolve/main/backend/api/serializers.py
- Command line
-
hf download hf://spaces/samarthnaikk/finsight1/backend/api/serializers.py
-
curl -L -o serializers.py https://huggingface.co/spaces/samarthnaikk/finsight1/resolve/main/backend/api/serializers.py
299 Bytes
| from rest_framework import serializers | |
| class AIIngestSerializer(serializers.Serializer): | |
| confidential = serializers.DictField(required=True) | |
| non_confidential = serializers.DictField(required=True) | |
| class ChatMessageSerializer(serializers.Serializer): | |
| message = serializers.CharField() | |