Files
semantic-kernel/python/pyproject.toml
T
edf35de85d Python: Redis memory connector (#2132)
### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

1. .NET supports Redis memory while Python does not
2. Match up Python features w/ .NET
3. Users can utilize a Redis backend for memories
4. Closes #1981

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

Implemented a memory connector for Redis and made unit tests for it.
Also added .env configuration for a connection string.

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [X] The code builds clean without any errors or warnings
- [X] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#dev-scripts)
raises no violations
- [X] All unit tests pass, and I have added new tests where possible
- [X] I didn't break anyone 😄

---------

Co-authored-by: Dmytro Struk <[email protected]>
Co-authored-by: Abby Harrison <[email protected]>
Co-authored-by: Abby Harrison <[email protected]>
2023-08-31 20:38:16 +00:00

81 lines
1.9 KiB
TOML

[tool.poetry]
name = "semantic-kernel"
version = "0.3.11.dev"
description = ""
authors = ["Microsoft <[email protected]>"]
readme = "pip/README.md"
packages = [{include = "semantic_kernel"}]
[tool.poetry.dependencies]
python = "^3.8"
numpy = "^1.24.2"
openai = "^0.27.0"
aiofiles = "^23.1.0"
python-dotenv = "1.0.0"
regex = "^2023.6.3"
openapi_core = "^0.18.0"
prance = "^23.6.21.0"
pydantic = "<2"
[tool.poetry.group.dev.dependencies]
pre-commit = "3.3.3"
black = {version = "23.7.0", allow-prereleases = true}
ipykernel = "^6.21.1"
pytest = "7.4.0"
ruff = "0.0.285"
pytest-asyncio = "0.21.1"
snoop = "0.4.3"
[tool.poetry.group.google_palm.dependencies]
google-generativeai = { version = "^0.1.0", markers = "python_version >= '3.9'" }
grpcio-status = { version = "^1.53.0", markers = "python_version >= '3.9'" }
[tool.poetry.group.hugging_face.dependencies]
transformers = "^4.28.1"
sentence-transformers = "^2.2.2"
torch = "2.0.0"
[tool.poetry.group.qdrant.dependencies]
qdrant-client = {version = "^1.3.2", python = ">=3.8,<3.12"}
[tool.poetry.group.chromadb.dependencies]
chromadb = "^0.4.0"
[tool.poetry.group.milvus.dependencies]
pymilvus = "^2.2.11"
milvus = "^2.2.11"
[tool.poetry.group.weaviate.dependencies]
weaviate-client = "^3.18.0"
[tool.poetry.group.pinecone.dependencies]
pinecone-client = "^2.2.2"
[tool.poetry.group.postgres.dependencies]
psycopg-pool = "^3.1.7"
psycopg = "^3.1.9"
psycopg-binary = "^3.1.9"
[tool.poetry.group.redis.dependencies]
redis = "^4.6.0"
[tool.poetry.group.azure_cognitive_search.dependencies]
azure-search-documents = {version = "11.4.0b8", allow-prereleases = true}
azure-core = "^1.28.0"
azure-identity = "^1.13.0"
[tool.poetry.group.usearch.dependencies]
usearch = "^1.1.1"
pyarrow = "^12.0.1"
[tool.isort]
profile = "black"
[tool.ruff]
select = ["E", "F", "I"]
line-length = 120
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"