diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..f8de53e --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,11 @@ +# Description + +Please include a summary of the changes and the related issue to help is review the PR better and faster. + +# Checklist for EVERY version bump: + +- [ ] Ran [generate_python.sh](../scripts/generate_python.sh) to generate python models. (Check [README.md](../README.md) for instructions) +- [ ] Ran [generate_typescript.sh](../scripts/generate_typescript.sh) to generate typescript models. (Check [README.md](../README.md) for instructions) +- [ ] Ran `black .` to format the python code. +- [ ] Updated version in [setup.py](../setup.py) for python package. +- [ ] Updated version in [package.json](../src/typescript/package.json) for typescript package. diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 340b460..6dc5ab9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5.1.1 with: python-version: '3.x' @@ -31,16 +31,16 @@ jobs: hatch build - name: Publish Python 🐍 distributions 📦 to PyPI - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@v1.9.0 with: password: ${{ secrets.PYPI_TOKEN }} publish-node-sdk: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4.1.7 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4.0.3 with: node-version: 20 registry-url: https://registry.npmjs.org diff --git a/src/python/langtrace/trace_attributes/__init__.py b/src/python/langtrace/trace_attributes/__init__.py index 26f07a3..7d3efb0 100644 --- a/src/python/langtrace/trace_attributes/__init__.py +++ b/src/python/langtrace/trace_attributes/__init__.py @@ -144,6 +144,7 @@ class WeaviateMethods(Enum): QUERY_NEAR_VECTOR = "weaviate.collections.queries.near_vector" COLLECTIONS_OPERATIONS = "weaviate.collections.collections" + class VendorType(Enum): LLM = "llm" VECTOR_DB = "vector_db"