Testing Pipelines

This commit is contained in:
Josh Knapp 2025-02-04 12:34:08 -08:00
parent bc0191b5af
commit d1d976645f

View File

@ -8,11 +8,6 @@ from blueprints.function_calling_blueprint import Pipeline as FunctionCallingBlu
class Pipeline(FunctionCallingBlueprint):
class Valves(FunctionCallingBlueprint.Valves):
# Add your custom parameters here
OPENWEATHERMAP_API_KEY: str = ""
pass
class Tools:
def __init__(self, pipeline) -> None:
self.pipeline = pipeline
@ -83,7 +78,7 @@ class Pipeline(FunctionCallingBlueprint):
return "Invalid equation"
def __init__(self):
super().__init__()
pass
# 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.
# The identifier must be unique across all pipelines.