Update poetry lock (#1209)

* Update the version of llama_index used to fix transient openai errors

* Update poetry.lock file

* Make `local` mode the default mode by default
This commit is contained in:
lopagela 2023-11-11 22:44:19 +01:00 committed by GitHub
parent a22969ad1f
commit a579c9bdc5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 313 additions and 268 deletions

View file

@ -1,3 +1,5 @@
from typing import Literal
from fastapi import APIRouter
from pydantic import BaseModel, Field
@ -16,8 +18,8 @@ class ChunksBody(BaseModel):
class ChunksResponse(BaseModel):
object: str = Field(enum=["list"])
model: str = Field(enum=["private-gpt"])
object: Literal["list"]
model: Literal["private-gpt"]
data: list[Chunk]