Download Brain/src/service/llm/base.py from posix4e/brain: direct link, hf CLI and curl.
- Browser
- Download file 163 Bytes
-
https://huggingface.co/spaces/posix4e/brain/resolve/main/Brain/src/service/llm/base.py
- Command line
-
hf download hf://spaces/posix4e/brain/Brain/src/service/llm/base.py
-
curl -L -o base.py https://huggingface.co/spaces/posix4e/brain/resolve/main/Brain/src/service/llm/base.py
163 Bytes
| from typing import TypedDict | |
| class Message(TypedDict): | |
| """OpenAI Message object containing a role and the message content""" | |
| role: str | |
| content: str | |