MCPcopy Create free account
hub / github.com/ScrapeGraphAI/Scrapegraph-ai / __init__

Method __init__

scrapegraphai/graphs/speech_graph.py:49–58  ·  view source on GitHub ↗
(
        self,
        prompt: str,
        source: str,
        config: dict,
        schema: Optional[Type[BaseModel]] = None,
    )

Source from the content-addressed store, hash-verified

47 """
48
49 def __init__(
50 self,
51 prompt: str,
52 source: str,
53 config: dict,
54 schema: Optional[Type[BaseModel]] = None,
55 ):
56 super().__init__(prompt, config, source, schema)
57
58 self.input_key = "url" if source.startswith("http") else "local_dir"
59
60 def _create_graph(self) -> BaseGraph:
61 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected