mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-23 19:39:58 +00:00
Lint
This commit is contained in:
@@ -17,6 +17,9 @@ class BaseVectorStoreTool(BaseModel):
|
|||||||
vectorstore: VectorStore = Field(exclude=True)
|
vectorstore: VectorStore = Field(exclude=True)
|
||||||
llm: BaseLanguageModel = Field(default_factory=lambda: OpenAI(temperature=0))
|
llm: BaseLanguageModel = Field(default_factory=lambda: OpenAI(temperature=0))
|
||||||
|
|
||||||
|
class Config(BaseTool.Config):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
def _create_description_from_template(values: Dict[str, Any]) -> Dict[str, Any]:
|
def _create_description_from_template(values: Dict[str, Any]) -> Dict[str, Any]:
|
||||||
values["description"] = values["template"].format(name=values["name"])
|
values["description"] = values["template"].format(name=values["name"])
|
||||||
|
Reference in New Issue
Block a user