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

Method encode

test_utils/pinecone_mocks.py:44–50  ·  view source on GitHub ↗
(self, texts: List[str])

Source from the content-addressed store, hash-verified

42 pass
43
44 def encode(self, texts: List[str]) -> EmbeddingResult:
45 return EmbeddingResult(
46 texts=texts,
47 embeddings=[
48 [-0.025949304923415184, -0.012664584442973137, 0.017791053280234337]
49 ],
50 )
51
52
53@pytest.fixture

Callers

nothing calls this directly

Calls 1

EmbeddingResultClass · 0.90

Tested by

no test coverage detected