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,7 +1,7 @@
import logging
import tempfile
from pathlib import Path
from typing import TYPE_CHECKING, Any, AnyStr
from typing import TYPE_CHECKING, Any, AnyStr, Literal
from injector import inject, singleton
from llama_index import (
@ -40,7 +40,7 @@ logger = logging.getLogger(__name__)
class IngestedDoc(BaseModel):
object: str = Field(enum=["ingest.document"])
object: Literal["ingest.document"]
doc_id: str = Field(examples=["c202d5e6-7b69-4869-81cc-dd574ee8ee11"])
doc_metadata: dict[str, Any] | None = Field(
examples=[