Spaces:
Build error
Build error
File size: 497 Bytes
d660b02 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
from llm_engineering.domain.base import VectorBaseDocument
from llm_engineering.domain.cleaned_documents import CleanedDocument
from llm_engineering.domain.types import DataCategory
class Prompt(VectorBaseDocument):
template: str
input_variables: dict
content: str
num_tokens: int | None = None
class Config:
category = DataCategory.PROMPT
class GenerateDatasetSamplesPrompt(Prompt):
data_category: DataCategory
document: CleanedDocument
|