reformatted with black
This commit is contained in:
parent
cd2944bac6
commit
a662c5a6cc
2 changed files with 2 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ from langflow.utils.util import build_template_from_class
|
||||||
|
|
||||||
# Assuming necessary imports for Field, Template, and FrontendNode classes
|
# Assuming necessary imports for Field, Template, and FrontendNode classes
|
||||||
|
|
||||||
|
|
||||||
class ChainCreator(LangChainTypeCreator):
|
class ChainCreator(LangChainTypeCreator):
|
||||||
type_name: str = "chains"
|
type_name: str = "chains"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@ from typing import Optional
|
||||||
from langflow.template.field.base import TemplateField
|
from langflow.template.field.base import TemplateField
|
||||||
from langflow.template.frontend_node.base import FrontendNode
|
from langflow.template.frontend_node.base import FrontendNode
|
||||||
|
|
||||||
|
|
||||||
class VectorStoreFrontendNode(FrontendNode):
|
class VectorStoreFrontendNode(FrontendNode):
|
||||||
def add_extra_fields(self) -> None:
|
def add_extra_fields(self) -> None:
|
||||||
if self.template.type_name == "Weaviate":
|
if self.template.type_name == "Weaviate":
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue