chore: Add groq and langfuse as optional dependencies

Added groq and langfuse as optional dependencies

Chore COG-595
This commit is contained in:
Igor Ilic 2024-12-02 19:35:50 +01:00
parent 1a5f0fe10d
commit dcb320da52
2 changed files with 11 additions and 7 deletions

12
poetry.lock generated
View file

@ -519,7 +519,7 @@ dev = ["freezegun (>=1.0,<2.0)", "pytest (>=6.0)", "pytest-cov"]
name = "backoff" name = "backoff"
version = "2.2.1" version = "2.2.1"
description = "Function decoration for backoff and retry" description = "Function decoration for backoff and retry"
optional = false optional = true
python-versions = ">=3.7,<4.0" python-versions = ">=3.7,<4.0"
files = [ files = [
{file = "backoff-2.2.1-py3-none-any.whl", hash = "sha256:63579f9a0628e06278f7e47b7d7d5b6ce20dc65c5e96a6f3ca99a6adca0396e8"}, {file = "backoff-2.2.1-py3-none-any.whl", hash = "sha256:63579f9a0628e06278f7e47b7d7d5b6ce20dc65c5e96a6f3ca99a6adca0396e8"},
@ -2022,7 +2022,7 @@ colorama = ">=0.4"
name = "groq" name = "groq"
version = "0.8.0" version = "0.8.0"
description = "The official Python library for the groq API" description = "The official Python library for the groq API"
optional = false optional = true
python-versions = ">=3.7" python-versions = ">=3.7"
files = [ files = [
{file = "groq-0.8.0-py3-none-any.whl", hash = "sha256:f5e4e892d45001241a930db451e633ca1f0007e3f749deaa5d7360062fcd61e3"}, {file = "groq-0.8.0-py3-none-any.whl", hash = "sha256:f5e4e892d45001241a930db451e633ca1f0007e3f749deaa5d7360062fcd61e3"},
@ -3229,7 +3229,7 @@ six = "*"
name = "langfuse" name = "langfuse"
version = "2.53.9" version = "2.53.9"
description = "A client library for accessing langfuse" description = "A client library for accessing langfuse"
optional = false optional = true
python-versions = "<4.0,>=3.8.1" python-versions = "<4.0,>=3.8.1"
files = [ files = [
{file = "langfuse-2.53.9-py3-none-any.whl", hash = "sha256:04363bc323f7513621c88a997003f7b906ae8f5d096bd54221cfcb6bf7a6f16a"}, {file = "langfuse-2.53.9-py3-none-any.whl", hash = "sha256:04363bc323f7513621c88a997003f7b906ae8f5d096bd54221cfcb6bf7a6f16a"},
@ -7306,7 +7306,7 @@ files = [
name = "wrapt" name = "wrapt"
version = "1.16.0" version = "1.16.0"
description = "Module for decorators, wrappers and monkey patching." description = "Module for decorators, wrappers and monkey patching."
optional = false optional = true
python-versions = ">=3.6" python-versions = ">=3.6"
files = [ files = [
{file = "wrapt-1.16.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:ffa565331890b90056c01db69c0fe634a776f8019c143a5ae265f9c6bc4bd6d4"}, {file = "wrapt-1.16.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:ffa565331890b90056c01db69c0fe634a776f8019c143a5ae265f9c6bc4bd6d4"},
@ -7631,7 +7631,9 @@ type = ["pytest-mypy"]
[extras] [extras]
falkordb = ["falkordb"] falkordb = ["falkordb"]
filesystem = ["botocore"] filesystem = ["botocore"]
groq = ["groq"]
langchain = ["langchain_text_splitters", "langsmith"] langchain = ["langchain_text_splitters", "langsmith"]
langfuse = ["langfuse"]
llama-index = ["llama-index-core"] llama-index = ["llama-index-core"]
neo4j = ["neo4j"] neo4j = ["neo4j"]
notebook = [] notebook = []
@ -7643,4 +7645,4 @@ weaviate = ["weaviate-client"]
[metadata] [metadata]
lock-version = "2.0" lock-version = "2.0"
python-versions = ">=3.9.0,<3.12" python-versions = ">=3.9.0,<3.12"
content-hash = "c707b7e45a49a3c8c00b71292ca42898f2c5905f1e62bc7c9bc48d7423e9d990" content-hash = "6b57d44b0924bcf64397b3807c2a6ba369166e1d2102b5312c8f8ae2d5323376"

View file

@ -59,8 +59,8 @@ langdetect = "1.0.9"
posthog = {version = "^3.5.0", optional = true} posthog = {version = "^3.5.0", optional = true}
lancedb = "0.15.0" lancedb = "0.15.0"
litellm = "1.49.1" litellm = "1.49.1"
groq = "0.8.0" groq = {version = "0.8.0", optional = true}
langfuse = "^2.32.0" langfuse = {version = "^2.32.0", optional = true}
pydantic-settings = "^2.2.1" pydantic-settings = "^2.2.1"
anthropic = "^0.26.1" anthropic = "^0.26.1"
sentry-sdk = {extras = ["fastapi"], version = "^2.9.0"} sentry-sdk = {extras = ["fastapi"], version = "^2.9.0"}
@ -82,6 +82,8 @@ langchain = ["langsmith", "langchain_text_splitters"]
llama-index = ["llama-index-core"] llama-index = ["llama-index-core"]
posthog = ["posthog"] posthog = ["posthog"]
falkordb = ["falkordb"] falkordb = ["falkordb"]
groq = ["groq"]
langfuse = ["langfuse"]
[tool.poetry.group.dev.dependencies] [tool.poetry.group.dev.dependencies]