[codex] Add RAG API, roadmap, and evaluation harness#10
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4bbccc5354
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| target = _index_path(request.index_path) | ||
| index = index_documents( | ||
| request.paths, | ||
| index_path=target, |
There was a problem hiding this comment.
When the FastAPI service is reachable by an untrusted client, this endpoint accepts both server-side document paths and the output index_path directly from the request; a caller can index readable .md/.txt/.docx/.pdf files from anywhere the process can access and can also point index_path at any writable file, which safe_write_text will replace with the JSON index. Keep these paths under a controlled directory or reject absolute/parent paths before passing them into index_documents.
Useful? React with 👍 / 👎.
What changed
Why
The project needed documentation-to-code consistency plus a concrete path from a working RAG MVP toward measurable retrieval quality before adding larger frontend or vector-store changes.
Validation