mirror of
https://github.com/StanGirard/quivr.git
synced 2024-11-23 21:22:35 +03:00
17 lines
287 B
Python
17 lines
287 B
Python
from enum import Enum
|
|
from uuid import UUID
|
|
|
|
from pydantic import BaseModel
|
|
|
|
|
|
class PromptStatusEnum(str, Enum):
|
|
private = "private"
|
|
public = "public"
|
|
|
|
|
|
class Prompt(BaseModel):
|
|
title: str
|
|
content: str
|
|
status: PromptStatusEnum = PromptStatusEnum.private
|
|
id: UUID
|