muryshev's picture
update
4550b93
raw
history blame
497 Bytes
from sqlalchemy import (
Boolean,
String
)
from sqlalchemy.orm import Mapped, mapped_column
from components.dbo.models.base import Base
class LlmPrompt(Base):
"""
Настройки промптов для ллм.
"""
__tablename__ = "llm_prompt"
is_default: Mapped[bool] = mapped_column(Boolean, default=False)
name: Mapped[String] = mapped_column(String)
text: Mapped[String] = mapped_column(String)
type: Mapped[String] = mapped_column(String)