-
Notifications
You must be signed in to change notification settings - Fork 3
Fix/naming and docs #47
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
Conversation
* chore: add codeowners file * chore: add python poetry action and docs workflow * chore: update pre-commit file * chore: update docs * chore: update logo * chore: add cicd pipeline for automated deployment * chore: update poetry version * chore: fix action versioning * chore: add gitattributes to ignore line count in jupyter notebooks * chore: add and update docstrings * chore: fix end of files * chore: update action versions * Update README.md --------- Co-authored-by: mo374z <schlager.mo@t-online.de>
* chore: fix workflow execution * chore: fix version check in CICD pipeline
* update gitignore * initial implementation of opro * formatting of prompt template * added opro test run * opro refinements * fixed sampling error * add docs to opro * fix pre commit issues# * fix pre commit issues# * fixed end of line
* fixed pre commit config and removed end of file line breaks in tempaltes * added /
* added prompt_creation.py * change version
* Remove deepinfra file * change langchain-community version
* renamed get_tasks to get_task and change functionality accordingly. moved templates and data_sets * init * move templates to templates.py * Add nested asyncio to make it useable in notebooks * Update README.md * changed getting_started.ipynb and created helper functions * added sampling of initial population * fixed config * fixed callbacks * adjust runs * fix run evaluation api token * fix naming convention in opro, remove on epoch end for logger callback, fixed to allow for numeric values in class names * Update promptolution/llms/api_llm.py Co-authored-by: Timo Heiß <87521684+timo282@users.noreply.github.com> * fixed comments * Update pyproject.toml * resolve comments --------- Co-authored-by: mo374z <schlager.mo@t-online.de> Co-authored-by: Timo Heiß <87521684+timo282@users.noreply.github.com> Co-authored-by: Moritz Schlager <87517800+mo374z@users.noreply.github.com>
* implemented random selector * added random search selector * increased version count * fix typos * Update promptolution/predictors/base_predictor.py Co-authored-by: Timo Heiß <87521684+timo282@users.noreply.github.com> * Update promptolution/tasks/classification_tasks.py Co-authored-by: Timo Heiß <87521684+timo282@users.noreply.github.com> * resolve comments * resolve comments --------- Co-authored-by: Timo Heiß <87521684+timo282@users.noreply.github.com>
* Update release-notes.md * Fix release note links
This reverts commit e23dd74.
* Delete Experiment files * Removed config necessities * improved opro meta-prompts * added read from data frame feature * changed required python version to 3.9
* delete poetry.lock and upgrade transformers dependency * Update release-notes.md
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 updates naming conventions and documentation details to improve consistency and clarity across the codebase. Key changes include renaming parameters in the API module (e.g. changing "llm" to "model_id" and "token" to "api_key"), moving and updating ExperimentConfig references, and adjusting documentation and notebook examples to reflect these updates.
Reviewed Changes
Copilot reviewed 66 out of 66 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| promptolution/llms/api_llm.py | Renamed parameters and updated logger usage with get_logger |
| promptolution/llms/init.py | Updated imports, removing unused factory functions |
| promptolution/helpers.py | Refactored type annotations and adjusted evaluation strategy checks |
| promptolution/exemplar_selectors/*.py | Updated type hints for clarity |
| notebooks/getting_started.ipynb | Updated API key parameter names and revised import paths |
| docs/** | Adjusted release notes and API documentation to reflect new config paths |
| README.md | Updated project description and optimizer table format |
| .pre-commit-config.yaml | Modified exclusion regex pattern |
Comments suppressed due to low confidence (2)
promptolution/llms/api_llm.py:68
- Renaming the parameter from 'llm' to 'model_id' improves clarity; please ensure that all calls to this parameter across the codebase are updated accordingly.
model_id: str = None,
.pre-commit-config.yaml:2
- Please verify that the updated exclusion regex pattern effectively excludes the intended files for pre-commit hooks.
-exclude: '^(?!(promptolution/|tests/)).*$|^promptolution/templates.py'
…romptolution into fix/naming_and_docs
…romptolution into fix/naming_and_docs
Co-authored-by: Timo Heiß <87521684+timo282@users.noreply.github.com>
Co-authored-by: Timo Heiß <87521684+timo282@users.noreply.github.com>
Co-authored-by: Timo Heiß <87521684+timo282@users.noreply.github.com>
Co-authored-by: Timo Heiß <87521684+timo282@users.noreply.github.com>
Co-authored-by: Timo Heiß <87521684+timo282@users.noreply.github.com>
Co-authored-by: Timo Heiß <87521684+timo282@users.noreply.github.com>
…romptolution into fix/naming_and_docs
No description provided.