refac: add suffix field to ollama generate form

This commit is contained in:
Timothy Jaeryang Baek 2024-11-21 08:12:19 -08:00
parent 1c0327ed7f
commit d587206929

View File

@ -837,6 +837,7 @@ async def generate_ollama_batch_embeddings(
class GenerateCompletionForm(BaseModel):
model: str
prompt: str
suffix: Optional[str] = None
images: Optional[list[str]] = None
format: Optional[str] = None
options: Optional[dict] = None