You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENTS.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,11 @@
1
1
# AGENTS
2
2
3
3
## Architecture
4
-
-`mcp_plex/loader.py` ingests Plex, TMDb, and IMDb metadata, builds dense and sparse embeddings, and stores items in a Qdrant collection.
4
+
-`mcp_plex/loader.py` ingests Plex, TMDb, and IMDb metadata, relies on Qdrant to generate dense and sparse embeddings, and stores items in a Qdrant collection.
5
5
-`mcp_plex/server.py` exposes retrieval and search tools via FastMCP backed by Qdrant.
6
6
-`mcp_plex/types.py` defines the Pydantic models used across the project.
7
7
- When making architectural design decisions, add a short note here describing the decision and its rationale.
8
+
- Embedding generation was moved from local FastEmbed models to Qdrant's document API to reduce local dependencies and centralize vector creation.
8
9
- Actor names are stored as a top-level payload field and indexed in Qdrant to enable actor and year-based filtering.
9
10
- Dense and sparse embedding model names are configurable via `DENSE_MODEL` and
10
11
`SPARSE_MODEL` environment variables or the corresponding CLI options.
@@ -38,6 +39,7 @@ The project should handle natural-language searches and recommendations such as:
38
39
- Use realistic (or as realistic as possible) data in tests; avoid meaningless placeholder values.
39
40
- Always test both positive and negative logical paths.
40
41
- Do **not** use `# pragma: no cover`; add tests to exercise code paths instead.
42
+
- All changes should include tests that demonstrate the new or modified behavior.
0 commit comments