auth0-ai-langchain 0.1.2__tar.gz → 0.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of auth0-ai-langchain might be problematic. Click here for more details.

Files changed (20) hide show
  1. {auth0_ai_langchain-0.1.2 → auth0_ai_langchain-0.2.0}/PKG-INFO +3 -4
  2. {auth0_ai_langchain-0.1.2 → auth0_ai_langchain-0.2.0}/README.md +1 -2
  3. {auth0_ai_langchain-0.1.2 → auth0_ai_langchain-0.2.0}/auth0_ai_langchain/federated_connections/__init__.py +1 -0
  4. auth0_ai_langchain-0.2.0/auth0_ai_langchain/utils/interrupt.py +13 -0
  5. {auth0_ai_langchain-0.1.2 → auth0_ai_langchain-0.2.0}/pyproject.toml +3 -4
  6. auth0_ai_langchain-0.1.2/auth0_ai_langchain/utils/interrupt.py +0 -13
  7. {auth0_ai_langchain-0.1.2 → auth0_ai_langchain-0.2.0}/LICENSE +0 -0
  8. {auth0_ai_langchain-0.1.2 → auth0_ai_langchain-0.2.0}/auth0_ai_langchain/FGARetriever.py +0 -0
  9. {auth0_ai_langchain-0.1.2 → auth0_ai_langchain-0.2.0}/auth0_ai_langchain/__init__.py +0 -0
  10. {auth0_ai_langchain-0.1.2 → auth0_ai_langchain-0.2.0}/auth0_ai_langchain/auth0_ai.py +0 -0
  11. {auth0_ai_langchain-0.1.2 → auth0_ai_langchain-0.2.0}/auth0_ai_langchain/ciba/__init__.py +0 -0
  12. {auth0_ai_langchain-0.1.2 → auth0_ai_langchain-0.2.0}/auth0_ai_langchain/ciba/ciba_graph/ciba_graph.py +0 -0
  13. {auth0_ai_langchain-0.1.2 → auth0_ai_langchain-0.2.0}/auth0_ai_langchain/ciba/ciba_graph/initialize_ciba.py +0 -0
  14. {auth0_ai_langchain-0.1.2 → auth0_ai_langchain-0.2.0}/auth0_ai_langchain/ciba/ciba_graph/initialize_hitl.py +0 -0
  15. {auth0_ai_langchain-0.1.2 → auth0_ai_langchain-0.2.0}/auth0_ai_langchain/ciba/ciba_graph/types.py +0 -0
  16. {auth0_ai_langchain-0.1.2 → auth0_ai_langchain-0.2.0}/auth0_ai_langchain/ciba/ciba_graph/utils.py +0 -0
  17. {auth0_ai_langchain-0.1.2 → auth0_ai_langchain-0.2.0}/auth0_ai_langchain/ciba/ciba_poller_graph.py +0 -0
  18. {auth0_ai_langchain-0.1.2 → auth0_ai_langchain-0.2.0}/auth0_ai_langchain/ciba/types.py +0 -0
  19. {auth0_ai_langchain-0.1.2 → auth0_ai_langchain-0.2.0}/auth0_ai_langchain/federated_connections/federated_connection_authorizer.py +0 -0
  20. {auth0_ai_langchain-0.1.2 → auth0_ai_langchain-0.2.0}/auth0_ai_langchain/fga/fga_authorizer.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: auth0-ai-langchain
3
- Version: 0.1.2
3
+ Version: 0.2.0
4
4
  Summary: This package is an SDK for building secure AI-powered applications using Auth0, Okta FGA and LangChain.
5
5
  License: Apache-2.0
6
6
  Author: Auth0
@@ -11,7 +11,7 @@ Classifier: Programming Language :: Python :: 3
11
11
  Classifier: Programming Language :: Python :: 3.11
12
12
  Classifier: Programming Language :: Python :: 3.12
13
13
  Classifier: Programming Language :: Python :: 3.13
14
- Requires-Dist: auth0-ai (>=0.1.1,<0.2.0)
14
+ Requires-Dist: auth0-ai (>=0.2.0,<0.3.0)
15
15
  Requires-Dist: langchain (>=0.3.20,<0.4.0)
16
16
  Requires-Dist: langchain-core (>=0.3.43,<0.4.0)
17
17
  Requires-Dist: langgraph (>=0.3.25,<0.4.0)
@@ -28,8 +28,7 @@ Description-Content-Type: text/markdown
28
28
 
29
29
  ## Installation
30
30
 
31
- > [!WARNING]
32
- > `auth0-ai-langchain` is currently under development and it is not intended to be used in production, and therefore has no official support.
31
+ > ⚠️ **WARNING**: `auth0-ai-langchain` is currently under development and it is not intended to be used in production, and therefore has no official support.
33
32
 
34
33
  ```bash
35
34
  pip install auth0-ai-langchain
@@ -6,8 +6,7 @@
6
6
 
7
7
  ## Installation
8
8
 
9
- > [!WARNING]
10
- > `auth0-ai-langchain` is currently under development and it is not intended to be used in production, and therefore has no official support.
9
+ > ⚠️ **WARNING**: `auth0-ai-langchain` is currently under development and it is not intended to be used in production, and therefore has no official support.
11
10
 
12
11
  ```bash
13
12
  pip install auth0-ai-langchain
@@ -1,3 +1,4 @@
1
1
  from auth0_ai.interrupts.federated_connection_interrupt import FederatedConnectionError as FederatedConnectionError
2
+ from auth0_ai.interrupts.federated_connection_interrupt import FederatedConnectionInterrupt as FederatedConnectionInterrupt
2
3
  from auth0_ai.authorizers.federated_connection_authorizer import get_access_token_for_connection as get_access_token_for_connection
3
4
  from .federated_connection_authorizer import FederatedConnectionAuthorizer as FederatedConnectionAuthorizer
@@ -0,0 +1,13 @@
1
+ from auth0_ai.interrupts.auth0_interrupt import Auth0Interrupt
2
+ from langgraph.errors import GraphInterrupt
3
+ from langgraph.types import Interrupt
4
+
5
+ def to_graph_interrupt(interrupt: Auth0Interrupt) -> GraphInterrupt:
6
+ return GraphInterrupt([
7
+ Interrupt(
8
+ value=interrupt.to_json(),
9
+ when="during",
10
+ resumable=True,
11
+ ns=[f"auth0AI:{interrupt.__class__.__name__}:{interrupt.code}"]
12
+ )
13
+ ])
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "auth0-ai-langchain"
3
- version = "0.1.2"
3
+ version = "0.2.0"
4
4
  description = "This package is an SDK for building secure AI-powered applications using Auth0, Okta FGA and LangChain."
5
5
  license = "apache-2.0"
6
6
  homepage = "https://auth0.com"
@@ -14,17 +14,16 @@ langchain = "^0.3.20"
14
14
  langgraph-sdk = "^0.1.55"
15
15
  langchain-core = "^0.3.43"
16
16
  langgraph = "^0.3.25"
17
- auth0-ai = "^0.1.1"
17
+ auth0-ai = "^0.2.0"
18
+ # auth0-ai = { path = "../auth0-ai", develop = true }
18
19
 
19
20
  [tool.poetry.group.test.dependencies]
20
21
  pytest-randomly = "^3.15.0"
21
22
  pytest-asyncio = "^0.25.0"
22
23
  pytest = "^8.2.0"
23
24
 
24
-
25
25
  [tool.poetry.group.dev.dependencies]
26
26
  twine = "^6.1.0"
27
- # auth0-ai = { path = "../auth0-ai", develop = true }
28
27
 
29
28
  [build-system]
30
29
  requires = ["poetry-core"]
@@ -1,13 +0,0 @@
1
- from auth0_ai.interrupts.auth0_interrupt import Auth0Interrupt
2
- from langgraph.errors import GraphInterrupt
3
-
4
-
5
- def to_graph_interrupt(interrupt: Auth0Interrupt) -> GraphInterrupt:
6
- return GraphInterrupt([
7
- {
8
- "value": interrupt,
9
- "when": "during",
10
- "resumable": True,
11
- "ns": [f"auth0AI:{interrupt.__class__.__name__}:{interrupt.code}"]
12
- }
13
- ])