Pass 3 of 3 · Deep dive of PHAROSPass 1 · OverviewPass 2 · How it works
Code Observatory / method
_query
codeintel.embeddings._PrefixMixin._query
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 |
|---|---|---|
| embed_query | embeddings.py | same file |
| embed_query | embeddings.py | same file |
| Symbol | File | Resolved by |
|---|---|---|
| _PrefixMixin | embeddings.py | same file |
codeintel.embeddings._PrefixMixin._querybackend/app/codeintel/embeddings.py, lines 160–161Open source
def _query(self, text: str) -> str: return f"search_query: {text}" if self.prefixes else textWhat the index recorded
- Signature
def _query(self, text: str) -> str:- File
backend/app/codeintel/embeddings.py- Lines
- 160–161
- Parser
- python-ast
- Git blob
df7f8202f23ca6ad2c57aca5f09b435eb6486d79
