Back to the room

Pass 3 of 3 · Deep dive of PHAROSPass 1 · OverviewPass 2 · How it works

Code Observatory / method

encode_raw

codeintel.embeddings.SentenceTransformerEmbedder.encode_raw

PINNED SOURCE Source and edges from the index at this commit. An execution appears only where one was recorded.

PHAROS at 975a38dMIT license

Around this symbol

Search all symbols

Loading

Calls (1)
SymbolFileResolved by
_encodeembeddings.pysame file
Inside (1)
SymbolFileResolved by
SentenceTransformerEmbedderembeddings.pysame file
codeintel.embeddings.SentenceTransformerEmbedder.encode_rawbackend/app/codeintel/embeddings.py, lines 228–229Open source
    def encode_raw(self, texts: list[str]) -> list[list[float]]:        return self._encode(texts)

What the index recorded

Signature
def encode_raw(self, texts: list[str]) -> list[list[float]]:
File
backend/app/codeintel/embeddings.py
Lines
228–229
Parser
python-ast
Git blob
df7f8202f23ca6ad2c57aca5f09b435eb6486d79
Call sites
1 named, 1 resolved, 0 left unlinked

Read it on GitHub at this commit