MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / generate

Method generate

paperflow/providers/llm.py:36–43  ·  view source on GitHub ↗
(
        self,
        prompt: str,
        *,
        system: Optional[str] = None,
        temperature: float = 0.0,
        max_tokens: int = 1024,
    )

Source from the content-addressed store, hash-verified

34 model: str
35
36 def generate(
37 self,
38 prompt: str,
39 *,
40 system: Optional[str] = None,
41 temperature: float = 0.0,
42 max_tokens: int = 1024,
43 ) -> LLMResponse: ...
44
45 def stream_generate(
46 self,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected