mirror of
https://github.com/open-webui/pipelines
synced 2025-05-15 18:05:50 +00:00
refac
This commit is contained in:
parent
68f15be92b
commit
fb7ffc9dc3
@ -3,7 +3,7 @@ from blueprints.function_calling_blueprint import Pipeline as FunctionCallingBlu
|
|||||||
|
|
||||||
class Pipeline(FunctionCallingBlueprint):
|
class Pipeline(FunctionCallingBlueprint):
|
||||||
class Valves(FunctionCallingBlueprint.Valves):
|
class Valves(FunctionCallingBlueprint.Valves):
|
||||||
# Add your custom parameters here
|
# Add your custom valves here
|
||||||
pass
|
pass
|
||||||
|
|
||||||
class Tools:
|
class Tools:
|
||||||
@ -11,6 +11,7 @@ class Pipeline(FunctionCallingBlueprint):
|
|||||||
self.pipeline = pipeline
|
self.pipeline = pipeline
|
||||||
|
|
||||||
# Add your custom tools using pure Python code here, make sure to add type hints
|
# Add your custom tools using pure Python code here, make sure to add type hints
|
||||||
|
# Use Sphinx-style docstrings to document your tools, they will be used for generating tools specifications
|
||||||
# Please refer to function_calling_filter_pipeline.py for an example
|
# Please refer to function_calling_filter_pipeline.py for an example
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user