clarifai 10.3.2__py3-none-any.whl → 10.3.3__py3-none-any.whl
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.
- clarifai/rag/rag.py +1 -2
- clarifai/versions.py +1 -1
- {clarifai-10.3.2.dist-info → clarifai-10.3.3.dist-info}/METADATA +3 -3
- {clarifai-10.3.2.dist-info → clarifai-10.3.3.dist-info}/RECORD +8 -8
- {clarifai-10.3.2.dist-info → clarifai-10.3.3.dist-info}/LICENSE +0 -0
- {clarifai-10.3.2.dist-info → clarifai-10.3.3.dist-info}/WHEEL +0 -0
- {clarifai-10.3.2.dist-info → clarifai-10.3.3.dist-info}/entry_points.txt +0 -0
- {clarifai-10.3.2.dist-info → clarifai-10.3.3.dist-info}/top_level.txt +0 -0
clarifai/rag/rag.py
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
import uuid
|
2
|
-
from datetime import datetime
|
3
2
|
from typing import List
|
4
3
|
|
5
4
|
import yaml
|
@@ -76,7 +75,7 @@ class RAG:
|
|
76
75
|
>>> rag_agent = RAG.setup(app_url=YOUR_APP_URL)
|
77
76
|
>>> rag_agent.chat(messages=[{"role":"human", "content":"What is Clarifai"}])
|
78
77
|
"""
|
79
|
-
now_ts =
|
78
|
+
now_ts = uuid.uuid4().hex[:10]
|
80
79
|
if user_id and not app_url:
|
81
80
|
user = User(user_id=user_id, base_url=base_url, pat=pat)
|
82
81
|
## Create an App
|
clarifai/versions.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: clarifai
|
3
|
-
Version: 10.3.
|
3
|
+
Version: 10.3.3
|
4
4
|
Summary: Clarifai Python SDK
|
5
5
|
Home-page: https://github.com/Clarifai/clarifai-python
|
6
6
|
Author: Clarifai
|
@@ -20,13 +20,13 @@ Classifier: Operating System :: OS Independent
|
|
20
20
|
Requires-Python: >=3.8
|
21
21
|
Description-Content-Type: text/markdown
|
22
22
|
License-File: LICENSE
|
23
|
-
Requires-Dist: clarifai-grpc ~=10.
|
23
|
+
Requires-Dist: clarifai-grpc ~=10.3.4
|
24
24
|
Requires-Dist: numpy >=1.22.0
|
25
25
|
Requires-Dist: tqdm >=4.65.0
|
26
26
|
Requires-Dist: tritonclient >=2.34.0
|
27
27
|
Requires-Dist: rich >=13.4.2
|
28
28
|
Requires-Dist: PyYAML >=6.0.1
|
29
|
-
Requires-Dist: schema
|
29
|
+
Requires-Dist: schema ==0.7.5
|
30
30
|
Requires-Dist: Pillow >=9.5.0
|
31
31
|
Requires-Dist: inquirerpy ==0.3.4
|
32
32
|
Requires-Dist: tabulate >=0.9.0
|
@@ -1,7 +1,7 @@
|
|
1
1
|
clarifai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
2
|
clarifai/cli.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
3
|
clarifai/errors.py,sha256=RwzTajwds51wLD0MVlMC5kcpBnzRpreDLlazPSBZxrg,2605
|
4
|
-
clarifai/versions.py,sha256=
|
4
|
+
clarifai/versions.py,sha256=o52vXofZC1oBgGfcOiA3rcSbaktIkvy-fWxZsri2mis,186
|
5
5
|
clarifai/client/__init__.py,sha256=xI1U0l5AZdRThvQAXCLsd9axxyFzXXJ22m8LHqVjQRU,662
|
6
6
|
clarifai/client/app.py,sha256=LC3rnuqr97f-S7LsJ9Q7KZnYMBHGDAq4mcFjjcPjpqo,27240
|
7
7
|
clarifai/client/base.py,sha256=FrnSY9tSxjTxhABfBzQz5-PEppWMPbIyvSNnx8mVz8s,6919
|
@@ -90,7 +90,7 @@ clarifai/modules/css.py,sha256=kadCEunmyh5h2yf0-4aysE3ZcZ6qaQcxuAgDXS96yF8,2020
|
|
90
90
|
clarifai/modules/pages.py,sha256=iOoM3RNRMgXlV0qBqcdQofxoXo2RuRQh0h9c9BIS0-I,1383
|
91
91
|
clarifai/modules/style.css,sha256=j7FNPZVhLPj35vvBksAJ90RuX5sLuqzDR5iM2WIEhiA,6073
|
92
92
|
clarifai/rag/__init__.py,sha256=wu3PzAzo7uqgrEzuaC9lY_3gj1HFiR3GU3elZIKTT5g,40
|
93
|
-
clarifai/rag/rag.py,sha256=
|
93
|
+
clarifai/rag/rag.py,sha256=ySKI4ChHTJSj3nOL9gfOuZ-0hZTfHFZXVJaO6pX0KkM,12356
|
94
94
|
clarifai/rag/utils.py,sha256=yr1jAcbpws4vFGBqlAwPPE7v1DRba48g8gixLFw8OhQ,4070
|
95
95
|
clarifai/schema/search.py,sha256=JjTi8ammJgZZ2OGl4K6tIA4zEJ1Fr2ASZARXavI1j5c,2448
|
96
96
|
clarifai/urls/helper.py,sha256=tjoMGGHuWX68DUB0pk4MEjrmFsClUAQj2jmVEM_Sy78,4751
|
@@ -106,9 +106,9 @@ clarifai/workflows/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuF
|
|
106
106
|
clarifai/workflows/export.py,sha256=vICRhIreqDSShxLKjHNM2JwzKsf1B4fdXB0ciMcA70k,1945
|
107
107
|
clarifai/workflows/utils.py,sha256=nGeB_yjVgUO9kOeKTg4OBBaBz-AwXI3m-huSVj-9W18,1924
|
108
108
|
clarifai/workflows/validate.py,sha256=yJq03MaJqi5AK3alKGJJBR89xmmjAQ31sVufJUiOqY8,2556
|
109
|
-
clarifai-10.3.
|
110
|
-
clarifai-10.3.
|
111
|
-
clarifai-10.3.
|
112
|
-
clarifai-10.3.
|
113
|
-
clarifai-10.3.
|
114
|
-
clarifai-10.3.
|
109
|
+
clarifai-10.3.3.dist-info/LICENSE,sha256=mUqF_d12-qE2n41g7C5_sq-BMLOcj6CNN-jevr15YHU,555
|
110
|
+
clarifai-10.3.3.dist-info/METADATA,sha256=_DucjDZoou8UlkC_FT4zhlWZl_emaag4d6jd3ad-IfA,19176
|
111
|
+
clarifai-10.3.3.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
112
|
+
clarifai-10.3.3.dist-info/entry_points.txt,sha256=qZOr_MIPG0dBBE1zringDJS_wXNGTAA_SQ-zcbmDHOw,82
|
113
|
+
clarifai-10.3.3.dist-info/top_level.txt,sha256=wUMdCQGjkxaynZ6nZ9FAnvBUCgp5RJUVFSy2j-KYo0s,9
|
114
|
+
clarifai-10.3.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|