-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into feature_add_modelclie…
…nt_notebook
- Loading branch information
Showing
72 changed files
with
11,879 additions
and
10,171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Suggest use cases and benchmarks | ||
description: Propose new use cases that AdalFlow should support or benchmarks that we should compare against | ||
labels: ["new use cases/benchmarks"] | ||
body: | ||
- type: textarea | ||
attributes: | ||
label: Description & Motivation | ||
description: A clear and concise description of the new use case or benchmark proposal | ||
placeholder: | | ||
Please outline the motivation for the proposal. | ||
- type: textarea | ||
attributes: | ||
label: Pitch | ||
description: A clear and concise description of what you want to happen. | ||
validations: | ||
required: false | ||
|
||
- type: textarea | ||
attributes: | ||
label: Alternatives | ||
description: A clear and concise description of any alternative solutions or features you've considered, if any. | ||
validations: | ||
required: false | ||
|
||
- type: textarea | ||
attributes: | ||
label: Additional context | ||
description: Add any other context or screenshots about the feature request here. | ||
validations: | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
## What does this PR do? | ||
|
||
<!-- | ||
Please include a summary of the change and which issue is fixed. | ||
Please also include relevant motivation and context. | ||
List any dependencies that are required for this change. | ||
If we didn't discuss your PR in Github issues there's a high chance it will not be merged. | ||
The following links the related issue to the PR (https://docs.github.com/en/free-pro-team@latest/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword) | ||
--> | ||
|
||
Fixes #\<issue_number> | ||
|
||
<!-- Does your PR introduce any breaking changes? If yes, please list them. --> | ||
|
||
<details> | ||
<summary><b>Before submitting</b></summary> | ||
|
||
- Was this **discussed/agreed** via a GitHub issue? (not for typos and docs) | ||
- [ ] Did you read the [contributor guideline](https://adalflow.sylph.ai/contributor/index.html)? | ||
- [ ] Did you make sure your **PR does only one thing**, instead of bundling different changes together? | ||
- Did you make sure to **update the documentation** with your changes? (if necessary) | ||
- Did you write any **new necessary tests**? (not for typos and docs) | ||
- [ ] Did you verify new and **existing tests pass** locally with your changes? | ||
- Did you list all the **breaking changes** introduced by this pull request? | ||
|
||
|
||
</details> | ||
|
||
|
||
<!-- | ||
Did you have fun? | ||
Make sure you had fun coding 🙃 | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Define variables for common directories and commands | ||
PYTHON = poetry run | ||
SRC_DIR = . | ||
|
||
# Default target: Show help | ||
.PHONY: help | ||
help: | ||
@echo "Available targets:" | ||
@echo " setup Install dependencies and set up pre-commit hooks" | ||
@echo " format Run Black and Ruff to format the code" | ||
@echo " lint Run Ruff to check code quality" | ||
@echo " test Run tests with pytest" | ||
@echo " precommit Run pre-commit hooks on all files" | ||
@echo " clean Clean up temporary files and build artifacts" | ||
|
||
# Install dependencies and set up pre-commit hooks | ||
.PHONY: setup | ||
setup: | ||
poetry install | ||
poetry run pre-commit install | ||
|
||
# Format code using Black and Ruff | ||
.PHONY: format | ||
format: | ||
$(PYTHON) black $(SRC_DIR) | ||
git ls-files | xargs pre-commit run black --files | ||
|
||
# Run lint checks using Ruff | ||
.PHONY: lint | ||
lint: | ||
$(PYTHON) ruff check $(SRC_DIR) | ||
|
||
# Run all pre-commit hooks on all files | ||
.PHONY: precommit | ||
precommit: | ||
$(PYTHON) pre-commit run --all-files | ||
|
||
# Run tests | ||
.PHONY: test | ||
test: | ||
$(PYTHON) pytest | ||
|
||
# Clean up temporary files and build artifacts | ||
.PHONY: clean | ||
clean: | ||
rm -rf .pytest_cache | ||
rm -rf .mypy_cache | ||
rm -rf __pycache__ | ||
rm -rf build dist *.egg-info | ||
find . -type d -name "__pycache__" -exec rm -r {} + | ||
find . -type f -name "*.pyc" -delete |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.