clarifai 10.5.3__py3-none-any.whl → 10.7.0__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.
Files changed (91) hide show
  1. clarifai/__init__.py +1 -0
  2. clarifai/client/app.py +26 -0
  3. clarifai/client/base.py +5 -0
  4. clarifai/client/input.py +116 -45
  5. clarifai/client/search.py +28 -42
  6. clarifai/client/user.py +33 -0
  7. clarifai/constants/dataset.py +2 -0
  8. clarifai/datasets/export/inputs_annotations.py +6 -2
  9. clarifai/rag/rag.py +8 -0
  10. clarifai/utils/constants.py +1 -0
  11. clarifai/utils/logging.py +3 -1
  12. clarifai/versions.py +2 -1
  13. {clarifai-10.5.3.dist-info → clarifai-10.7.0.dist-info}/METADATA +2 -2
  14. {clarifai-10.5.3.dist-info → clarifai-10.7.0.dist-info}/RECORD +18 -91
  15. {clarifai-10.5.3.dist-info → clarifai-10.7.0.dist-info}/WHEEL +1 -1
  16. clarifai/__pycache__/__init__.cpython-310.pyc +0 -0
  17. clarifai/__pycache__/errors.cpython-310.pyc +0 -0
  18. clarifai/__pycache__/versions.cpython-310.pyc +0 -0
  19. clarifai/client/__pycache__/__init__.cpython-310.pyc +0 -0
  20. clarifai/client/__pycache__/app.cpython-310.pyc +0 -0
  21. clarifai/client/__pycache__/base.cpython-310.pyc +0 -0
  22. clarifai/client/__pycache__/dataset.cpython-310.pyc +0 -0
  23. clarifai/client/__pycache__/input.cpython-310.pyc +0 -0
  24. clarifai/client/__pycache__/lister.cpython-310.pyc +0 -0
  25. clarifai/client/__pycache__/model.cpython-310.pyc +0 -0
  26. clarifai/client/__pycache__/module.cpython-310.pyc +0 -0
  27. clarifai/client/__pycache__/runner.cpython-310.pyc +0 -0
  28. clarifai/client/__pycache__/search.cpython-310.pyc +0 -0
  29. clarifai/client/__pycache__/user.cpython-310.pyc +0 -0
  30. clarifai/client/__pycache__/workflow.cpython-310.pyc +0 -0
  31. clarifai/client/auth/__pycache__/__init__.cpython-310.pyc +0 -0
  32. clarifai/client/auth/__pycache__/helper.cpython-310.pyc +0 -0
  33. clarifai/client/auth/__pycache__/register.cpython-310.pyc +0 -0
  34. clarifai/client/auth/__pycache__/stub.cpython-310.pyc +0 -0
  35. clarifai/constants/__pycache__/dataset.cpython-310.pyc +0 -0
  36. clarifai/constants/__pycache__/model.cpython-310.pyc +0 -0
  37. clarifai/constants/__pycache__/search.cpython-310.pyc +0 -0
  38. clarifai/datasets/__pycache__/__init__.cpython-310.pyc +0 -0
  39. clarifai/datasets/export/__pycache__/__init__.cpython-310.pyc +0 -0
  40. clarifai/datasets/export/__pycache__/inputs_annotations.cpython-310.pyc +0 -0
  41. clarifai/datasets/upload/__pycache__/__init__.cpython-310.pyc +0 -0
  42. clarifai/datasets/upload/__pycache__/base.cpython-310.pyc +0 -0
  43. clarifai/datasets/upload/__pycache__/features.cpython-310.pyc +0 -0
  44. clarifai/datasets/upload/__pycache__/image.cpython-310.pyc +0 -0
  45. clarifai/datasets/upload/__pycache__/text.cpython-310.pyc +0 -0
  46. clarifai/datasets/upload/__pycache__/utils.cpython-310.pyc +0 -0
  47. clarifai/models/__pycache__/__init__.cpython-310.pyc +0 -0
  48. clarifai/models/model_serving/__pycache__/__init__.cpython-310.pyc +0 -0
  49. clarifai/models/model_serving/__pycache__/constants.cpython-310.pyc +0 -0
  50. clarifai/models/model_serving/cli/__pycache__/__init__.cpython-310.pyc +0 -0
  51. clarifai/models/model_serving/cli/__pycache__/_utils.cpython-310.pyc +0 -0
  52. clarifai/models/model_serving/cli/__pycache__/base.cpython-310.pyc +0 -0
  53. clarifai/models/model_serving/cli/__pycache__/build.cpython-310.pyc +0 -0
  54. clarifai/models/model_serving/cli/__pycache__/create.cpython-310.pyc +0 -0
  55. clarifai/models/model_serving/model_config/__pycache__/__init__.cpython-310.pyc +0 -0
  56. clarifai/models/model_serving/model_config/__pycache__/base.cpython-310.pyc +0 -0
  57. clarifai/models/model_serving/model_config/__pycache__/config.cpython-310.pyc +0 -0
  58. clarifai/models/model_serving/model_config/__pycache__/inference_parameter.cpython-310.pyc +0 -0
  59. clarifai/models/model_serving/model_config/__pycache__/output.cpython-310.pyc +0 -0
  60. clarifai/models/model_serving/model_config/triton/__pycache__/__init__.cpython-310.pyc +0 -0
  61. clarifai/models/model_serving/model_config/triton/__pycache__/serializer.cpython-310.pyc +0 -0
  62. clarifai/models/model_serving/model_config/triton/__pycache__/triton_config.cpython-310.pyc +0 -0
  63. clarifai/models/model_serving/model_config/triton/__pycache__/wrappers.cpython-310.pyc +0 -0
  64. clarifai/models/model_serving/repo_build/__pycache__/__init__.cpython-310.pyc +0 -0
  65. clarifai/models/model_serving/repo_build/__pycache__/build.cpython-310.pyc +0 -0
  66. clarifai/models/model_serving/repo_build/static_files/__pycache__/base_test.cpython-310-pytest-7.2.0.pyc +0 -0
  67. clarifai/rag/__pycache__/__init__.cpython-310.pyc +0 -0
  68. clarifai/rag/__pycache__/rag.cpython-310.pyc +0 -0
  69. clarifai/rag/__pycache__/utils.cpython-310.pyc +0 -0
  70. clarifai/runners/deepgram_live_transcribe.py +0 -98
  71. clarifai/runners/deepgram_live_transcribe.py~ +0 -98
  72. clarifai/runners/deepgram_runner.py +0 -131
  73. clarifai/runners/deepgram_runner.py~ +0 -130
  74. clarifai/runners/example_llama2.py~ +0 -72
  75. clarifai/runners/matt_example.py +0 -89
  76. clarifai/runners/matt_example.py~ +0 -87
  77. clarifai/runners/matt_llm_example.py +0 -129
  78. clarifai/runners/matt_llm_example.py~ +0 -128
  79. clarifai/schema/__pycache__/search.cpython-310.pyc +0 -0
  80. clarifai/urls/__pycache__/helper.cpython-310.pyc +0 -0
  81. clarifai/utils/__pycache__/__init__.cpython-310.pyc +0 -0
  82. clarifai/utils/__pycache__/logging.cpython-310.pyc +0 -0
  83. clarifai/utils/__pycache__/misc.cpython-310.pyc +0 -0
  84. clarifai/utils/__pycache__/model_train.cpython-310.pyc +0 -0
  85. clarifai/workflows/__pycache__/__init__.cpython-310.pyc +0 -0
  86. clarifai/workflows/__pycache__/export.cpython-310.pyc +0 -0
  87. clarifai/workflows/__pycache__/utils.cpython-310.pyc +0 -0
  88. clarifai/workflows/__pycache__/validate.cpython-310.pyc +0 -0
  89. {clarifai-10.5.3.dist-info → clarifai-10.7.0.dist-info}/LICENSE +0 -0
  90. {clarifai-10.5.3.dist-info → clarifai-10.7.0.dist-info}/entry_points.txt +0 -0
  91. {clarifai-10.5.3.dist-info → clarifai-10.7.0.dist-info}/top_level.txt +0 -0
@@ -1,68 +1,37 @@
1
- clarifai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1
+ clarifai/__init__.py,sha256=9VjBfsEYJF5PsmYbaZqem3HOFjLlVd77_XvGC9hBJrQ,23
2
2
  clarifai/cli.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  clarifai/errors.py,sha256=RwzTajwds51wLD0MVlMC5kcpBnzRpreDLlazPSBZxrg,2605
4
- clarifai/versions.py,sha256=wVsoFKnImyjjiEw9dKq-aaq63y7Qv8coXeod6oIuWHU,186
5
- clarifai/__pycache__/__init__.cpython-310.pyc,sha256=nvGQh8hh97YZ3TCPrTZ9AtaxoEfGGGSQBAIl_Giue5A,153
6
- clarifai/__pycache__/errors.cpython-310.pyc,sha256=QE9YjhhwdyWlK2-YkRo97FaIw0mmJU6KjSNQhjWv9dY,3046
7
- clarifai/__pycache__/versions.cpython-310.pyc,sha256=dX3HFoo2pgJcjlXkcwBewqd3LGOPQPCIcmGOfu3l1r0,346
4
+ clarifai/versions.py,sha256=jctnczzfGk_S3EnVqb2FjRKfSREkNmvNEwAAa_VoKiQ,222
8
5
  clarifai/client/__init__.py,sha256=xI1U0l5AZdRThvQAXCLsd9axxyFzXXJ22m8LHqVjQRU,662
9
- clarifai/client/app.py,sha256=br3C2paGmWzKu4eG0kUN1m8kDPKqpGPq28f7Xiy2v54,27329
10
- clarifai/client/base.py,sha256=wStnn_gS6sYo36OlYRzEkOFShXOQg3DKUp8i6DomAxQ,7178
6
+ clarifai/client/app.py,sha256=UQ1TKYfZu-tYvoyMyEVN0Zsq_Wm_Tl_T70ff1UIjomw,28497
7
+ clarifai/client/base.py,sha256=JXbbjg2CXo8rOdw-XgKWWtLVAhPv3OZua5LFT5w4U2Q,7380
11
8
  clarifai/client/dataset.py,sha256=XX-J-9Ict1CQrEycq-JbdxUTuucSgLeDSvnlHE1ucQY,29903
12
- clarifai/client/input.py,sha256=Av_gPrmwa1vorDs5Pz9jUbY1MwXHYFb3NyF_a1S1aII,41630
9
+ clarifai/client/input.py,sha256=ZLqa1jGx4NgCbunOTpJxCq4lDQ5xAf4GQ0rsZY8AHCM,44456
13
10
  clarifai/client/lister.py,sha256=03KGMvs5RVyYqxLsSrWhNc34I8kiF1Ph0NeyEwu7nMU,2082
14
11
  clarifai/client/model.py,sha256=Q0XEOWaZvSFPx7cLp4xJcwV5SVD1iU_6-DdDJmF-Hfk,72623
15
12
  clarifai/client/module.py,sha256=360JaOasX0DZCNE_Trj0LNTr-T_tUDZLfGpz0CdIi78,4248
16
- clarifai/client/search.py,sha256=iwZqwuEodbjIOEPMIjpic8caFGg3u51RK816pr-574o,14964
17
- clarifai/client/user.py,sha256=EQTeotfYTNedGcbTICYOUJqKgWhfVHvaMRTJ1hdoIdQ,10372
13
+ clarifai/client/search.py,sha256=GaPWN6JmTQGZaCHr6U1yv0zqR6wKFl7i9IVLg2ul1CI,14254
14
+ clarifai/client/user.py,sha256=Fr3vDEHieqD7HRRKnlp9h-AIX4AuYBirRYtG4KLwSe8,11836
18
15
  clarifai/client/workflow.py,sha256=e3axkhU6c6WcxK9P5tgmnV464k-afslSzsSXx6nSMgA,10560
19
- clarifai/client/__pycache__/__init__.cpython-310.pyc,sha256=sjcH3Oc-vVFHbcem6LRCcjDRdT5dXQUHptNByd1Y6xc,887
20
- clarifai/client/__pycache__/app.cpython-310.pyc,sha256=vvLJXma0JaP5rVWHrCGDJMa_ocnHYZ2h022C03AQvak,23570
21
- clarifai/client/__pycache__/base.cpython-310.pyc,sha256=wzkJM4ZlSCOjYvxlXS0Aq7VEGLjWqDxMdgFfOLTJi6k,6088
22
- clarifai/client/__pycache__/dataset.cpython-310.pyc,sha256=ebXy13jbR8O5mpEVaU-5hVY1dN7Ospogf2W3rHwgNrk,24050
23
- clarifai/client/__pycache__/input.cpython-310.pyc,sha256=byqp-8_fDQYrk7g0mwKO4P80GbbAbwB_8BXvgFVGqn8,29926
24
- clarifai/client/__pycache__/lister.cpython-310.pyc,sha256=Ki9mIbvw3SbtNuMELvtS0yuPOiTi6QAx3UO3WWXCvqw,2132
25
- clarifai/client/__pycache__/model.cpython-310.pyc,sha256=yncHpOMCTnukuSrKVgf9Ls9keY8y3fPjKR7tAfx0jcw,21626
26
- clarifai/client/__pycache__/module.cpython-310.pyc,sha256=nw-HGdHJ33Perc2ScmN1tSVkqtkv3wBN5--0hEzBknk,4086
27
- clarifai/client/__pycache__/runner.cpython-310.pyc,sha256=zk40TydNuzhySGzWbCm3U8FP_DX5KkJAgWaqSULwtpk,8168
28
- clarifai/client/__pycache__/search.cpython-310.pyc,sha256=t2eHfjZZtkU9DJFtySSwlJHzYr2gT6n9cVx_vs64yGI,9001
29
- clarifai/client/__pycache__/user.cpython-310.pyc,sha256=dW1_DnCuIb-mMSKP_IQMs9GtLxK1SEt6ccf5YApUHiI,10068
30
- clarifai/client/__pycache__/workflow.cpython-310.pyc,sha256=S5F7LoibyzSQDr3meyJYXJo8opUA7sW7RlzxQ180diE,8993
31
16
  clarifai/client/auth/__init__.py,sha256=7EwR0NrozkAUwpUnCsqXvE_p0wqx_SelXlSpKShKJK0,136
32
17
  clarifai/client/auth/helper.py,sha256=hqwI7Zlsvivc-O9aAdtxyJT3zkpuMvbxjRaiCTsWYGk,14183
33
18
  clarifai/client/auth/register.py,sha256=2CMdBsoVLoTfjyksE6j7BM2tiEc73WKYvxnwDDgNn1k,536
34
19
  clarifai/client/auth/stub.py,sha256=xy4-fV0W8keCgXld4eOVzFQEIKxOktNwtL5bLztReug,4940
35
- clarifai/client/auth/__pycache__/__init__.cpython-310.pyc,sha256=8VRczIoY5s9l4qFKMQdjwUu1Ta5-3Y-U4d2prDKeSAI,313
36
- clarifai/client/auth/__pycache__/helper.cpython-310.pyc,sha256=wt2pThsM-x1I8xGFfWrBEYiY_SThkVj2vNDAtBIUie8,12471
37
- clarifai/client/auth/__pycache__/register.cpython-310.pyc,sha256=BvaXSzGjt8k-B31xRkW5iT293b9w-Co8tMAesr_yk1I,902
38
- clarifai/client/auth/__pycache__/stub.cpython-310.pyc,sha256=FcfGDRr5nK27rlxRP7idLnAdoHJqmxfnMGbOUN1sbpM,4766
39
- clarifai/constants/dataset.py,sha256=OXYirr0iaoN_47V6wxO0H6ptV81y8zNGapPBz9qqD8o,516
20
+ clarifai/constants/dataset.py,sha256=Puz6_FfTm30G5FVBb1GJsobMkNtbg0Y2Soy7eyHjvtI,587
40
21
  clarifai/constants/input.py,sha256=WcHwToUVIK9ItAhDefaSohQHCLNeR55PSjZ0BFnoZ3U,28
41
22
  clarifai/constants/model.py,sha256=oTad43ncskVHfQ9vEbL2yy0Fac666dXr7QuO8zZXHAE,245
42
23
  clarifai/constants/rag.py,sha256=WcHwToUVIK9ItAhDefaSohQHCLNeR55PSjZ0BFnoZ3U,28
43
24
  clarifai/constants/search.py,sha256=yYEqTaFg-KdnpJE_Ytp-EPVHIIC395iNtZrpVlLIf4o,101
44
25
  clarifai/constants/workflow.py,sha256=cECq1xdvf44MCdtK2AbkiuuwhyL-6OWZdQfYbsLKy_o,33
45
- clarifai/constants/__pycache__/dataset.cpython-310.pyc,sha256=NjRKFwNqExEzhMQqJJoXONVTOGj51tvpHrdp9A_WO14,439
46
- clarifai/constants/__pycache__/model.cpython-310.pyc,sha256=_OXqjJ_DQ1rIx8dxtEp4ILq4mpBtNKZnH4onqrxy8_M,325
47
- clarifai/constants/__pycache__/search.cpython-310.pyc,sha256=ZEBvj6pf_qrwBLdMslSCwURyzwWOvC9MEW0XBxrYFr0,219
48
26
  clarifai/datasets/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
49
- clarifai/datasets/__pycache__/__init__.cpython-310.pyc,sha256=VPPHJl6DRW-djdQ_H56tRqeGamlymZ10GIQD3Yv5OoQ,162
50
27
  clarifai/datasets/export/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
51
- clarifai/datasets/export/inputs_annotations.py,sha256=3Bv6JsPzSeGEEJlkF1KR8qDHc_QyHF0ddvHfSiB5Pjc,9479
52
- clarifai/datasets/export/__pycache__/__init__.cpython-310.pyc,sha256=hIQLtGtmTY5nSt6Gt45vRLqVx-8nYRRif-v-QWFBddI,169
53
- clarifai/datasets/export/__pycache__/inputs_annotations.cpython-310.pyc,sha256=vmC37cdc9Scj-KZ3_KInLrHhM7MZZHc-umFuPj1yeIE,9432
28
+ clarifai/datasets/export/inputs_annotations.py,sha256=Mzo7UMoxuOvgLSmkU9e6WvSCGLPIa6NXKuQHyesVLG8,9737
54
29
  clarifai/datasets/upload/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
55
30
  clarifai/datasets/upload/base.py,sha256=IP4sdBRfThk2l0W1rDWciFrAJnKwVsM-gu4zEslJ2_E,2198
56
31
  clarifai/datasets/upload/features.py,sha256=oq0PGpAw8LEafiSkdMMl0yn-NJeZ7K_CKzpJ71b0H40,1731
57
32
  clarifai/datasets/upload/image.py,sha256=pNFTThEVGIK9RNIsUuSSQE59LfO-tKkhsXSR7CONAEg,8293
58
33
  clarifai/datasets/upload/text.py,sha256=KM_LupAqYYxmbl1Q5nTsr3eV1RAYDfr-2xzf4cP6rfY,2083
59
34
  clarifai/datasets/upload/utils.py,sha256=h7mtN9FZXhQQbf47EXczgb-NTY2uOE9AJlE9u4-hDwI,9627
60
- clarifai/datasets/upload/__pycache__/__init__.cpython-310.pyc,sha256=wf7NKVMa3qnOeCv0GD3Rc-CMdcT8N_Q7CDAHGjv-RfA,169
61
- clarifai/datasets/upload/__pycache__/base.cpython-310.pyc,sha256=tQo8Pow5aM0IqwMi5fAF-PlcAzHxLDGxkI69G9cEC78,3223
62
- clarifai/datasets/upload/__pycache__/features.cpython-310.pyc,sha256=cThlZcb33iB4WsR5-EftbJGRkCTn6otT0wbo8NPBebQ,1882
63
- clarifai/datasets/upload/__pycache__/image.cpython-310.pyc,sha256=OHqQFzukKVyp4CfGIYNPa-8aOYbOySBM72AbiAjgiYg,5830
64
- clarifai/datasets/upload/__pycache__/text.cpython-310.pyc,sha256=zjc7j-zzutsjP3kuxR7KwYwMMNrdSPtDWiORFuzO72I,2531
65
- clarifai/datasets/upload/__pycache__/utils.cpython-310.pyc,sha256=Zhe0S0lCJByg0W5KiDtDClL1kS_pvfxV93KdwK7YYhE,7477
66
35
  clarifai/datasets/upload/loaders/README.md,sha256=aNRutSCTzLp2ruIZx74ZkN5AxpzwKOxMa7OzabnKpwg,2980
67
36
  clarifai/datasets/upload/loaders/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
68
37
  clarifai/datasets/upload/loaders/coco_captions.py,sha256=YfuNXplbdoH8N9ph7RyN9MfJTtOcJBG4ie1ow6-mELA,1516
@@ -71,13 +40,10 @@ clarifai/datasets/upload/loaders/imagenet_classification.py,sha256=LuylazxpI5V8f
71
40
  clarifai/datasets/upload/loaders/xview_detection.py,sha256=hk8cZdYZimm4KOaZvBjYcC6ikURZMn51xmn7pXZT3HE,6052
72
41
  clarifai/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
73
42
  clarifai/models/api.py,sha256=d3FQQlG0mNDLrfEvchqaVcq4Tgb_TqryNnJtwp3c7sE,10961
74
- clarifai/models/__pycache__/__init__.cpython-310.pyc,sha256=zKs_C3koRzmCtCEoPKOXKb8mnTTbTghIzRhHUnb_6oM,163
75
43
  clarifai/models/model_serving/README.md,sha256=zXnKybVoIF_LYHKKY2vijTCaGcb2-GJ5kef2uB1WFrs,4241
76
44
  clarifai/models/model_serving/__init__.py,sha256=78fiK9LvdGvpMxICmZWqSIyS6BFATjW2s5R6_GgtbPA,645
77
45
  clarifai/models/model_serving/constants.py,sha256=8eVT6iYGRF4s4SKoHFUmDwCX6C2EiEiCOP1MIgtcc6A,692
78
46
  clarifai/models/model_serving/utils.py,sha256=vdFLyxvcDJhgFdw2jaOsVNVmLlw87ymGTgQachVleOU,1089
79
- clarifai/models/model_serving/__pycache__/__init__.cpython-310.pyc,sha256=JOslhl0r5h55n7-EwdTafVn6gXreFlw9MIlXXNGnU98,228
80
- clarifai/models/model_serving/__pycache__/constants.cpython-310.pyc,sha256=Ya-U8xw13myvfJNO6LpnnnI2fN6vsqIUZQSb1u9_r-g,800
81
47
  clarifai/models/model_serving/cli/__init__.py,sha256=Nls28G-fedNw2oQZIkPQSN__TgjJXbG9RDzzuHIM0VI,575
82
48
  clarifai/models/model_serving/cli/_utils.py,sha256=CZTKKiaoO1Mg5MKQS2Qhgy4JRjnkEHqy8zY5U6b6C0w,1734
83
49
  clarifai/models/model_serving/cli/base.py,sha256=k4ARNU1koNzGAi9ach6Vpk7hpISZySiYHyKjkBLuHLg,283
@@ -87,11 +53,6 @@ clarifai/models/model_serving/cli/create.py,sha256=wtKcVi8XSPN-Fx0RrSUxEwH1hm5Tb
87
53
  clarifai/models/model_serving/cli/example_cli.py,sha256=tCm0J4EI0kuuSRhEiPTuraSA-bUYwtEFEHcL1eOXzRI,1039
88
54
  clarifai/models/model_serving/cli/login.py,sha256=IQHL3SdERThnCTGPp5HnI41B0-BTzzGb2wx0P8-KIIA,771
89
55
  clarifai/models/model_serving/cli/upload.py,sha256=kOz8OOEobo6sLUkS1xg0672PTmMkx0aWxjKMhSRlMwM,7013
90
- clarifai/models/model_serving/cli/__pycache__/__init__.cpython-310.pyc,sha256=bFk2As7XN-ecoMsLeQzUlATvyotjvAxWtpVWet4wGQ8,181
91
- clarifai/models/model_serving/cli/__pycache__/_utils.cpython-310.pyc,sha256=iuD3tC05CAMyKFyTzu4PFqHxMF5fnqOgiY1geEgl9zU,2053
92
- clarifai/models/model_serving/cli/__pycache__/base.cpython-310.pyc,sha256=TWpOWSuLtXTsT840-kQ2dRY0EUnEuQgiOEUlelg9czY,764
93
- clarifai/models/model_serving/cli/__pycache__/build.cpython-310.pyc,sha256=K__uYmRt8Q_2jyzNbT5X03W4WvPK2C2c4-uR6hP7w7Y,2656
94
- clarifai/models/model_serving/cli/__pycache__/create.cpython-310.pyc,sha256=RdiRP_HxA7YUwWlTOcCUVs1FFA6sbJUvatt9bBfnvpE,5247
95
56
  clarifai/models/model_serving/docs/cli.md,sha256=fLgyY8sYMPjYQW_q8Q9yJYB_ryDVGbzj2VouJgvkEFw,4564
96
57
  clarifai/models/model_serving/docs/concepts.md,sha256=ppQADibKQInf9JpfcH7wIpcMndTZ3618or5yzMhGNOE,9376
97
58
  clarifai/models/model_serving/docs/dependencies.md,sha256=apwg_IxDBzovtQYXRpWMU9pUqdf0VaS10yMVOYYXhoc,728
@@ -102,11 +63,6 @@ clarifai/models/model_serving/model_config/base.py,sha256=Jow6cFvREtWRaaXw1hobWJ
102
63
  clarifai/models/model_serving/model_config/config.py,sha256=EWkPcui370QEYJAjlzuLupLlaZF2BgFbK0Jhx_JDHnk,10188
103
64
  clarifai/models/model_serving/model_config/inference_parameter.py,sha256=fDPRkwsntaGZWQWOiCW8x0tcyHPeSCYZwBZoZb2oBzw,3924
104
65
  clarifai/models/model_serving/model_config/output.py,sha256=uyXY-B9mmoe8lizTpYEBRYI1KDNQh3ihEiEB4Ne65uc,4634
105
- clarifai/models/model_serving/model_config/__pycache__/__init__.cpython-310.pyc,sha256=wzLw_0sVLs6FAcO24_xGsokEPw5fOPFCmozA7rvw_P8,329
106
- clarifai/models/model_serving/model_config/__pycache__/base.cpython-310.pyc,sha256=f7icV5QYjQqpxh4LDRKBHC2RvcHOVMwDjFJFYsJDxtw,13642
107
- clarifai/models/model_serving/model_config/__pycache__/config.cpython-310.pyc,sha256=HuuEzMeC6BGdVqETSkuRsMhzhC3GhZQsJv0g0ESo-pA,10037
108
- clarifai/models/model_serving/model_config/__pycache__/inference_parameter.cpython-310.pyc,sha256=4wwdShF1N4DAG67KQCtMraf8fq6R6r5GB2K4QY46BBU,5471
109
- clarifai/models/model_serving/model_config/__pycache__/output.cpython-310.pyc,sha256=ecvVqE04IoMcfcGAW7YcbMEnMY3MZci2pYyKSjkSuuk,4220
110
66
  clarifai/models/model_serving/model_config/model_types_config/multimodal-embedder.yaml,sha256=4wFQ2R8PiJrXR_8AEgUDD-22gY9sK93y9r68mSOOVnw,541
111
67
  clarifai/models/model_serving/model_config/model_types_config/text-classifier.yaml,sha256=0hicyQM-R2Za62RaBexdNCkHBDdacwMRVAL8Yk_sVzs,421
112
68
  clarifai/models/model_serving/model_config/model_types_config/text-embedder.yaml,sha256=MEnVsO3-SAOFSW7-b0BOSxgUNxdhXfmE98hXstBt104,395
@@ -120,20 +76,13 @@ clarifai/models/model_serving/model_config/triton/__init__.py,sha256=uJUjpRauhVp
120
76
  clarifai/models/model_serving/model_config/triton/serializer.py,sha256=eYwXfaJkeXMaiQq_EDG4vWOCc1CKfnC_U6dSp2Urak0,4278
121
77
  clarifai/models/model_serving/model_config/triton/triton_config.py,sha256=mDZafUByvEgM1vd0QZL8nM-cOCqeR-06iOC2T6x8hr4,4696
122
78
  clarifai/models/model_serving/model_config/triton/wrappers.py,sha256=-O8t2AEJXvqJlUNtKtr8CUlxLjheV2GfBtM0sB_B1v0,8660
123
- clarifai/models/model_serving/model_config/triton/__pycache__/__init__.cpython-310.pyc,sha256=Zr8o6FF7Y829ixgFu5qbUzh6jeWHMEYNrgfNr_cWpcc,272
124
- clarifai/models/model_serving/model_config/triton/__pycache__/serializer.cpython-310.pyc,sha256=AXK8yEiV4y5Q7_DeDOyP2qW1nEcKewE2yJZEwD-v0-0,3828
125
- clarifai/models/model_serving/model_config/triton/__pycache__/triton_config.cpython-310.pyc,sha256=UrzrpY5bNN-Liwe-DCFIDpXfjYtDMG7pHD8-56ZYKMo,5421
126
- clarifai/models/model_serving/model_config/triton/__pycache__/wrappers.cpython-310.pyc,sha256=MX_jho-gw5N5J4RpHgposmAnWC19dadWAtKt30f2fBE,6397
127
79
  clarifai/models/model_serving/repo_build/__init__.py,sha256=jFb0RNG4Jh63TH35_Urv0EyNXVMW8FEC2NVHXhlbvqg,673
128
80
  clarifai/models/model_serving/repo_build/build.py,sha256=IlJTjt5YI1alAGv1Fw3kPZeh3yqi45R20rKbWN9vV1s,7195
129
- clarifai/models/model_serving/repo_build/__pycache__/__init__.cpython-310.pyc,sha256=LT2Fak0rswiTo8v16kOMlvechjOUdu8Z7HSmMJMXSoo,290
130
- clarifai/models/model_serving/repo_build/__pycache__/build.cpython-310.pyc,sha256=YaQ0co8m0coHvSGn_At3hEnEJ-w5J1x1n1ccYJaqgYM,5806
131
81
  clarifai/models/model_serving/repo_build/static_files/_requirements.txt,sha256=lIXMfxC4BP6QA5hraObPOwUS3PK9F2mA0Gf8KvlijQE,34
132
82
  clarifai/models/model_serving/repo_build/static_files/base_test.py,sha256=wuwoXk37bgDaLmE-h4KfMoz0Qvr6B-InLzSORYzwF3A,6780
133
83
  clarifai/models/model_serving/repo_build/static_files/inference.py,sha256=TejkXZw43mcZD-M9TkfuqMuABz_cliJgf53_Teodtf0,721
134
84
  clarifai/models/model_serving/repo_build/static_files/sample_clarifai_config.yaml,sha256=VOFSSb7D_CgRRcqi-plaCH-6hoFO8NAGDNXVSOJGylo,678
135
85
  clarifai/models/model_serving/repo_build/static_files/test.py,sha256=GunBqWgTyo0aF5W9ckKz55tGS-wkL9S9TRfytIjB7Eo,1505
136
- clarifai/models/model_serving/repo_build/static_files/__pycache__/base_test.cpython-310-pytest-7.2.0.pyc,sha256=n2PEkZdqH-8ZFQiPn1BLlgy4gB6W0hc5pxUyo0pAVbU,11523
137
86
  clarifai/models/model_serving/repo_build/static_files/triton/model.py,sha256=l9lkwyeXw9H_K4Om9dGcuylnj4hAlzohspUZkSnQ7Qg,2429
138
87
  clarifai/modules/README.md,sha256=mx8pVx6cPp-pP4LcFPT_nX3ngGmhygVK0WiXeD3cbIo,367
139
88
  clarifai/modules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -141,33 +90,15 @@ clarifai/modules/css.py,sha256=kadCEunmyh5h2yf0-4aysE3ZcZ6qaQcxuAgDXS96yF8,2020
141
90
  clarifai/modules/pages.py,sha256=iOoM3RNRMgXlV0qBqcdQofxoXo2RuRQh0h9c9BIS0-I,1383
142
91
  clarifai/modules/style.css,sha256=j7FNPZVhLPj35vvBksAJ90RuX5sLuqzDR5iM2WIEhiA,6073
143
92
  clarifai/rag/__init__.py,sha256=wu3PzAzo7uqgrEzuaC9lY_3gj1HFiR3GU3elZIKTT5g,40
144
- clarifai/rag/rag.py,sha256=ySKI4ChHTJSj3nOL9gfOuZ-0hZTfHFZXVJaO6pX0KkM,12356
93
+ clarifai/rag/rag.py,sha256=0udYyWVzBML-5-E05QuxBz7rNLxu7aMlist5uP7zPIY,12638
145
94
  clarifai/rag/utils.py,sha256=yr1jAcbpws4vFGBqlAwPPE7v1DRba48g8gixLFw8OhQ,4070
146
- clarifai/rag/__pycache__/__init__.cpython-310.pyc,sha256=xAV8OBmLU6qidHU5fr1p2OvQc5N4sy6X1W6ToAUX3mw,213
147
- clarifai/rag/__pycache__/rag.cpython-310.pyc,sha256=a46wbk0s9On4CHKUso-wBCiscINER6X4Anka1yVW04w,9519
148
- clarifai/rag/__pycache__/utils.cpython-310.pyc,sha256=IDUXR7Iv4KfHSY3sbx_bgPdJQn2ozyRCuz01EUTmCUw,3694
149
- clarifai/runners/deepgram_live_transcribe.py,sha256=x2RuZad0eGQXPRwnSYjJ5Qcvyw7KQl1iUXXmvd17Gpo,2556
150
- clarifai/runners/deepgram_live_transcribe.py~,sha256=cvFOlyJh8POJubCWbZN4ROuQlWsQBzWKm89a6xLvShg,2559
151
- clarifai/runners/deepgram_runner.py,sha256=E34nvU1t1W0UV6mC0iHwOHG15G4xk3vKUwwvZzFu7yE,3998
152
- clarifai/runners/deepgram_runner.py~,sha256=M_4aaZfrPt61eS-O0sP1TyrM8BzDcsvchuqAI0c4HXo,3924
153
- clarifai/runners/example_llama2.py~,sha256=-pNAaiLjli-SwJLpSur0UfBLLtnIqvE-0JkTmxLhTgo,2471
154
- clarifai/runners/matt_example.py,sha256=HYF6nhvEFt06Psnz6-hIEkwEetbsd_08RByprDZ66AI,3210
155
- clarifai/runners/matt_example.py~,sha256=-FJ_vpLYAFGaqfszwNJ0t1lDYR0rMNvOEEOTnbh6Bi8,3158
156
- clarifai/runners/matt_llm_example.py,sha256=aByRQReB2nTYE45BQTws1hFSxSsjSWAWetNbFgiyYQg,4550
157
- clarifai/runners/matt_llm_example.py~,sha256=yXX21TqfNmwu9a1B6YZbHzZvVetn8qT-B4zDXSC0hHQ,4518
158
95
  clarifai/schema/search.py,sha256=JjTi8ammJgZZ2OGl4K6tIA4zEJ1Fr2ASZARXavI1j5c,2448
159
- clarifai/schema/__pycache__/search.cpython-310.pyc,sha256=aYuMHmn0ovwmeOhTDj7QAURrQAjlyLm1CwKaz6xktZU,2484
160
96
  clarifai/urls/helper.py,sha256=tjoMGGHuWX68DUB0pk4MEjrmFsClUAQj2jmVEM_Sy78,4751
161
- clarifai/urls/__pycache__/helper.cpython-310.pyc,sha256=OfmR5CybCvhKwvq5XF6YYtYQ82m9rX4yhvRv7YMo1Qc,4426
162
97
  clarifai/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
163
- clarifai/utils/constants.py,sha256=XAIMF2B1O3uBkdhcBJr-JoRPBbS0FWeD4_CBmCTGeH4,96
164
- clarifai/utils/logging.py,sha256=xJTteoUodQ7RfsbO676QgidKa5EVPbdUu89Xlwwso2s,4533
98
+ clarifai/utils/constants.py,sha256=MG_iHnSwNEyUZOpvsrTicNwaT4CIjmlK_Ixk_qqEX8g,142
99
+ clarifai/utils/logging.py,sha256=sR_pRfSHZvHb08KcduAGz9oFrzioWqqCDZ3mHB8rpUY,4601
165
100
  clarifai/utils/misc.py,sha256=GznzquXXFt8J9qzMWtTJPFWCSc5QTs_ZBldW1mXCZzE,1285
166
101
  clarifai/utils/model_train.py,sha256=Mndqy5GNu7kjQHjDyNVyamL0hQFLGSHcWhOuPyOvr1w,8005
167
- clarifai/utils/__pycache__/__init__.cpython-310.pyc,sha256=Q8oK40IQ32SEvd407TGiOQBVbhwcw7_LPevp0mEUr9Y,159
168
- clarifai/utils/__pycache__/logging.cpython-310.pyc,sha256=IK3h-kOoiCWg467LkZFnAjIpndUKOqW8j-KzFhx_icY,3183
169
- clarifai/utils/__pycache__/misc.cpython-310.pyc,sha256=ge_ZlPTZam5eHsAJbtl29Uj--ImIOaKZvn7Eysqyo-E,2320
170
- clarifai/utils/__pycache__/model_train.cpython-310.pyc,sha256=rNxbVNjSRTTnz14M5Rz3xbDQz4xZ_5UEH7L_aTdc1AI,5022
171
102
  clarifai/utils/evaluation/__init__.py,sha256=PYkurUrXrGevByj7RFb6CoU1iC7fllyQSfnnlo9WnY8,69
172
103
  clarifai/utils/evaluation/helpers.py,sha256=d_dcASRI_lhsHIRukAF1S-w7XazLpK9y6E_ug3l50t4,18440
173
104
  clarifai/utils/evaluation/main.py,sha256=0SbTN8cUDjfd4vHUSIG0qVVmDDlJE_5il4vcZGi6a5g,15781
@@ -176,13 +107,9 @@ clarifai/workflows/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuF
176
107
  clarifai/workflows/export.py,sha256=vICRhIreqDSShxLKjHNM2JwzKsf1B4fdXB0ciMcA70k,1945
177
108
  clarifai/workflows/utils.py,sha256=nGeB_yjVgUO9kOeKTg4OBBaBz-AwXI3m-huSVj-9W18,1924
178
109
  clarifai/workflows/validate.py,sha256=yJq03MaJqi5AK3alKGJJBR89xmmjAQ31sVufJUiOqY8,2556
179
- clarifai/workflows/__pycache__/__init__.cpython-310.pyc,sha256=oRKg6B7Z-wWQy0EW2Qz1Eyio17vde-lpn_K4oUMMbfQ,163
180
- clarifai/workflows/__pycache__/export.cpython-310.pyc,sha256=cNmGLnww7xVpm4htd1vRhQJoEZ1dhpN1oD8iLLAtVzM,2418
181
- clarifai/workflows/__pycache__/utils.cpython-310.pyc,sha256=rm2kWk4a3GOKWoerXpEAEeRvGhEe7wPd0ZZ6jHtEGqY,1925
182
- clarifai/workflows/__pycache__/validate.cpython-310.pyc,sha256=QA1i6YdDpY824cqtQvkEaFPpaCa2iqfOwFouqwZfAKY,2139
183
- clarifai-10.5.3.dist-info/LICENSE,sha256=mUqF_d12-qE2n41g7C5_sq-BMLOcj6CNN-jevr15YHU,555
184
- clarifai-10.5.3.dist-info/METADATA,sha256=n7kxLVu1V67LAno5-NOGgVrHRNisIEoaX_5tovcbUyI,19372
185
- clarifai-10.5.3.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
186
- clarifai-10.5.3.dist-info/entry_points.txt,sha256=qZOr_MIPG0dBBE1zringDJS_wXNGTAA_SQ-zcbmDHOw,82
187
- clarifai-10.5.3.dist-info/top_level.txt,sha256=wUMdCQGjkxaynZ6nZ9FAnvBUCgp5RJUVFSy2j-KYo0s,9
188
- clarifai-10.5.3.dist-info/RECORD,,
110
+ clarifai-10.7.0.dist-info/LICENSE,sha256=mUqF_d12-qE2n41g7C5_sq-BMLOcj6CNN-jevr15YHU,555
111
+ clarifai-10.7.0.dist-info/METADATA,sha256=HGrn1G9zveDMvPIpY76CNRr9i7gp5JhddSicHTNhLCo,19372
112
+ clarifai-10.7.0.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
113
+ clarifai-10.7.0.dist-info/entry_points.txt,sha256=qZOr_MIPG0dBBE1zringDJS_wXNGTAA_SQ-zcbmDHOw,82
114
+ clarifai-10.7.0.dist-info/top_level.txt,sha256=wUMdCQGjkxaynZ6nZ9FAnvBUCgp5RJUVFSy2j-KYo0s,9
115
+ clarifai-10.7.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.42.0)
2
+ Generator: setuptools (72.1.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
Binary file
@@ -1,98 +0,0 @@
1
- import os
2
- import httpx
3
- from dotenv import load_dotenv
4
- import threading
5
-
6
- from deepgram import (
7
- DeepgramClient,
8
- LiveTranscriptionEvents,
9
- LiveOptions,
10
- )
11
-
12
- load_dotenv()
13
-
14
- # URL for the realtime streaming audio you would like to transcribe
15
- URL = "http://stream.live.vc.bbcmedia.co.uk/bbc_world_service"
16
-
17
- os.environ["DG_API_KEY"] = "1d5666523f0f2fbaf3e2db6ae7717f6f87280b5e"
18
- API_KEY = os.getenv("DG_API_KEY")
19
-
20
-
21
- def main():
22
- try:
23
- # STEP 1: Create a Deepgram client using the API key
24
- deepgram = DeepgramClient(API_KEY)
25
-
26
- # STEP 2: Create a websocket connection to Deepgram
27
- dg_connection = deepgram.listen.live.v("1")
28
-
29
- # STEP 3: Define the event handlers for the connection
30
- def on_message(self, result, **kwargs):
31
- sentence = result.channel.alternatives[0].transcript
32
- if len(sentence) == 0:
33
- return
34
- print(f"speaker: {sentence}")
35
-
36
- def on_metadata(self, metadata, **kwargs):
37
- print(f"\n\n{metadata}\n\n")
38
-
39
- def on_error(self, error, **kwargs):
40
- print(f"\n\n{error}\n\n")
41
-
42
- # STEP 4: Register the event handlers
43
- dg_connection.on(LiveTranscriptionEvents.Transcript, on_message)
44
- dg_connection.on(LiveTranscriptionEvents.Metadata, on_metadata)
45
- dg_connection.on(LiveTranscriptionEvents.Error, on_error)
46
-
47
- # STEP 5: Configure Deepgram options for live transcription
48
- options = LiveOptions(
49
- model="nova-2",
50
- language="en-US",
51
- smart_format=True,
52
- )
53
-
54
- # STEP 6: Start the connection
55
- dg_connection.start(options)
56
-
57
- # STEP 7: Create a lock and a flag for thread synchronization
58
- lock_exit = threading.Lock()
59
- exit = False
60
-
61
- # STEP 8: Define a thread that streams the audio and sends it to Deepgram
62
- def myThread():
63
- with httpx.stream("GET", URL) as r:
64
- for data in r.iter_bytes():
65
- lock_exit.acquire()
66
- if exit:
67
- break
68
- lock_exit.release()
69
-
70
- dg_connection.send(data)
71
-
72
- # STEP 9: Start the thread
73
- myHttp = threading.Thread(target=myThread)
74
- myHttp.start()
75
-
76
- # STEP 10: Wait for user input to stop recording
77
- input("Press Enter to stop recording...\n\n")
78
-
79
- # STEP 11: Set the exit flag to True to stop the thread
80
- lock_exit.acquire()
81
- exit = True
82
- lock_exit.release()
83
-
84
- # STEP 12: Wait for the thread to finish
85
- myHttp.join()
86
-
87
- # STEP 13: Close the connection to Deepgram
88
- dg_connection.finish()
89
-
90
- print("Finished")
91
-
92
- except Exception as e:
93
- print(f"Could not open socket: {e}")
94
- return
95
-
96
-
97
- if __name__ == "__main__":
98
- main()
@@ -1,98 +0,0 @@
1
- import os
2
- import httpx
3
- from dotenv import load_dotenv
4
- import threading
5
-
6
- from deepgram import (
7
- DeepgramClient,
8
- LiveTranscriptionEvents,
9
- LiveOptions,
10
- )
11
-
12
- load_dotenv()
13
-
14
- # URL for the realtime streaming audio you would like to transcribe
15
- URL = "http://stream.live.vc.bbcmedia.co.uk/bbc_world_service"
16
-
17
- os.environ.set("DG_API_KEY", "1d5666523f0f2fbaf3e2db6ae7717f6f87280b5e")
18
- API_KEY = os.getenv("DG_API_KEY")
19
-
20
-
21
- def main():
22
- try:
23
- # STEP 1: Create a Deepgram client using the API key
24
- deepgram = DeepgramClient(API_KEY)
25
-
26
- # STEP 2: Create a websocket connection to Deepgram
27
- dg_connection = deepgram.listen.live.v("1")
28
-
29
- # STEP 3: Define the event handlers for the connection
30
- def on_message(self, result, **kwargs):
31
- sentence = result.channel.alternatives[0].transcript
32
- if len(sentence) == 0:
33
- return
34
- print(f"speaker: {sentence}")
35
-
36
- def on_metadata(self, metadata, **kwargs):
37
- print(f"\n\n{metadata}\n\n")
38
-
39
- def on_error(self, error, **kwargs):
40
- print(f"\n\n{error}\n\n")
41
-
42
- # STEP 4: Register the event handlers
43
- dg_connection.on(LiveTranscriptionEvents.Transcript, on_message)
44
- dg_connection.on(LiveTranscriptionEvents.Metadata, on_metadata)
45
- dg_connection.on(LiveTranscriptionEvents.Error, on_error)
46
-
47
- # STEP 5: Configure Deepgram options for live transcription
48
- options = LiveOptions(
49
- model="nova-2",
50
- language="en-US",
51
- smart_format=True,
52
- )
53
-
54
- # STEP 6: Start the connection
55
- dg_connection.start(options)
56
-
57
- # STEP 7: Create a lock and a flag for thread synchronization
58
- lock_exit = threading.Lock()
59
- exit = False
60
-
61
- # STEP 8: Define a thread that streams the audio and sends it to Deepgram
62
- def myThread():
63
- with httpx.stream("GET", URL) as r:
64
- for data in r.iter_bytes():
65
- lock_exit.acquire()
66
- if exit:
67
- break
68
- lock_exit.release()
69
-
70
- dg_connection.send(data)
71
-
72
- # STEP 9: Start the thread
73
- myHttp = threading.Thread(target=myThread)
74
- myHttp.start()
75
-
76
- # STEP 10: Wait for user input to stop recording
77
- input("Press Enter to stop recording...\n\n")
78
-
79
- # STEP 11: Set the exit flag to True to stop the thread
80
- lock_exit.acquire()
81
- exit = True
82
- lock_exit.release()
83
-
84
- # STEP 12: Wait for the thread to finish
85
- myHttp.join()
86
-
87
- # STEP 13: Close the connection to Deepgram
88
- dg_connection.finish()
89
-
90
- print("Finished")
91
-
92
- except Exception as e:
93
- print(f"Could not open socket: {e}")
94
- return
95
-
96
-
97
- if __name__ == "__main__":
98
- main()