We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dcbf65 commit fa2a61eCopy full SHA for fa2a61e
llama_cpp/server/app.py
@@ -189,7 +189,9 @@ def create_completion(
189
class CreateEmbeddingRequest(BaseModel):
190
# ignored, but marked as required for the sake of compatibility with openai's api
191
model: str = model_field
192
- input: str
+ input: str = Field(
193
+ description="The input to embed."
194
+ )
195
196
class Config:
197
schema_extra = {
0 commit comments