community[patch]: Remove usage of deprecated pydantic config option (#26107)

Remove usage of deprecated pydantic config option
This commit is contained in:
Eugene Yurtsev
2024-09-05 15:05:00 -04:00
committed by GitHub
parent 9e7222618b
commit a111098230
6 changed files with 0 additions and 8 deletions

View File

@@ -53,7 +53,6 @@ class Arcee(LLM):
model_config = ConfigDict(
extra="forbid",
underscore_attrs_are_private=True,
)
@property

View File

@@ -400,7 +400,6 @@ class Databricks(LLM):
model_config = ConfigDict(
extra="forbid",
underscore_attrs_are_private=True,
)
@property

View File

@@ -51,7 +51,6 @@ class ArceeRetriever(BaseRetriever):
model_config = ConfigDict(
extra="forbid",
underscore_attrs_are_private=True,
)
def __init__(self, **data: Any) -> None:

View File

@@ -249,7 +249,6 @@ class GoogleVertexAISearchRetriever(BaseRetriever, _BaseGoogleVertexAISearchRetr
model_config = ConfigDict(
arbitrary_types_allowed=True,
extra="ignore",
underscore_attrs_are_private=True,
)
def __init__(self, **kwargs: Any) -> None:
@@ -415,7 +414,6 @@ class GoogleVertexAIMultiTurnSearchRetriever(
model_config = ConfigDict(
arbitrary_types_allowed=True,
extra="ignore",
underscore_attrs_are_private=True,
)
def __init__(self, **kwargs: Any):

View File

@@ -23,7 +23,6 @@ class NeuralDBRetriever(BaseRetriever):
model_config = ConfigDict(
extra="forbid",
underscore_attrs_are_private=True,
)
@staticmethod

View File

@@ -33,7 +33,6 @@ class NeuralDBVectorStore(VectorStore):
model_config = ConfigDict(
extra="forbid",
underscore_attrs_are_private=True,
)
@staticmethod
@@ -334,7 +333,6 @@ class NeuralDBClientVectorStore(VectorStore):
model_config = ConfigDict(
extra="forbid",
underscore_attrs_are_private=True,
)
def similarity_search(