Pass 3 of 3 · Deep dive of PHAROSPass 1 · OverviewPass 2 · How it works
Code Observatory / function
memory_search
modules.code.router.memory_search
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 |
|---|---|---|
| get_embedder | embeddings.py | through an import |
| _repo_ids | router.py | same file |
| Symbol | File | Resolved by |
|---|---|---|
| router | router.py | same file |
modules.code.router.memory_searchbackend/app/modules/code/router.py, lines 375–379Open source
@router.post("/memory/search")def memory_search(body: MemorySearchRequest, db: Session = Depends(get_sync_db)): ids = _repo_ids(db, body.repository) if body.repository else None return {"query": body.query, "results": recall.search_memory(db, get_embedder(), body.query, ids, k=body.k, kinds=body.kinds)}What the index recorded
- Signature
def memory_search(body: MemorySearchRequest, db: Session):- File
backend/app/modules/code/router.py- Lines
- 375–379
- Parser
- python-ast
- Git blob
d914024790aaafe7234adda557677b76e4ad73d5- Call sites
- 4 named, 3 resolved, 1 left unlinked
- Outside this subset
- 1 more edges reach code outside the graph shown here
