feat: add tenant-scoped rule and permission management
This commit is contained in:
@@ -13,6 +13,7 @@ class LeauditRagChatApp(BaseModel):
|
||||
name: Mapped[str] = mapped_column(String(255))
|
||||
description: Mapped[str] = mapped_column(Text, default="")
|
||||
area: Mapped[str] = mapped_column(String(50), default="")
|
||||
tenantCode: Mapped[str | None] = mapped_column("tenant_code", String(64))
|
||||
datasetId: Mapped[int | None] = mapped_column("dataset_id", BigInteger)
|
||||
systemPrompt: Mapped[str] = mapped_column("system_prompt", Text, default="")
|
||||
llmModel: Mapped[str] = mapped_column("llm_model", String(100), default="")
|
||||
|
||||
Reference in New Issue
Block a user