Skip to content
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

Add release workflows #39

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Publish docs
on: [pull_request]
jobs:
publish:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install dependencies
run: |
pip install --upgrade pip
pip install .
pip install mkdocs-material mkdocstrings[python] mkdocs-click
- name: Deploy docs
run: mkdocs gh-deploy --force
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

1 change: 0 additions & 1 deletion src/agenteval/evaluators/aws/bedrock/bedrock_evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ def __init__(self, model_id: str, **kwargs):

Args:
model_id (str): The ID of the Bedrock model used to run evaluation.
**kwargs: Additional arguments passed to the parent class initializer.
"""
super().__init__(boto3_service_name=_BEDROCK_RUNTIME_BOTO3_NAME, **kwargs)

Expand Down
1 change: 0 additions & 1 deletion src/agenteval/trace_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ def add_step(self, step_name: Optional[str] = None, **kwargs):
Args:
step_name (str, optional): The name of the step. Defaults to
the name of the caller function
**kwargs: Additional data to include in the step
"""
step_name = step_name or inspect.stack()[1].function
step = {"timestamp": datetime.now(timezone.utc), "step_name": step_name}
Expand Down
Loading