chainlit 2.0rc1__py3-none-any.whl → 2.0.1__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.
Potentially problematic release.
This version of chainlit might be problematic. Click here for more details.
- chainlit/__init__.py +47 -57
- chainlit/action.py +8 -8
- chainlit/auth/__init__.py +1 -1
- chainlit/auth/cookie.py +0 -1
- chainlit/callbacks.py +1 -1
- chainlit/config.py +8 -59
- chainlit/copilot/dist/index.js +8319 -1019
- chainlit/data/__init__.py +71 -2
- chainlit/data/chainlit_data_layer.py +584 -0
- chainlit/data/literalai.py +1 -1
- chainlit/data/sql_alchemy.py +2 -2
- chainlit/data/storage_clients/azure_blob.py +80 -0
- chainlit/data/storage_clients/base.py +6 -0
- chainlit/data/storage_clients/gcs.py +78 -0
- chainlit/data/storage_clients/s3.py +15 -3
- chainlit/element.py +7 -4
- chainlit/emitter.py +1 -14
- chainlit/frontend/dist/assets/{DailyMotion-C-_sjrtO.js → DailyMotion-B8XgmoRm.js} +1 -1
- chainlit/frontend/dist/assets/Dataframe-VU4lXMbv.js +22 -0
- chainlit/frontend/dist/assets/{Facebook-bB34P03l.js → Facebook-fVIMi9h_.js} +1 -1
- chainlit/frontend/dist/assets/{FilePlayer-BWgqGrXv.js → FilePlayer-DlXvvaZa.js} +1 -1
- chainlit/frontend/dist/assets/{Kaltura-OY4P9Ofd.js → Kaltura-C48Ui_4V.js} +1 -1
- chainlit/frontend/dist/assets/{Mixcloud-9CtT8w5Y.js → Mixcloud-Dmjz7RrS.js} +1 -1
- chainlit/frontend/dist/assets/{Mux-BH9A0qEi.js → Mux-Bqaa3ZzG.js} +1 -1
- chainlit/frontend/dist/assets/{Preview-Og00EJ05.js → Preview-B2d1Ugq4.js} +1 -1
- chainlit/frontend/dist/assets/{SoundCloud-D7resGfn.js → SoundCloud-BGuk87T3.js} +1 -1
- chainlit/frontend/dist/assets/{Streamable-6f_6bYz1.js → Streamable-DOe4rXrG.js} +1 -1
- chainlit/frontend/dist/assets/{Twitch-BZJl3peM.js → Twitch-TA7I2UEi.js} +1 -1
- chainlit/frontend/dist/assets/{Vidyard-B7tv4b8_.js → Vidyard-B5F6Dk_y.js} +1 -1
- chainlit/frontend/dist/assets/{Vimeo-F-eA4zQI.js → Vimeo-DP_Y98tQ.js} +1 -1
- chainlit/frontend/dist/assets/Wistia-DB26BTg8.js +1 -0
- chainlit/frontend/dist/assets/{YouTube-aFdJGjI1.js → YouTube-CMwwf2TN.js} +1 -1
- chainlit/frontend/dist/assets/index-88S3ZtD5.css +1 -0
- chainlit/frontend/dist/assets/index-D7lZEN9m.js +8665 -0
- chainlit/frontend/dist/assets/{react-plotly-DoUJXMgz.js → react-plotly-28_xImPF.js} +1 -1
- chainlit/frontend/dist/index.html +2 -2
- chainlit/message.py +0 -2
- chainlit/server.py +275 -67
- chainlit/socket.py +1 -53
- chainlit/step.py +0 -1
- chainlit/translations/en-US.json +1 -1
- chainlit/types.py +17 -3
- {chainlit-2.0rc1.dist-info → chainlit-2.0.1.dist-info}/METADATA +3 -34
- {chainlit-2.0rc1.dist-info → chainlit-2.0.1.dist-info}/RECORD +46 -42
- chainlit/frontend/dist/assets/Wistia-Dhxhn3IB.js +0 -1
- chainlit/frontend/dist/assets/index-Ba33_hdJ.js +0 -1091
- chainlit/frontend/dist/assets/index-CwmincdQ.css +0 -1
- {chainlit-2.0rc1.dist-info → chainlit-2.0.1.dist-info}/WHEEL +0 -0
- {chainlit-2.0rc1.dist-info → chainlit-2.0.1.dist-info}/entry_points.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: chainlit
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.0.1
|
|
4
4
|
Summary: Build Conversational AI.
|
|
5
5
|
Home-page: https://chainlit.io/
|
|
6
6
|
License: Apache-2.0
|
|
@@ -30,12 +30,11 @@ Requires-Dist: httpx (>=0.23.0)
|
|
|
30
30
|
Requires-Dist: lazify (>=0.4.0,<0.5.0)
|
|
31
31
|
Requires-Dist: literalai (==0.0.623)
|
|
32
32
|
Requires-Dist: nest-asyncio (>=1.6.0,<2.0.0)
|
|
33
|
-
Requires-Dist: numpy (>=1.26,<2.0)
|
|
34
33
|
Requires-Dist: packaging (>=23.1,<24.0)
|
|
35
34
|
Requires-Dist: pydantic (>=1,<3)
|
|
36
35
|
Requires-Dist: pyjwt (>=2.8.0,<3.0.0)
|
|
37
36
|
Requires-Dist: python-dotenv (>=1.0.0,<2.0.0)
|
|
38
|
-
Requires-Dist: python-multipart (>=0.0.
|
|
37
|
+
Requires-Dist: python-multipart (>=0.0.18,<0.0.19)
|
|
39
38
|
Requires-Dist: python-socketio (>=5.11.0,<6.0.0)
|
|
40
39
|
Requires-Dist: starlette (>=0.41.2,<0.42.0)
|
|
41
40
|
Requires-Dist: syncer (>=2.0.3,<3.0.0)
|
|
@@ -59,22 +58,10 @@ Description-Content-Type: text/markdown
|
|
|
59
58
|
|
|
60
59
|
Chainlit is an open-source async Python framework which allows developers to build scalable Conversational AI or agentic applications.
|
|
61
60
|
|
|
62
|
-
- ✅ ChatGPT-like application
|
|
63
|
-
- ✅ Embedded Chatbot & Software Copilot
|
|
64
|
-
- ✅ Slack & Discord
|
|
65
|
-
- ✅ Custom frontend (build your own agentic experience)
|
|
66
|
-
- ✅ API Endpoint
|
|
67
|
-
|
|
68
61
|
Full documentation is available [here](https://docs.chainlit.io). You can ask Chainlit related questions to [Chainlit Help](https://help.chainlit.io/), an app built using Chainlit!
|
|
69
62
|
|
|
70
|
-
|
|
71
|
-
> Check out [Literal AI](https://literalai.com), our product to monitor and evaluate LLM applications! It works with any Python or TypeScript applications and [seamlessly](https://docs.chainlit.io/data-persistence/overview) with Chainlit by adding a `LITERAL_API_KEY` in your project.
|
|
72
|
-
>
|
|
73
|
-
> Chainlit is developed and maintained by the Literal AI team, which is currently focused on expanding the capabilities of Literal AI. While we continue to support and maintain Chainlit, we are also committed to enabling the community to contribute, particularly in areas like integrations and data layers.
|
|
63
|
+
https://github.com/user-attachments/assets/b3738aba-55c0-42fa-ac00-6efd1ee0d148
|
|
74
64
|
|
|
75
|
-
<p align="center">
|
|
76
|
-
<img src="https://github.com/Chainlit/chainlit/assets/13104895/0c2cc7a9-766c-41d3-aae2-117a2d0eb8ed" alt="Chainlit user interface" width="80%"></img>
|
|
77
|
-
</p>
|
|
78
65
|
|
|
79
66
|
## Installation
|
|
80
67
|
|
|
@@ -142,24 +129,6 @@ chainlit run demo.py -w
|
|
|
142
129
|
|
|
143
130
|
<img src="/images/quick-start.png" alt="Quick Start"></img>
|
|
144
131
|
|
|
145
|
-
## 🎉 Key Features and Integrations
|
|
146
|
-
|
|
147
|
-
Full documentation is available [here](https://docs.chainlit.io). Key features:
|
|
148
|
-
|
|
149
|
-
- [💬 Multi Modal chats](https://docs.chainlit.io/advanced-features/multi-modal)
|
|
150
|
-
- [💭 Chain of Thought visualization](https://docs.chainlit.io/concepts/step)
|
|
151
|
-
- [💾 Data persistence + human feedback](https://docs.chainlit.io/data-persistence/overview)
|
|
152
|
-
- [🐛 Debug Mode](https://docs.chainlit.io/data-persistence/enterprise#debug-mode)
|
|
153
|
-
- [👤 Authentication](https://docs.chainlit.io/authentication/overview)
|
|
154
|
-
|
|
155
|
-
Chainlit is compatible with all Python programs and libraries. That being said, it comes with integrations for:
|
|
156
|
-
|
|
157
|
-
- [LangChain](https://docs.chainlit.io/integrations/langchain)
|
|
158
|
-
- [Llama Index](https://docs.chainlit.io/integrations/llama-index)
|
|
159
|
-
- [Autogen](https://github.com/Chainlit/cookbook/tree/main/pyautogen)
|
|
160
|
-
- [OpenAI Assistant](https://github.com/Chainlit/cookbook/tree/main/openai-assistant)
|
|
161
|
-
- [Haystack](https://docs.chainlit.io/integrations/haystack)
|
|
162
|
-
|
|
163
132
|
## 📚 More Examples - Cookbook
|
|
164
133
|
|
|
165
134
|
You can find various examples of Chainlit apps [here](https://github.com/Chainlit/cookbook) that leverage tools and services such as OpenAI, Anthropiс, LangChain, LlamaIndex, ChromaDB, Pinecone and more.
|
|
@@ -1,56 +1,60 @@
|
|
|
1
|
-
chainlit/__init__.py,sha256=
|
|
1
|
+
chainlit/__init__.py,sha256=ZfEoaKPb53KVkzNvnsJLH2NWNaMyYvf0cPCZTAOsiNo,4371
|
|
2
2
|
chainlit/__main__.py,sha256=7Vg3w3T3qDuz4KDu5lQhLH6lQ3cYdume7gHH7Z1V97U,87
|
|
3
3
|
chainlit/_utils.py,sha256=vaKfEpXcL4kXktp54IRQWZRK4L_HGK8gJuAoIM29YYc,289
|
|
4
|
-
chainlit/action.py,sha256=
|
|
5
|
-
chainlit/auth/__init__.py,sha256=
|
|
6
|
-
chainlit/auth/cookie.py,sha256=
|
|
4
|
+
chainlit/action.py,sha256=ljtpsPYRtFYigw2G6VbBworRHDL2fq8hE9A4H_fEijw,1333
|
|
5
|
+
chainlit/auth/__init__.py,sha256=RB7rw0-fa4gVh6cAKieqFVGB7F-cr84IOBvx1yoKU1g,2613
|
|
6
|
+
chainlit/auth/cookie.py,sha256=VQOYgLKWz-obtSL4bWLHM7yE2XM2t13fe4q-7izI0K0,3829
|
|
7
7
|
chainlit/auth/jwt.py,sha256=4WIauNNR4WH42L8np6A-stS1lxxZ96eYjHfgsA0bDl0,869
|
|
8
8
|
chainlit/cache.py,sha256=tPWzO4UHMgNnAnKolKdW0pm08ceZykrs25kvpWJHhN8,1389
|
|
9
|
-
chainlit/callbacks.py,sha256=
|
|
9
|
+
chainlit/callbacks.py,sha256=_77KLfR2tXHOLpmDZbWsXWRquXlMvPRpeBPGY1rohKM,10151
|
|
10
10
|
chainlit/chat_context.py,sha256=rVA4t2Df8YzMg-gNVArhDTZZ3wX83nOyKmgyHo8sJjQ,1848
|
|
11
11
|
chainlit/chat_settings.py,sha256=iZ2vSUUz9UIBwrRBTelTJFzvNMDZ5vX2f16BuSDThEY,898
|
|
12
12
|
chainlit/cli/__init__.py,sha256=00uuJPlSinXAV2WuHLIVQOQlZfOEUrwb1PD8coIFG6U,6582
|
|
13
|
-
chainlit/config.py,sha256=
|
|
13
|
+
chainlit/config.py,sha256=QVFTkgjoEjf1oxq2hOVd40rPH_taEEc-7E1XApFRbMw,16131
|
|
14
14
|
chainlit/context.py,sha256=BtbGRdmRRqOC5Vbz8zijkgiN0gyKuDamkPPNrscOgo4,3317
|
|
15
15
|
chainlit/copilot/dist/assets/logo_dark-IkGJ_IwC.svg,sha256=Kjz3QMh-oh-ag4YatjU0YCPqGF7F8nHh8VUQoJIs01E,8887
|
|
16
16
|
chainlit/copilot/dist/assets/logo_light-Bb_IPh6r.svg,sha256=sHjnvEq1rfqh3bcexJNYUY7WEDdTQZq3aKZYpi4w4ck,8889
|
|
17
|
-
chainlit/copilot/dist/index.js,sha256=
|
|
18
|
-
chainlit/data/__init__.py,sha256=
|
|
17
|
+
chainlit/copilot/dist/index.js,sha256=eSroJmXAS-YpvLK1hHoLVBOZwijj9r9S-96xvfHFBms,7737322
|
|
18
|
+
chainlit/data/__init__.py,sha256=u9s1XLiryEW9t0PuJOSbIjOHqgOQ8_BbtAwJcJmZyXI,4729
|
|
19
19
|
chainlit/data/acl.py,sha256=1g9fWxq3K2n06g1Ngb_QNBhyKNXUpKEGiUW6VnAfqtg,575
|
|
20
20
|
chainlit/data/base.py,sha256=CmqWc9BtqGk79UUqJJIni81vAJFaV_UFpaFCw7gTkR0,2527
|
|
21
|
+
chainlit/data/chainlit_data_layer.py,sha256=ZjLy7ngoQrdtWStIiYjk_AsymIBtOoi0TjleYy4uyuA,20686
|
|
21
22
|
chainlit/data/dynamodb.py,sha256=UP3-3KZHFOCWxWQ-PL1VecLLSi0mKwFM-RiEfPtbVWE,19413
|
|
22
|
-
chainlit/data/literalai.py,sha256=
|
|
23
|
-
chainlit/data/sql_alchemy.py,sha256=
|
|
23
|
+
chainlit/data/literalai.py,sha256=qIuwBnOxvO4BAbKrRAg9h4UiYEcGkDMXKHux5Z1jO1Y,17202
|
|
24
|
+
chainlit/data/sql_alchemy.py,sha256=66XK8VXg7VWK2rADfEUo7-RKtDRktI_L-gF1Wg51orc,29562
|
|
24
25
|
chainlit/data/storage_clients/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
25
26
|
chainlit/data/storage_clients/azure.py,sha256=QQYX6J60kbYmQTggQQFaHdsVw61skh1FCL3V0X-Qy30,2531
|
|
26
|
-
chainlit/data/storage_clients/
|
|
27
|
-
chainlit/data/storage_clients/
|
|
27
|
+
chainlit/data/storage_clients/azure_blob.py,sha256=veAXFpOXdLmgj_F9Dw9gcxTyFnVsB0NVmcEjj_Jz-Dk,2933
|
|
28
|
+
chainlit/data/storage_clients/base.py,sha256=oJCq3XiZBPvM6Z_KJUVqNfC5Bkc2yYDTGrsj8BfVLIE,552
|
|
29
|
+
chainlit/data/storage_clients/gcs.py,sha256=ci29lQ8Oqv0QFO370BHCPtzokSxjkIjW8e2adhXTOQs,2569
|
|
30
|
+
chainlit/data/storage_clients/s3.py,sha256=vblM4vg-nEXVArAdxVHlYGBouRe7PIAa8fkuYDXOrvU,1626
|
|
28
31
|
chainlit/data/utils.py,sha256=cVe8p9F-lITgmAD2xhON_h0nKJVrh1P0AUoLCq6JCWs,966
|
|
29
32
|
chainlit/discord/__init__.py,sha256=lTHHcYQmfa2wpJ35m3eveEpUbp6ti2YSA7AdopfsREs,219
|
|
30
33
|
chainlit/discord/app.py,sha256=Kx0Y48Isy1BbwtoVM16tXqAIYtf_j8y1z2kXS5zIkuk,11175
|
|
31
|
-
chainlit/element.py,sha256=
|
|
32
|
-
chainlit/emitter.py,sha256=
|
|
33
|
-
chainlit/frontend/dist/assets/DailyMotion-
|
|
34
|
-
chainlit/frontend/dist/assets/
|
|
35
|
-
chainlit/frontend/dist/assets/
|
|
36
|
-
chainlit/frontend/dist/assets/
|
|
37
|
-
chainlit/frontend/dist/assets/
|
|
38
|
-
chainlit/frontend/dist/assets/
|
|
39
|
-
chainlit/frontend/dist/assets/
|
|
40
|
-
chainlit/frontend/dist/assets/
|
|
41
|
-
chainlit/frontend/dist/assets/
|
|
42
|
-
chainlit/frontend/dist/assets/
|
|
43
|
-
chainlit/frontend/dist/assets/
|
|
44
|
-
chainlit/frontend/dist/assets/
|
|
45
|
-
chainlit/frontend/dist/assets/
|
|
46
|
-
chainlit/frontend/dist/assets/
|
|
47
|
-
chainlit/frontend/dist/assets/
|
|
48
|
-
chainlit/frontend/dist/assets/index-
|
|
34
|
+
chainlit/element.py,sha256=7YVgbeST8qRAYO2kM8LrNvI2q4c_3xgZJL6paCn2n08,11731
|
|
35
|
+
chainlit/emitter.py,sha256=b5DnVVTD_6s0xxjMuBbG5_i3d2yieJt-zZRcWEhqNCg,13800
|
|
36
|
+
chainlit/frontend/dist/assets/DailyMotion-B8XgmoRm.js,sha256=_8qJ5TQ0dTi-Dv4Tk4T8Rf3JNNYV1h8wKwRgu4TXK30,2958
|
|
37
|
+
chainlit/frontend/dist/assets/Dataframe-VU4lXMbv.js,sha256=tdjLRmPP3PFjJP4QhzBKBEujhE5h_6LySi0fYRj4Q44,53932
|
|
38
|
+
chainlit/frontend/dist/assets/Facebook-fVIMi9h_.js,sha256=TB9M8bVQLJAb88kRGmyg2cZGU2Oy5wqu4DY04bFUi5I,3213
|
|
39
|
+
chainlit/frontend/dist/assets/FilePlayer-DlXvvaZa.js,sha256=DLUaAd_sVd5RSdX9hgwoeb8M5HRtv0XRvhI7d4q97iA,9038
|
|
40
|
+
chainlit/frontend/dist/assets/Kaltura-C48Ui_4V.js,sha256=yMTkvso-wIwUBJ0FYr17d4sM8Z1bE2_7UoLSEuUUG0Y,2787
|
|
41
|
+
chainlit/frontend/dist/assets/Mixcloud-Dmjz7RrS.js,sha256=FB-v0pCYLIoDtxjkN_1w_NWX4VGd2i0s4oVfXj6O0XU,2635
|
|
42
|
+
chainlit/frontend/dist/assets/Mux-Bqaa3ZzG.js,sha256=UUipyYQWnFKnP-gmxWZI6kQJ1T4z4AxOmYYdBS4u8jo,5357
|
|
43
|
+
chainlit/frontend/dist/assets/Preview-B2d1Ugq4.js,sha256=tSNo9RDlwkBj_qZ37MjQqDkRrqs4LEe1LePIPxizJCc,3008
|
|
44
|
+
chainlit/frontend/dist/assets/SoundCloud-BGuk87T3.js,sha256=4PbgxXL2G4ULvLGm-6Ov0KfdzsfprTgGM5NdBN3S67M,2920
|
|
45
|
+
chainlit/frontend/dist/assets/Streamable-DOe4rXrG.js,sha256=VCTfJZZQTGliSFgbz_ph7OpM8_KFuCAIZJyceaG0p5Y,2932
|
|
46
|
+
chainlit/frontend/dist/assets/Twitch-TA7I2UEi.js,sha256=OdPkg0YOzE-kw6fksD52xPIjRyDJbOlDlwnAPrxjUS4,3080
|
|
47
|
+
chainlit/frontend/dist/assets/Vidyard-B5F6Dk_y.js,sha256=k3BJR1RunFxp9RRXXz4hEzg8Y49F8UU8okP4GfBV6Jo,2854
|
|
48
|
+
chainlit/frontend/dist/assets/Vimeo-DP_Y98tQ.js,sha256=YCdp1Ek-QpIO_0fljo__j6UgUOqx-bPT-4cO0guss0g,3624
|
|
49
|
+
chainlit/frontend/dist/assets/Wistia-DB26BTg8.js,sha256=iXsIFfL6QB2dgUsB_YFSAJtzwldPZkLvp05LqXcejkw,3516
|
|
50
|
+
chainlit/frontend/dist/assets/YouTube-CMwwf2TN.js,sha256=uzepL7xqsjpqAbPv7ghPy5KQJAmvQk2y38D98bA6flo,4445
|
|
51
|
+
chainlit/frontend/dist/assets/index-88S3ZtD5.css,sha256=cGKXp2DE2llUmsf2tCmYD2_dY300GVhkn_2PoUKehkg,60346
|
|
52
|
+
chainlit/frontend/dist/assets/index-D7lZEN9m.js,sha256=mvEIPYd3SDhM3UeWdlamXnORToJzss5tw7K-UnCZLYc,3729516
|
|
49
53
|
chainlit/frontend/dist/assets/logo_dark-IkGJ_IwC.svg,sha256=Kjz3QMh-oh-ag4YatjU0YCPqGF7F8nHh8VUQoJIs01E,8887
|
|
50
54
|
chainlit/frontend/dist/assets/logo_light-Bb_IPh6r.svg,sha256=sHjnvEq1rfqh3bcexJNYUY7WEDdTQZq3aKZYpi4w4ck,8889
|
|
51
|
-
chainlit/frontend/dist/assets/react-plotly-
|
|
55
|
+
chainlit/frontend/dist/assets/react-plotly-28_xImPF.js,sha256=shPBhBub-l1mYohRwus3M2ltDJ4ceClItw5ll5gy_iA,3762918
|
|
52
56
|
chainlit/frontend/dist/favicon.svg,sha256=0Cy8x28obT5eWW3nxZRhsEvu6_zMqrqbg0y6hT3D0Q0,6455
|
|
53
|
-
chainlit/frontend/dist/index.html,sha256=
|
|
57
|
+
chainlit/frontend/dist/index.html,sha256=pUY9ZjTRzY_35GNLFlN2HcNe_Rc9xJKPNuJSbtCaovA,972
|
|
54
58
|
chainlit/haystack/__init__.py,sha256=uZ77YiPy-qleSTi3dQCDO9HE6S6F6GpJWmh7jO4cxXA,217
|
|
55
59
|
chainlit/haystack/callbacks.py,sha256=J5t6YL3QoxyT0sg8t08nPA7b4VOGKIkmWtkbmFZXjBI,5038
|
|
56
60
|
chainlit/hello.py,sha256=LwENQWo5s5r8nNDn4iKSV77vX60Ky5r_qGjQhyi7qlY,416
|
|
@@ -62,24 +66,24 @@ chainlit/llama_index/__init__.py,sha256=weRoIWCaRBGvA1LczCEfsqhWsltQSVlhtRnTovtd
|
|
|
62
66
|
chainlit/llama_index/callbacks.py,sha256=aCi39G4Sbh_MjuSZbBv3_PM5190YA5UqNTN7DrdtT1I,7282
|
|
63
67
|
chainlit/logger.py,sha256=wTwRSZsLfXwWy6U4351IgWAm4KCMThgxm9EZpjGUEr4,373
|
|
64
68
|
chainlit/markdown.py,sha256=V-Op4hyqyTTvXInU5QrHfxs0nb71lBMU8trOSAlast8,2142
|
|
65
|
-
chainlit/message.py,sha256=
|
|
69
|
+
chainlit/message.py,sha256=rEjxhNkKuRdMsYKHLU5_Q0TCme87VqkK5IDbjOMpKT4,17232
|
|
66
70
|
chainlit/mistralai/__init__.py,sha256=BeH3LRmJ5mUgMlOA8XS61nhoQwVreW6sENJdIrlfDXw,1508
|
|
67
71
|
chainlit/oauth_providers.py,sha256=AnH-bqeCnS7VgyIhgAHDI5-XkVWsFr52yo65ldePxxw,26653
|
|
68
72
|
chainlit/openai/__init__.py,sha256=qGC9yJydzlZffrC1oCPZwpuWwJkittDq74o6U2J_-Ho,1691
|
|
69
73
|
chainlit/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
70
74
|
chainlit/secret.py,sha256=eYbDDENGfk1XcQ-hIOT2kEejZeLi6Y3Y3qWD5Y7JbCg,293
|
|
71
|
-
chainlit/server.py,sha256=
|
|
75
|
+
chainlit/server.py,sha256=UAoKQlF423190accZuXKg-oUaoEysj8RlFXJXaKbzuE,38950
|
|
72
76
|
chainlit/session.py,sha256=8FtqFu31BQKjrHdo_VrrBkSqPqxudoi2bnC8Lifyu-8,9197
|
|
73
77
|
chainlit/slack/__init__.py,sha256=gkC1iYlQrWHDN8bbsWOquwwlyW9DtKAe22GizJJzY7A,226
|
|
74
78
|
chainlit/slack/app.py,sha256=OvbbGZARI1mHOEdVvxh8KTZ35Ryi4AbdP7grjr-VU1k,11742
|
|
75
|
-
chainlit/socket.py,sha256=
|
|
76
|
-
chainlit/step.py,sha256=
|
|
79
|
+
chainlit/socket.py,sha256=yDVlTXeeCCCeBy9RrcJQWCktACMYQciX9ql6o1yg3Zo,12042
|
|
80
|
+
chainlit/step.py,sha256=_bJZ3EuPEcLmtvpfJGpgixQcz6aTUqXEil40-BuS5xE,14312
|
|
77
81
|
chainlit/sync.py,sha256=pEaqdEoOp4W26p9-E11BiXemVTN4_OsYEcYyjLBEj7E,1236
|
|
78
82
|
chainlit/teams/__init__.py,sha256=_lUcuc5R4bYwUoC15jyKES10KTeH8ciSWqV5JyLrW6M,236
|
|
79
83
|
chainlit/teams/app.py,sha256=PAvlGkfF-KGe9PYT6rL8UXu4OYzsPjfTiNsysH1X8NY,10534
|
|
80
84
|
chainlit/telemetry.py,sha256=Rk4dnZv0OnGOgV4kD-VHdhgl4i7i3ypqhSE_R-LZceM,3060
|
|
81
85
|
chainlit/translations/bn.json,sha256=_44si0jO2AFZytfH9sBcINpOveQ4OZs77yf-_VlUtjs,13172
|
|
82
|
-
chainlit/translations/en-US.json,sha256=
|
|
86
|
+
chainlit/translations/en-US.json,sha256=1eyiwtp68DPSTdSQzSPjyMilqija1IUc0SA9TtSVJSo,7777
|
|
83
87
|
chainlit/translations/gu.json,sha256=CkhAowZ0mgMJhQUMrUADfKPfsDgj5mvHlC3WtQ0UjQE,12699
|
|
84
88
|
chainlit/translations/he-IL.json,sha256=fu6FXfoqYqydSh_NcDpS6ZN7byQ-WZkr4zU0qXznqwc,8789
|
|
85
89
|
chainlit/translations/hi.json,sha256=J15GBkMu45RJMj1p5sFVnlackwAp_jKySRsKN-wRCUg,12397
|
|
@@ -91,12 +95,12 @@ chainlit/translations/ta.json,sha256=kLXucUlMCD3jXlPhmOZ3FFZNdXfGDaqVxwqGqJqVF78
|
|
|
91
95
|
chainlit/translations/te.json,sha256=spOs9mYNITEUy_mKp4_9qmXP2yACVrruiQKb1zlRIWU,13608
|
|
92
96
|
chainlit/translations/zh-CN.json,sha256=Y3MhXUDFi4YMxX8-agpCM68efYXCGcHqyqRAen8LLfk,7508
|
|
93
97
|
chainlit/translations.py,sha256=WG_r7HzxBYns-zk9tVvoGdoofv71okTZx8k1RlcoTIg,2034
|
|
94
|
-
chainlit/types.py,sha256=
|
|
98
|
+
chainlit/types.py,sha256=Kx3G-gWd6LeGQweBo5kfC6HaXYysjJT_wU7ztC784Lg,5378
|
|
95
99
|
chainlit/user.py,sha256=yC9WvWYogoAa-6-mBR2HNHuZdE5rejGQD4vqQixIckA,772
|
|
96
100
|
chainlit/user_session.py,sha256=T1nQVN_weELXTrkDIV54YgdrA3zIvJGe1tN-nypunt4,1531
|
|
97
101
|
chainlit/utils.py,sha256=ht6S0RM0-51_EyKZ128yRYAT294Bf3gwgMBzIHv1xRI,3990
|
|
98
102
|
chainlit/version.py,sha256=VcRO6Iwchkv80BWb4hRGkOnBgDhj87-Yjorcv1u5Z3g,276
|
|
99
|
-
chainlit-2.
|
|
100
|
-
chainlit-2.
|
|
101
|
-
chainlit-2.
|
|
102
|
-
chainlit-2.
|
|
103
|
+
chainlit-2.0.1.dist-info/METADATA,sha256=dnq1qFApnABnmOxt80twDulFYIi9dc9VfDWvxOJXQ2M,5150
|
|
104
|
+
chainlit-2.0.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
105
|
+
chainlit-2.0.1.dist-info/entry_points.txt,sha256=FrkqdjrFl8juSnvBndniyX7XuKojmUwO4ghRh-CFMQc,45
|
|
106
|
+
chainlit-2.0.1.dist-info/RECORD,,
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{g,r as m,u as v,a as w}from"./index-Ba33_hdJ.js";function O(t,e){for(var a=0;a<e.length;a++){const s=e[a];if(typeof s!="string"&&!Array.isArray(s)){for(const r in s)if(r!=="default"&&!(r in t)){const o=Object.getOwnPropertyDescriptor(s,r);o&&Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>s[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var C=Object.create,i=Object.defineProperty,k=Object.getOwnPropertyDescriptor,D=Object.getOwnPropertyNames,E=Object.getPrototypeOf,S=Object.prototype.hasOwnProperty,R=(t,e,a)=>e in t?i(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,j=(t,e)=>{for(var a in e)i(t,a,{get:e[a],enumerable:!0})},h=(t,e,a,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of D(e))!S.call(t,r)&&r!==a&&i(t,r,{get:()=>e[r],enumerable:!(s=k(e,r))||s.enumerable});return t},I=(t,e,a)=>(a=t!=null?C(E(t)):{},h(!t||!t.__esModule?i(a,"default",{value:t,enumerable:!0}):a,t)),M=t=>h(i({},"__esModule",{value:!0}),t),n=(t,e,a)=>(R(t,typeof e!="symbol"?e+"":e,a),a),d={};j(d,{default:()=>l});var _=M(d),y=I(m),c=v,P=w;const W="https://fast.wistia.com/assets/external/E-v1.js",x="Wistia",A="wistia-player-";class l extends y.Component{constructor(){super(...arguments),n(this,"callPlayer",c.callPlayer),n(this,"playerID",this.props.config.playerId||`${A}${(0,c.randomString)()}`),n(this,"onPlay",(...e)=>this.props.onPlay(...e)),n(this,"onPause",(...e)=>this.props.onPause(...e)),n(this,"onSeek",(...e)=>this.props.onSeek(...e)),n(this,"onEnded",(...e)=>this.props.onEnded(...e)),n(this,"onPlaybackRateChange",(...e)=>this.props.onPlaybackRateChange(...e)),n(this,"mute",()=>{this.callPlayer("mute")}),n(this,"unmute",()=>{this.callPlayer("unmute")})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(e){const{playing:a,muted:s,controls:r,onReady:o,config:p,onError:b}=this.props;(0,c.getSDK)(W,x).then(f=>{p.customControls&&p.customControls.forEach(u=>f.defineControl(u)),window._wq=window._wq||[],window._wq.push({id:this.playerID,options:{autoPlay:a,silentAutoPlay:"allow",muted:s,controlsVisibleOnLoad:r,fullscreenButton:r,playbar:r,playbackRateControl:r,qualityControl:r,volumeControl:r,settingsControl:r,smallPlayButton:r,...p.options},onReady:u=>{this.player=u,this.unbind(),this.player.bind("play",this.onPlay),this.player.bind("pause",this.onPause),this.player.bind("seek",this.onSeek),this.player.bind("end",this.onEnded),this.player.bind("playbackratechange",this.onPlaybackRateChange),o()}})},b)}unbind(){this.player.unbind("play",this.onPlay),this.player.unbind("pause",this.onPause),this.player.unbind("seek",this.onSeek),this.player.unbind("end",this.onEnded),this.player.unbind("playbackratechange",this.onPlaybackRateChange)}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){this.unbind(),this.callPlayer("remove")}seekTo(e,a=!0){this.callPlayer("time",e),a||this.pause()}setVolume(e){this.callPlayer("volume",e)}setPlaybackRate(e){this.callPlayer("playbackRate",e)}getDuration(){return this.callPlayer("duration")}getCurrentTime(){return this.callPlayer("time")}getSecondsLoaded(){return null}render(){const{url:e}=this.props,a=e&&e.match(P.MATCH_URL_WISTIA)[1],s=`wistia_embed wistia_async_${a}`,r={width:"100%",height:"100%"};return y.default.createElement("div",{id:this.playerID,key:a,className:s,style:r})}}n(l,"displayName","Wistia");n(l,"canPlay",P.canPlay.wistia);n(l,"loopOnEnded",!0);const L=g(_),T=O({__proto__:null,default:L},[_]);export{T as W};
|