mirror of
https://github.com/zylon-ai/private-gpt.git
synced 2025-12-22 23:22:57 +01:00
Merge branch 'main' of https://github.com/QuickfoxConsulting/privateGPT into ollama
This commit is contained in:
commit
ba72507d1f
57 changed files with 1994 additions and 1459 deletions
|
|
@ -99,6 +99,13 @@ class CompletionsBody(BaseModel):
|
|||
summary="Completion",
|
||||
responses={200: {"model": OpenAICompletion}},
|
||||
tags=["Contextual Completions"],
|
||||
openapi_extra={
|
||||
"x-fern-streaming": {
|
||||
"stream-condition": "stream",
|
||||
"response": {"$ref": "#/components/schemas/OpenAICompletion"},
|
||||
"response-stream": {"$ref": "#/components/schemas/OpenAICompletion"},
|
||||
}
|
||||
},
|
||||
)
|
||||
async def prompt_completion(
|
||||
request: Request,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue