Spaces:
Sleeping
Sleeping
File size: 497 Bytes
57cf043 4550b93 57cf043 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
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)
|