Files
letta-server/letta/orm/prompt.py
Kian Jones b8e9a80d93 merge this (#4759)
* wait I forgot to comit locally

* cp the entire core directory and then rm the .git subdir
2025-09-17 15:47:40 -07:00

14 lines
489 B
Python

from sqlalchemy.orm import Mapped, mapped_column
from letta.orm.mixins import ProjectMixin
from letta.orm.sqlalchemy_base import SqlalchemyBase
from letta.schemas.prompt import Prompt as PydanticPrompt
class Prompt(SqlalchemyBase, ProjectMixin):
__pydantic_model__ = PydanticPrompt
__tablename__ = "prompts"
id: Mapped[str] = mapped_column(primary_key=True, doc="Unique passage identifier")
prompt: Mapped[str] = mapped_column(doc="The string contents of the prompt.")