Remove unused import and tweak a comment
This commit is contained in:
@@ -10,7 +10,6 @@ import os
|
|||||||
from dotenv import load_dotenv
|
from dotenv import load_dotenv
|
||||||
from loguru import logger
|
from loguru import logger
|
||||||
|
|
||||||
from pipecat.adapters.schemas.function_schema import FunctionSchema
|
|
||||||
from pipecat.adapters.schemas.tools_schema import ToolsSchema
|
from pipecat.adapters.schemas.tools_schema import ToolsSchema
|
||||||
from pipecat.audio.vad.silero import SileroVADAnalyzer
|
from pipecat.audio.vad.silero import SileroVADAnalyzer
|
||||||
from pipecat.frames.frames import TTSSpeakFrame
|
from pipecat.frames.frames import TTSSpeakFrame
|
||||||
|
|||||||
@@ -217,6 +217,7 @@ class DirectFunctionWrapper(BaseDirectFunctionWrapper):
|
|||||||
Wrapper around a DirectFunction that:
|
Wrapper around a DirectFunction that:
|
||||||
- extracts metadata from the function signature and docstring
|
- extracts metadata from the function signature and docstring
|
||||||
- generates a corresponding FunctionSchema
|
- generates a corresponding FunctionSchema
|
||||||
|
- helps with function invocation
|
||||||
"""
|
"""
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|||||||
Reference in New Issue
Block a user