Open sweep-ai[bot] opened 11 months ago
dspy/signatures/signature.py
β
Check dspy/signatures/signature.py with contents:
Ran GitHub Actions for 7885b6cfe80419f21a108b97cfbc8d71561b119d:
dsp/primitives/compiler.py
β
Check dsp/primitives/compiler.py with contents:
Ran GitHub Actions for 6482c5a3bc5c43c5da3eba027e637783d48d43ef:
tests/test_signature.py
β
Check tests/test_signature.py with contents:
Ran GitHub Actions for 65352ae4e2f386169867e0fca596dd8ba81a0c83:
README.md
β
Check README.md with contents:
Ran GitHub Actions for 42e2eb59d8ca4cbefbce61aa2e592ba2b1a62a92:
docs/
.The command:
Run snok/install-poetry@v1
yielded the following error:
`##[error]The operation was canceled.
[36;1mpoetry install[0m shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} env: POETRY_VERSION: 1.6.1 pythonLocation: /opt/hostedtoolcache/Python/3.9.18/x64 PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.9.18/x64/lib/pkgconfig Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.18/x64 Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.18/x64 Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.18/x64 LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.9.18/x64/lib VENV: .venv/bin/activate
Poetry could not find a pyproject.toml file in /home/runner/work/dspy/dspy or its parents
Here are the logs:
##[group]Run $GITHUB_ACTION_PATH/main.sh
[36;1m$GITHUB_ACTION_PATH/main.sh[0m
shell: C:\Program Files\Git\bin\bash.EXE --noprofile --norc -e -o pipefail {0}
env:
POETRY_VERSION: 1.6.1
pythonLocation: C:\hostedtoolcache\windows\Python\3.9.13\x64
PKG_CONFIG_PATH: C:\hostedtoolcache\windows\Python\3.9.13\x64/lib/pkgconfig
Python_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.9.13\x64
Python2_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.9.13\x64
Python3_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.9.13\x64
VERSION: 1.6.1
VIRTUALENVS_CREATE: true
VIRTUALENVS_IN_PROJECT: false
VIRTUALENVS_PATH: {cache-dir}/virtualenvs
INSTALLER_PARALLEL: true
INSTALLATION_ARGUMENTS:
##[endgroup]
[33mSetting Poetry installation path as /c/Users/runneradmin/.local[0m
[33mInstalling Poetry π·[0m
Done.
PR Feedback (click)
Description
This pull request introduces a new feature to the DSPy framework called the "immutable" prompt "skeleton" mechanism. This feature allows for the integration of different signature variations into a consistent structural backdrop for dynamic content population. It also includes updates to the
Signature
class,compiler.py
, andtest_signature.py
to support this new feature.Summary
README.md
to include information about the new featurecompiler.py
to generate prompts with the new prompt creation processSignature
class to include a prompt skeleton attribute and a method to sample signature variationstest_signature.py
Fixes #68.
π Latest improvements to Sweep:
π‘ To get Sweep to edit this pull request, you can: