mirror of
https://github.com/microsoft/semantic-kernel.git
synced 2026-10-12 11:19:56 +00:00
Bumps [chromadb](https://github.com/chroma-core/chroma) from 0.4.24 to 0.5.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/chroma-core/chroma/releases">chromadb's releases</a>.</em></p> <blockquote> <h2>0.5.0</h2> <p>Version: <code>0.5.0</code> Git ref: <code>refs/tags/0.5.0</code> Build Date: <code>2024-04-23T23:09</code> PIP Package: <code>chroma-0.5.0.tar.gz</code> Github Container Registry Image: <code>ghcr.io/chroma-core/chroma:0.5.0</code> DockerHub Image: <code>chromadb/chroma:0.5.0</code></p> <h2>What's Changed</h2> <ul> <li>[ENH] Helm chart by <a href="https://github.com/beggers"><code>@beggers</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1776">chroma-core/chroma#1776</a></li> <li>[CLN] Fix CI and a couple other cleanups by <a href="https://github.com/beggers"><code>@beggers</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1788">chroma-core/chroma#1788</a></li> <li>[ENH] get collection info for compactor by <a href="https://github.com/weiligu"><code>@weiligu</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1778">chroma-core/chroma#1778</a></li> <li>[ENH]: add rate limiting by <a href="https://github.com/nicolasgere"><code>@nicolasgere</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1728">chroma-core/chroma#1728</a></li> <li>[PERF]: Minor docker compose quality of life improvements by <a href="https://github.com/tazarov"><code>@tazarov</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1753">chroma-core/chroma#1753</a></li> <li>[ENH]: make rust docker image build faster with cache by <a href="https://github.com/nicolasgere"><code>@nicolasgere</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1730">chroma-core/chroma#1730</a></li> <li>[ENH] readme for local postgres setup by <a href="https://github.com/weiligu"><code>@weiligu</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1795">chroma-core/chroma#1795</a></li> <li>[ENH] FE talks to logservice by <a href="https://github.com/weiligu"><code>@weiligu</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1793">chroma-core/chroma#1793</a></li> <li>[ENH]: add quota add limit by <a href="https://github.com/nicolasgere"><code>@nicolasgere</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1789">chroma-core/chroma#1789</a></li> <li>[ENH]: add grpc python client interceptor by <a href="https://github.com/nicolasgere"><code>@nicolasgere</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1802">chroma-core/chroma#1802</a></li> <li>[ENH] Refactor k8s manifests for configurability by <a href="https://github.com/beggers"><code>@beggers</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1808">chroma-core/chroma#1808</a></li> <li>[ENH]: go grpc interceptor server by <a href="https://github.com/nicolasgere"><code>@nicolasgere</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1803">chroma-core/chroma#1803</a></li> <li>[ENH] add log id to pullLogs response by <a href="https://github.com/weiligu"><code>@weiligu</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1809">chroma-core/chroma#1809</a></li> <li>[ENH]: rename go module and move to shared pkg by <a href="https://github.com/nicolasgere"><code>@nicolasgere</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1810">chroma-core/chroma#1810</a></li> <li>[ENH] Add rust client to log service by <a href="https://github.com/Ishiihara"><code>@Ishiihara</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1811">chroma-core/chroma#1811</a></li> <li>[DOC] Update pull_request_template.md by <a href="https://github.com/HammadB"><code>@HammadB</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1824">chroma-core/chroma#1824</a></li> <li>[BLD] Remove hosted chroma workflow dispatches by <a href="https://github.com/beggers"><code>@beggers</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1832">chroma-core/chroma#1832</a></li> <li>[ENH]: OpenCLIP EF <code>device</code> param by <a href="https://github.com/tazarov"><code>@tazarov</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1806">chroma-core/chroma#1806</a></li> <li>[BUG]: Added missing $not_contains operator for WhereDocument by <a href="https://github.com/tazarov"><code>@tazarov</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1781">chroma-core/chroma#1781</a></li> <li>[BUG]: Deleting FTS entries upon deletion of individual records by <a href="https://github.com/tazarov"><code>@tazarov</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1689">chroma-core/chroma#1689</a></li> <li>[ENH]: Updates to validation errors by <a href="https://github.com/tazarov"><code>@tazarov</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1703">chroma-core/chroma#1703</a></li> <li>[DOC] add a bit more detail to the js client DEVELOP.md by <a href="https://github.com/AlabasterAxe"><code>@AlabasterAxe</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1829">chroma-core/chroma#1829</a></li> <li>[ENH]: add grpc client interceptor by <a href="https://github.com/nicolasgere"><code>@nicolasgere</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1818">chroma-core/chroma#1818</a></li> <li>[ENH] remove sysdb cache by <a href="https://github.com/weiligu"><code>@weiligu</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1835">chroma-core/chroma#1835</a></li> <li>[ENH] helm chart tweaks by <a href="https://github.com/beggers"><code>@beggers</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1836">chroma-core/chroma#1836</a></li> <li>[ENH] Helm CD to hosted by <a href="https://github.com/beggers"><code>@beggers</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1840">chroma-core/chroma#1840</a></li> <li>[ENH] Blockfile provider by <a href="https://github.com/HammadB"><code>@HammadB</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1819">chroma-core/chroma#1819</a></li> <li>[CLN] Run coordinator in <code>/bin/sh</code> by <a href="https://github.com/beggers"><code>@beggers</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1816">chroma-core/chroma#1816</a></li> <li>[ENH] log service staging by <a href="https://github.com/weiligu"><code>@weiligu</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1843">chroma-core/chroma#1843</a></li> <li>[ENH] Add system scheduler to allow tasks to run with a schedule by <a href="https://github.com/Ishiihara"><code>@Ishiihara</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1839">chroma-core/chroma#1839</a></li> <li>[ENH] Arrow-backed block by <a href="https://github.com/HammadB"><code>@HammadB</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1820">chroma-core/chroma#1820</a></li> <li>[ENH] Block builder by <a href="https://github.com/HammadB"><code>@HammadB</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1821">chroma-core/chroma#1821</a></li> <li>[ENH] Block iterator by <a href="https://github.com/HammadB"><code>@HammadB</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1822">chroma-core/chroma#1822</a></li> <li>[DOC] Update and rename README to README.md by <a href="https://github.com/HammadB"><code>@HammadB</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1848">chroma-core/chroma#1848</a></li> <li>[ENH] Compactor scheduler with system by <a href="https://github.com/Ishiihara"><code>@Ishiihara</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1844">chroma-core/chroma#1844</a></li> <li>[TST] Scheduler test fix by <a href="https://github.com/HammadB"><code>@HammadB</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1851">chroma-core/chroma#1851</a></li> <li>[TST] fix flacky coordinator tests by <a href="https://github.com/weiligu"><code>@weiligu</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1852">chroma-core/chroma#1852</a></li> <li>[ENH] last compaction time by <a href="https://github.com/weiligu"><code>@weiligu</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1856">chroma-core/chroma#1856</a></li> <li>[BLD] Add docker arg to build in release mode by <a href="https://github.com/HammadB"><code>@HammadB</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1859">chroma-core/chroma#1859</a></li> <li>[ENH] Block delta by <a href="https://github.com/HammadB"><code>@HammadB</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1823">chroma-core/chroma#1823</a></li> <li>[ENH] Sparse index by <a href="https://github.com/HammadB"><code>@HammadB</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1825">chroma-core/chroma#1825</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/chroma-core/chroma/commit/26b8ac67628e7b87ce53f067c0e95986378ccbaa"><code>26b8ac6</code></a> [RELEASE] Release 0.5.0 (<a href="https://redirect.github.com/chroma-core/chroma/issues/2047">#2047</a>)</li> <li><a href="https://github.com/chroma-core/chroma/commit/5d909d4f8afd08e437e0bdcf08dbfdcd4da9b26a"><code>5d909d4</code></a> [BLD] add lint workflow (<a href="https://redirect.github.com/chroma-core/chroma/issues/2045">#2045</a>)</li> <li><a href="https://github.com/chroma-core/chroma/commit/e5ec1b39171f62db4efe549207e488bbbdb9a12c"><code>e5ec1b3</code></a> [ENH]: use name/uuid to get collection (<a href="https://redirect.github.com/chroma-core/chroma/issues/2040">#2040</a>)</li> <li><a href="https://github.com/chroma-core/chroma/commit/ce5c6b35e7ee7b2786eec6e3f5e7c821fb30d844"><code>ce5c6b3</code></a> [TST] Try to fix a sporadic test failure (<a href="https://redirect.github.com/chroma-core/chroma/issues/2030">#2030</a>)</li> <li><a href="https://github.com/chroma-core/chroma/commit/e3d2b8aacc7a9a5da35fc726f48f25750aaf57e9"><code>e3d2b8a</code></a> [BUG] Fix JS client regression (<a href="https://redirect.github.com/chroma-core/chroma/issues/2026">#2026</a>)</li> <li><a href="https://github.com/chroma-core/chroma/commit/729e6578d5649e2c9a8f586b35d33629e52c61e4"><code>729e657</code></a> [ENH] Simplify auth and correctly overwrite singleton tenant+db (<a href="https://redirect.github.com/chroma-core/chroma/issues/1970">#1970</a>)</li> <li><a href="https://github.com/chroma-core/chroma/commit/f44d9e82d2c1ff4348f0ddd8ae32597f3bccf057"><code>f44d9e8</code></a> [BUG] Make the gracefulperiod to be 0 for pod deletion (<a href="https://redirect.github.com/chroma-core/chroma/issues/2011">#2011</a>)</li> <li><a href="https://github.com/chroma-core/chroma/commit/8848300ffc584eb9fce5aead02f3cf35985af375"><code>8848300</code></a> [ENH]: Add offset/limit collection sysdb (<a href="https://redirect.github.com/chroma-core/chroma/issues/1999">#1999</a>)</li> <li><a href="https://github.com/chroma-core/chroma/commit/df29a4166df0027d51e841218852f54194d45598"><code>df29a41</code></a> [ENH] Make TestSysDb thread safe (<a href="https://redirect.github.com/chroma-core/chroma/issues/2010">#2010</a>)</li> <li><a href="https://github.com/chroma-core/chroma/commit/663a02d9fd9804924297f16042fbbb117fd02042"><code>663a02d</code></a> [ENH] Rust write segments and flush S3 operator skeleton (<a href="https://redirect.github.com/chroma-core/chroma/issues/2009">#2009</a>)</li> <li>Additional commits viewable in <a href="https://github.com/chroma-core/chroma/compare/0.4.24...0.5.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Evan Mattson <[email protected]>
157 lines
5.2 KiB
TOML
157 lines
5.2 KiB
TOML
[tool.poetry]
|
|
name = "semantic-kernel"
|
|
version = "1.1.0"
|
|
description = "Semantic Kernel Python SDK"
|
|
authors = ["Microsoft <[email protected]>"]
|
|
readme = "pip/README.md"
|
|
packages = [{include = "semantic_kernel"}]
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.10,<3.13"
|
|
aiohttp = "^3.8"
|
|
numpy = [
|
|
{ version = ">=1.25", python = "<3.12" },
|
|
{ version = ">=1.26", python = ">=3.12" },
|
|
]
|
|
scipy = [
|
|
{ version = ">=1.5.0", python = "<3.12" },
|
|
{ version = ">=1.12.0", python = ">=3.12" }
|
|
]
|
|
grpcio = [
|
|
{ version = ">=1.50.0", python = "<3.12" },
|
|
{ version = ">=1.60.0", python = ">=3.12" }
|
|
]
|
|
openai = ">=1.0"
|
|
regex = ">=2023.6.3,<2025.0.0"
|
|
openapi_core = ">=0.18,<0.20"
|
|
prance = "^23.6.21.0"
|
|
pydantic = "^2"
|
|
pydantic-settings = "^2.2.1"
|
|
motor = "^3.3.2"
|
|
defusedxml = "^0.7.1"
|
|
pybars4 = "^0.9.13"
|
|
jinja2 = "^3.1.3"
|
|
nest-asyncio = "^1.6.0"
|
|
|
|
# Optional dependencies
|
|
ipykernel = { version = "^6.21.1", optional = true}
|
|
google-generativeai = { version = ">=0.1", markers = "python_version >= '3.9'", optional = true}
|
|
grpcio-status = { version = "^1.53.0", markers = "python_version >= '3.9'", optional = true}
|
|
transformers = { version = "^4.28.1", optional = true}
|
|
sentence-transformers = { version = "^2.2.2", optional = true}
|
|
torch = { version = "^2.2.0", optional = true}
|
|
qdrant-client = { version = '^1.9', optional = true}
|
|
chromadb = { version = ">=0.4.13,<0.6.0", optional = true}
|
|
pymilvus = { version = ">=2.3,<2.3.8", optional = true}
|
|
milvus = { version = ">=2.3,<2.3.8", markers = 'sys_platform != "win32"', optional = true}
|
|
weaviate-client = { version = ">=3.18,<5.0", optional = true}
|
|
pinecone-client = { version = ">=3.0.0", optional = true}
|
|
psycopg = { version="^3.1.9", extras=["binary","pool"], optional = true}
|
|
redis = { version = "^4.6.0", optional = true}
|
|
azure-search-documents = {version = "11.6.0b4", allow-prereleases = true, optional = true}
|
|
azure-core = { version = "^1.28.0", optional = true}
|
|
azure-identity = { version = "^1.13.0", optional = true}
|
|
azure-cosmos = { version = "^4.7.0", optional = true}
|
|
usearch = { version = "^2.9", optional = true}
|
|
pyarrow = { version = ">=12.0.1,<17.0.0", optional = true}
|
|
|
|
# Groups are for development only (installed through Poetry)
|
|
[tool.poetry.group.dev.dependencies]
|
|
pre-commit = ">=3.7.1"
|
|
ruff = ">=0.4.5"
|
|
ipykernel = "^6.29.4"
|
|
nbconvert = "^7.16.4"
|
|
pytest = "^8.2.1"
|
|
pytest-asyncio = "^0.23.7"
|
|
snoop = "^0.4.3"
|
|
pytest-cov = ">=5.0.0"
|
|
mypy = ">=1.10.0"
|
|
types-PyYAML = "^6.0.12.20240311"
|
|
|
|
[tool.poetry.group.unit-tests]
|
|
optional = true
|
|
|
|
[tool.poetry.group.unit-tests.dependencies]
|
|
google-generativeai = { version = ">=0.1,<0.4" }
|
|
azure-search-documents = {version = "11.6.0b4", allow-prereleases = true}
|
|
azure-core = "^1.28.0"
|
|
azure-cosmos = "^4.7.0"
|
|
transformers = "^4.28.1"
|
|
sentence-transformers = "^2.2.2"
|
|
torch = "^2.2.0"
|
|
|
|
[tool.poetry.group.tests]
|
|
optional = true
|
|
|
|
[tool.poetry.group.tests.dependencies]
|
|
google-generativeai = { version = ">=0.1,<0.4" }
|
|
grpcio-status = "^1.53.0"
|
|
transformers = "^4.28.1"
|
|
sentence-transformers = "^2.2.2"
|
|
torch = "^2.2.0"
|
|
qdrant-client = '^1.9'
|
|
chromadb = ">=0.4.13,<0.6.0"
|
|
pymilvus = ">=2.3,<2.3.8"
|
|
milvus = { version = ">=2.3,<2.3.8", markers = 'sys_platform != "win32"'}
|
|
weaviate-client = ">=3.18,<5.0"
|
|
pinecone-client = ">=3.0.0"
|
|
psycopg = { version="^3.1.9", extras=["binary","pool"]}
|
|
redis = "^4.6.0"
|
|
azure-search-documents = {version = "11.6.0b4", allow-prereleases = true}
|
|
azure-core = "^1.28.0"
|
|
azure-identity = "^1.13.0"
|
|
azure-cosmos = "^4.7.0"
|
|
usearch = "^2.9"
|
|
pyarrow = ">=12.0.1,<17.0.0"
|
|
msgraph-sdk = "^1.2.0"
|
|
|
|
# Extras are exposed to pip, this allows a user to easily add the right dependencies to their environment
|
|
[tool.poetry.extras]
|
|
google = ["google-generativeai", "grpcio-status"]
|
|
hugging_face = ["transformers", "sentence-transformers", "torch"]
|
|
qdrant = ["qdrant-client"]
|
|
chromadb = ["chromadb"]
|
|
milvus = ["pymilvus", "milvus"]
|
|
weaviate = ["weaviate-client"]
|
|
pinecone = ["pinecone-client"]
|
|
postgres = ["psycopg"]
|
|
redis = ["redis"]
|
|
azure = ["azure-search-documents", "azure-core", "azure-identity", "azure-cosmos", "msgraph-sdk"]
|
|
usearch = ["usearch", "pyarrow"]
|
|
notebooks = ["ipykernel"]
|
|
all = ["google-generativeai", "grpcio-status", "transformers", "sentence-transformers", "torch", "qdrant-client", "chromadb", "pymilvus", "milvus", "weaviate-client", "pinecone-client", "psycopg", "redis", "azure-search-documents", "azure-core", "azure-identity", "azure-cosmos", "usearch", "pyarrow", "ipykernel"]
|
|
|
|
[tool.ruff]
|
|
line-length = 120
|
|
target-version = "py310"
|
|
include = ["*.py", "*.pyi", "**/pyproject.toml", "*.ipynb"]
|
|
|
|
[tool.ruff.lint]
|
|
preview = true
|
|
select = ["D", "E", "F", "I", "CPY", "ISC", "INP", "RSE102", "RET", "SIM", "TD", "FIX", "ERA001", "RUF"]
|
|
ignore = ["D100", "D101", "D104", "TD003", "FIX002"]
|
|
|
|
[tool.ruff.lint.pydocstyle]
|
|
convention = "google"
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
# Ignore all directories named `tests` and `samples`.
|
|
"tests/**" = ["D", "INP", "TD", "ERA001", "RUF"]
|
|
"samples/**" = ["D", "INP", "ERA001", "RUF"]
|
|
# Ignore all files that end in `_test.py`.
|
|
"*_test.py" = ["D"]
|
|
"*.ipynb" = ["CPY", "E501"]
|
|
|
|
[tool.ruff.lint.flake8-copyright]
|
|
notice-rgx = "^# Copyright \\(c\\) Microsoft\\. All rights reserved\\."
|
|
min-file-size = 1
|
|
|
|
[tool.bandit]
|
|
targets = ["python/semantic_kernel"]
|
|
exclude_dirs = ["python/tests"]
|
|
|
|
[build-system]
|
|
requires = ["poetry-core"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|