MCPcopy Create free account
hub / github.com/Forethought-Technologies/AutoChain / generate

Method generate

test_utils/pinecone_mocks.py:36–42  ·  view source on GitHub ↗
(
        self,
        messages: List[BaseMessage],
        functions: Optional[List[Tool]] = None,
        stop: Optional[List[str]] = None,
    )

Source from the content-addressed store, hash-verified

34
35class DummyEncoder(BaseLanguageModel):
36 def generate(
37 self,
38 messages: List[BaseMessage],
39 functions: Optional[List[Tool]] = None,
40 stop: Optional[List[str]] = None,
41 ) -> LLMResult:
42 pass
43
44 def encode(self, texts: List[str]) -> EmbeddingResult:
45 return EmbeddingResult(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected