Download apps/core/dto/conversation.py from jun2024/fc: direct link, hf CLI and curl.
- Browser
- Download file 325 Bytes
-
https://huggingface.co/spaces/jun2024/fc/resolve/main/apps/core/dto/conversation.py
- Command line
-
hf download hf://spaces/jun2024/fc/apps/core/dto/conversation.py
-
curl -L -o conversation.py https://huggingface.co/spaces/jun2024/fc/resolve/main/apps/core/dto/conversation.py
325 Bytes
| """Module for conversation.""" | |
| from dataclasses import dataclass | |
| from typing import Any | |
| class ConversationHistoryDTO: | |
| id: int | |
| session_id: str | |
| user_id: str | |
| role: str | |
| content: str | |
| metadata: dict[str, Any] | |
| created_at: Any | |
| litigation_session_id: int | None = None | |
| step: str = "" | |