Testing Pipelines
This commit is contained in:
parent
bc0191b5af
commit
d1d976645f
@ -8,11 +8,6 @@ from blueprints.function_calling_blueprint import Pipeline as FunctionCallingBlu
|
|||||||
|
|
||||||
|
|
||||||
class Pipeline(FunctionCallingBlueprint):
|
class Pipeline(FunctionCallingBlueprint):
|
||||||
class Valves(FunctionCallingBlueprint.Valves):
|
|
||||||
# Add your custom parameters here
|
|
||||||
OPENWEATHERMAP_API_KEY: str = ""
|
|
||||||
pass
|
|
||||||
|
|
||||||
class Tools:
|
class Tools:
|
||||||
def __init__(self, pipeline) -> None:
|
def __init__(self, pipeline) -> None:
|
||||||
self.pipeline = pipeline
|
self.pipeline = pipeline
|
||||||
@ -83,7 +78,7 @@ class Pipeline(FunctionCallingBlueprint):
|
|||||||
return "Invalid equation"
|
return "Invalid equation"
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__()
|
pass
|
||||||
# Optionally, you can set the id and name of the pipeline.
|
# Optionally, you can set the id and name of the pipeline.
|
||||||
# Best practice is to not specify the id so that it can be automatically inferred from the filename, so that users can install multiple versions of the same pipeline.
|
# Best practice is to not specify the id so that it can be automatically inferred from the filename, so that users can install multiple versions of the same pipeline.
|
||||||
# The identifier must be unique across all pipelines.
|
# The identifier must be unique across all pipelines.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user