-
Notifications
You must be signed in to change notification settings - Fork 104
Refactor codebase to package utility modules for distribution #57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
@fcogidi great initiative! Was super happy to see this PR. Will review it shortly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR refactors the codebase by extracting utility modules into a separate installable package (aieng-agents-utils), improving code organization and reusability across the Vector Institute Agent Bootcamp implementations.
Changes:
- Created a new Python package structure with proper build configuration, console scripts, and comprehensive documentation
- Migrated all utility modules (tools, data processing, async utilities, Langfuse integration, etc.) to the new package namespace
- Updated all import statements across reference implementations to use the new package structure
Reviewed changes
Copilot reviewed 63 out of 77 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| pyproject.toml | Updated project metadata and dependencies to use the new workspace package |
| aieng-agents-utils/pyproject.toml | Added package configuration with build system, dependencies, and console scripts |
| aieng-agents-utils/README.md | Created comprehensive documentation for the new utility package |
| aieng-agents-utils/aieng/agents/init.py | Created main package entry point with public API exports |
| aieng-agents-utils/aieng/agents/tools/init.py | Organized tool exports with proper all definitions |
| aieng-agents-utils/aieng/agents/prompts.py | Consolidated system prompts into centralized module |
| src//app.py, src//cli.py | Updated imports to reference new package namespace |
| tests/tool_tests/test_integration.py | Updated test imports to use new package structure |
| aieng-agents-utils/tests/README.md | Added test documentation with updated command paths |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Summary
This PR converts utility modules/scripts into a package (
aieng-agents-utils).Type of Change
Changes Made
New Utility Package (
aieng-agents-utils)CLI Tools
pdf_to_hf_dataset: Console script for converting PDFs to chunked HuggingFace datasetschunk_hf_dataset: Console script for re-chunking existing HuggingFace datasetsAPI Key Management
--owners-fileDocumentation
Package Configuration
pyproject.tomlwith build system (hatchling)Testing
uv run pytest tests/)uv run ruff check src_dir/)Manual testing details:
Checklist