Repository navigation
feat: add OpenAI LLM generator - #1
UdayKumar9381 wants to merge 42 commits into
Conversation
…-generator feat: add AnthropicGenerator for grounded RAG answers
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
style: add missing newline to pipeline exports
…line Feat/async rag pipeline
Signed-off-by: Aditya Datta <crazyme07071996@gmail.com>
…and-release-setup Chore/issue backlog and release setup
Release 0.2.0
…structions README: install from PyPI, live version badge
Signed-off-by: NesrineGharbi77 <161094617+NesrineGharbi77@users.noreply.github.com>
Use a dedicated pre-commit Python 3.10 environment with NumPy 2.2.6 so the mypy hook matches the project's type-check target. Document the requirement and include the getting-started EOF fix. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…er-tooling-precommit-dependabot chore: add pre-commit hooks and Dependabot
Bumps the github-actions group with 4 updates: [actions/checkout](https://github.com/actions/checkout), [actions/setup-python](https://github.com/actions/setup-python), [codecov/codecov-action](https://github.com/codecov/codecov-action) and [actions/github-script](https://github.com/actions/github-script). Updates `actions/checkout` from 4 to 7 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v4...v7) Updates `actions/setup-python` from 5 to 7 - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v5...v7) Updates `codecov/codecov-action` from 4 to 7 - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](codecov/codecov-action@v4...v7) Updates `actions/github-script` from 7 to 9 - [Release notes](https://github.com/actions/github-script/releases) - [Commits](actions/github-script@v7...v9) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/setup-python dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: codecov/codecov-action dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/github-script dependency-version: '9' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com>
…tage feat: add optional reranker stage
…tions/github-actions-9032fad1cb chore(deps): bump the github-actions group with 4 updates
…me-contributing docs: add pre-commit steps to README and PR checklist
Signed-off-by: Aditya Datta <crazyme07071996@gmail.com>
|
Hi @adaumsilva, I've completed the OpenAI LLM Generator implementation for Issue adaumsilva#8 and opened this draft PR. The implementation includes:
Validation:
The PR is currently conflict-free and ready for your review. Thanks! |
…line fix: honor RAG pipeline configuration
…-validation Thanks for the implementation and regression coverage. Batch validation now protects existing retriever state, dimension errors are descriptive, and the shared helper preserves FAISS behavior. I verified all 55 in-memory and FAISS retriever tests locally, along with lint and formatting checks for the changed Python files. CI is green. Approved—ready to merge.
…t-loaders Thanks for adding the CSV and JSONL loaders. The implementation meets issue adaumsilva#36’s requirements, with good coverage for selected fields, stable IDs, metadata, malformed records, and file errors. I verified all 52 loader tests locally, plus lint and formatting checks. CI is green. Approved—I’ll handle the CHANGELOG.md conflict before merging.
|
Hi @UdayKumar9381, thanks for picking this up! The implementation looks solid overall. A few things before I can review it properly: 1. The PR is opened against your fork, not this repo. 2. Please sync with upstream first. Your fork is about 40 commits behind, and the branch currently conflicts with When resolving: keep both exports in 3. The import guard needs to be lazy (this breaks CI). 4. Tests shouldn't need the real Smaller things:
Once that's up against this repo with CI green, I'll review it right away. Thanks again! |
d2dface to
c149246
Compare
Summary
OpenAIGeneratorusing the OpenAI Chat Completions APITesting
pytest tests/ -v— 93 passedruff check ragframework/generator/openai.py tests/test_generator/test_openai.py— passedmypy ragframework/— passedpython -m py_compile examples/openai_rag.py— passedCloses adaumsilva#8