Skip to content

Conversation

@finitearth
Copy link
Owner

No description provided.

timo282 and others added 30 commits October 3, 2024 23:02
* 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
* 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
@github-actions
Copy link

github-actions bot commented May 19, 2025

Coverage

Tests Skipped Failures Errors Time
63 0 💤 0 ❌ 0 🔥 1.000s ⏱️

@finitearth finitearth requested review from Copilot and mo374z May 19, 2025 12:13
Copy link
Contributor

Copilot AI left a 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'

finitearth and others added 9 commits May 19, 2025 15:48
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>
@mo374z mo374z merged commit 3cf3d13 into main May 19, 2025
2 checks passed
@mo374z mo374z deleted the fix/naming_and_docs branch May 19, 2025 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants