Pass 3 of 3 · Deep dive of PHAROSPass 1 · OverviewPass 2 · How it works
Code Observatory / method
encode_raw
codeintel.embeddings.Embedder.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 symbolsLoading
| Symbol | File | Resolved by |
|---|---|---|
| Embedder | embeddings.py | same file |
codeintel.embeddings.Embedder.encode_rawbackend/app/codeintel/embeddings.py, lines 87–93Open source
def encode_raw(self, texts: list[str]) -> list[list[float]]: """Embed texts exactly as given (no task prefixes). Used by the edge embed server: :class:`HttpEmbedder` clients add the prefixes themselves, so the server must not add them again. """ return self.embed_documents(texts)What the index recorded
- Signature
def encode_raw(self, texts: list[str]) -> list[list[float]]:- File
backend/app/codeintel/embeddings.py- Lines
- 87–93
- Parser
- python-ast
- Git blob
df7f8202f23ca6ad2c57aca5f09b435eb6486d79- Call sites
- 1 named, 0 resolved, 1 left unlinked
