chainlit 1.1.300rc0__py3-none-any.whl → 1.1.300rc1__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/copilot/dist/index.js +109 -109
- chainlit/frontend/dist/assets/{DailyMotion-e54bf0dc.js → DailyMotion-acaf0251.js} +1 -1
- chainlit/frontend/dist/assets/{Facebook-a767c817.js → Facebook-7e85d6cd.js} +1 -1
- chainlit/frontend/dist/assets/{FilePlayer-5d19f3d1.js → FilePlayer-548ab948.js} +1 -1
- chainlit/frontend/dist/assets/{Kaltura-93bef413.js → Kaltura-63c33135.js} +1 -1
- chainlit/frontend/dist/assets/{Mixcloud-d5d27c2a.js → Mixcloud-553956db.js} +1 -1
- chainlit/frontend/dist/assets/{Mux-ad063035.js → Mux-823ded93.js} +1 -1
- chainlit/frontend/dist/assets/{Preview-a9a0e47e.js → Preview-47f5b210.js} +1 -1
- chainlit/frontend/dist/assets/{SoundCloud-1698c4da.js → SoundCloud-e5e98e65.js} +1 -1
- chainlit/frontend/dist/assets/{Streamable-e5832da9.js → Streamable-14812f3b.js} +1 -1
- chainlit/frontend/dist/assets/{Twitch-cd321ef4.js → Twitch-3e4a9570.js} +1 -1
- chainlit/frontend/dist/assets/{Vidyard-8646c638.js → Vidyard-63580b33.js} +1 -1
- chainlit/frontend/dist/assets/{Vimeo-0e590e3a.js → Vimeo-1c2b5c4c.js} +1 -1
- chainlit/frontend/dist/assets/{Wistia-76f0c9b0.js → Wistia-3dc1d7c3.js} +1 -1
- chainlit/frontend/dist/assets/{YouTube-a94756f4.js → YouTube-d92466dc.js} +1 -1
- chainlit/frontend/dist/assets/{index-51fef15f.js → index-89bf1895.js} +96 -96
- chainlit/frontend/dist/assets/{react-plotly-d9ffbf69.js → react-plotly-691f8eab.js} +1 -1
- chainlit/frontend/dist/index.html +1 -1
- {chainlit-1.1.300rc0.dist-info → chainlit-1.1.300rc1.dist-info}/METADATA +16 -7
- {chainlit-1.1.300rc0.dist-info → chainlit-1.1.300rc1.dist-info}/RECORD +22 -22
- {chainlit-1.1.300rc0.dist-info → chainlit-1.1.300rc1.dist-info}/WHEEL +0 -0
- {chainlit-1.1.300rc0.dist-info → chainlit-1.1.300rc1.dist-info}/entry_points.txt +0 -0
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<script>
|
|
23
23
|
const global = globalThis;
|
|
24
24
|
</script>
|
|
25
|
-
<script type="module" crossorigin src="/assets/index-
|
|
25
|
+
<script type="module" crossorigin src="/assets/index-89bf1895.js"></script>
|
|
26
26
|
<link rel="stylesheet" href="/assets/index-53c62926.css">
|
|
27
27
|
</head>
|
|
28
28
|
<body>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: chainlit
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.300rc1
|
|
4
4
|
Summary: Build Conversational AI.
|
|
5
5
|
Home-page: https://github.com/Chainlit/chainlit
|
|
6
6
|
License: Apache-2.0 license
|
|
@@ -24,6 +24,8 @@ Requires-Dist: httpx (>=0.23.0)
|
|
|
24
24
|
Requires-Dist: lazify (>=0.4.0,<0.5.0)
|
|
25
25
|
Requires-Dist: literalai (==0.0.602)
|
|
26
26
|
Requires-Dist: nest-asyncio (>=1.5.6,<2.0.0)
|
|
27
|
+
Requires-Dist: numpy (>=1.24.4,<2.0.0) ; python_version < "3.9"
|
|
28
|
+
Requires-Dist: numpy (>=1.26,<2.0) ; python_version >= "3.9"
|
|
27
29
|
Requires-Dist: packaging (>=23.1,<24.0)
|
|
28
30
|
Requires-Dist: pydantic (>=1,<3)
|
|
29
31
|
Requires-Dist: pyjwt (>=2.8.0,<3.0.0)
|
|
@@ -42,6 +44,8 @@ Description-Content-Type: text/markdown
|
|
|
42
44
|
|
|
43
45
|
[](https://discord.gg/k73SQ3FyUh)
|
|
44
46
|
[](https://twitter.com/chainlit_io)
|
|
47
|
+

|
|
48
|
+
[](https://github.com/chainlit/chainlit/graphs/contributors)
|
|
45
49
|
[](https://github.com/Chainlit/chainlit/actions/workflows/ci.yaml)
|
|
46
50
|
|
|
47
51
|
**Build production-ready Conversational AI applications in minutes, not weeks ⚡️**
|
|
@@ -60,7 +64,9 @@ Full documentation is available [here](https://docs.chainlit.io). You can ask Ch
|
|
|
60
64
|
> Contact us [here](https://forms.gle/BX3UNBLmTF75KgZVA) for **Enterprise Support**.
|
|
61
65
|
> 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.
|
|
62
66
|
|
|
63
|
-
|
|
67
|
+
<p align="center">
|
|
68
|
+
<img src="https://github.com/Chainlit/chainlit/assets/13104895/0c2cc7a9-766c-41d3-aae2-117a2d0eb8ed" width="80%" />
|
|
69
|
+
</p>
|
|
64
70
|
|
|
65
71
|
## Installation
|
|
66
72
|
|
|
@@ -83,8 +89,10 @@ Create a new file `demo.py` with the following code:
|
|
|
83
89
|
import chainlit as cl
|
|
84
90
|
|
|
85
91
|
|
|
86
|
-
@cl.step
|
|
87
|
-
def tool():
|
|
92
|
+
@cl.step(type="tool")
|
|
93
|
+
async def tool():
|
|
94
|
+
# Fake tool
|
|
95
|
+
await cl.sleep(2)
|
|
88
96
|
return "Response from the tool!"
|
|
89
97
|
|
|
90
98
|
|
|
@@ -101,11 +109,12 @@ async def main(message: cl.Message):
|
|
|
101
109
|
None.
|
|
102
110
|
"""
|
|
103
111
|
|
|
112
|
+
final_answer = await cl.Message(content="").send()
|
|
113
|
+
|
|
104
114
|
# Call the tool
|
|
105
|
-
tool()
|
|
115
|
+
final_answer.content = await tool()
|
|
106
116
|
|
|
107
|
-
|
|
108
|
-
await cl.Message(content="This is the final answer").send()
|
|
117
|
+
await final_answer.update()
|
|
109
118
|
```
|
|
110
119
|
|
|
111
120
|
Now run it!
|
|
@@ -10,7 +10,7 @@ chainlit/config.py,sha256=b9Zaab386X6S0k5F9e-epL-AohRvIQZ9RzicyCPAk3s,16581
|
|
|
10
10
|
chainlit/context.py,sha256=kBnJiKKNhft1nrXFLQnAW6M-_mzMpYqDEFAG5-lrHyo,2813
|
|
11
11
|
chainlit/copilot/dist/assets/logo_dark-2a3cf740.svg,sha256=Kjz3QMh-oh-ag4YatjU0YCPqGF7F8nHh8VUQoJIs01E,8887
|
|
12
12
|
chainlit/copilot/dist/assets/logo_light-b078e7bc.svg,sha256=sHjnvEq1rfqh3bcexJNYUY7WEDdTQZq3aKZYpi4w4ck,8889
|
|
13
|
-
chainlit/copilot/dist/index.js,sha256=
|
|
13
|
+
chainlit/copilot/dist/index.js,sha256=eYJgHsUo_dG6BUF_tB2LCyHGxNNrlgtFFC37GiIJ6aI,6749363
|
|
14
14
|
chainlit/data/__init__.py,sha256=E0NmYlxi0v4V17zKI2btAMKHWyK8kXamVMEQF0m7TPU,16984
|
|
15
15
|
chainlit/data/acl.py,sha256=5EwZuKVcZediw77L661MohGce3JzGIaYmw6NutmMTw0,578
|
|
16
16
|
chainlit/data/sql_alchemy.py,sha256=lY_5fg7LY0zcBZfsfxHYIhC5taM1MCatH9-CLgpg-Vk,26821
|
|
@@ -19,27 +19,27 @@ chainlit/discord/__init__.py,sha256=kZ_AAMaCToqO-1FdeQ8_IHS2pqNT0QJ-yyd8bCMaHHs,
|
|
|
19
19
|
chainlit/discord/app.py,sha256=KvBS-bL89tKzzz2-lqCQVaI2hb4qYTyhl_TzCdhMfHQ,10540
|
|
20
20
|
chainlit/element.py,sha256=qhXq9b6NtvKePHNpyft9QzYS-O2h7zlhsRDCjOmsAhg,10549
|
|
21
21
|
chainlit/emitter.py,sha256=54MPYoYHkOCKJvT30Vvg9mWYzWunGN9I3cFaqIoQ8oU,13037
|
|
22
|
-
chainlit/frontend/dist/assets/DailyMotion-
|
|
23
|
-
chainlit/frontend/dist/assets/Facebook-
|
|
24
|
-
chainlit/frontend/dist/assets/FilePlayer-
|
|
25
|
-
chainlit/frontend/dist/assets/Kaltura-
|
|
26
|
-
chainlit/frontend/dist/assets/Mixcloud-
|
|
27
|
-
chainlit/frontend/dist/assets/Mux-
|
|
28
|
-
chainlit/frontend/dist/assets/Preview-
|
|
29
|
-
chainlit/frontend/dist/assets/SoundCloud-
|
|
30
|
-
chainlit/frontend/dist/assets/Streamable-
|
|
31
|
-
chainlit/frontend/dist/assets/Twitch-
|
|
32
|
-
chainlit/frontend/dist/assets/Vidyard-
|
|
33
|
-
chainlit/frontend/dist/assets/Vimeo-
|
|
34
|
-
chainlit/frontend/dist/assets/Wistia-
|
|
35
|
-
chainlit/frontend/dist/assets/YouTube-
|
|
36
|
-
chainlit/frontend/dist/assets/index-51fef15f.js,sha256=wEpCSTpE3OQDf03qrMXy8sEJLJyuiXZHABTw4FCM4YY,2751506
|
|
22
|
+
chainlit/frontend/dist/assets/DailyMotion-acaf0251.js,sha256=V7Yemyju8XFXi4ZGw0WivDHn78aAZ9npFzo7igwSplA,2961
|
|
23
|
+
chainlit/frontend/dist/assets/Facebook-7e85d6cd.js,sha256=cKhu7SmIfvEWWh51k7p_TGBkWV_c1Qkvw1ntNEwbxP4,3216
|
|
24
|
+
chainlit/frontend/dist/assets/FilePlayer-548ab948.js,sha256=1WH_c16d8Qp8OQl0CKp2FLVijQNzGGcR1N-0Hx_9eWU,9041
|
|
25
|
+
chainlit/frontend/dist/assets/Kaltura-63c33135.js,sha256=lGr6ewcw_3CCNjZfif67iytbinj65ksKmZkcACU-Gy8,2790
|
|
26
|
+
chainlit/frontend/dist/assets/Mixcloud-553956db.js,sha256=JN950Ey-oXEfLBk9gdaCOxEmPQmnBa5vhgrGcFfkVbk,2638
|
|
27
|
+
chainlit/frontend/dist/assets/Mux-823ded93.js,sha256=C_QKGVJhpnFkx0ZBLcjjCCeL2-yKW5APxbw-yXAX0Yo,5360
|
|
28
|
+
chainlit/frontend/dist/assets/Preview-47f5b210.js,sha256=EzgvhXF3omn4Nly2HItpdnMF9FJhoLeoITqCb0jUTtw,3011
|
|
29
|
+
chainlit/frontend/dist/assets/SoundCloud-e5e98e65.js,sha256=QFLtbxOjisGGhGbdj4BPbD4uT3FgKg_Dqb621XphJ_8,2923
|
|
30
|
+
chainlit/frontend/dist/assets/Streamable-14812f3b.js,sha256=iIUhlLY-GbnozrcxvimXfjA6A6wlsZ1Iv28QOd9sLws,2935
|
|
31
|
+
chainlit/frontend/dist/assets/Twitch-3e4a9570.js,sha256=O1njKReUU0b2m7JYU4rpUjS5utIxyhBEvaMyBl9ge8U,3083
|
|
32
|
+
chainlit/frontend/dist/assets/Vidyard-63580b33.js,sha256=R0AGcX0frvMCftE5K5JoLVoavYAL3TGZzjQYL0EVl40,2857
|
|
33
|
+
chainlit/frontend/dist/assets/Vimeo-1c2b5c4c.js,sha256=1t-x-1xpD0-L95P2KkzhRuQfv4nakFYl7pmPA5JonOU,3627
|
|
34
|
+
chainlit/frontend/dist/assets/Wistia-3dc1d7c3.js,sha256=cq8EkTHsnsb9N7gJBlv4xyyIhdVgfoYWydH0ehI7q2I,3514
|
|
35
|
+
chainlit/frontend/dist/assets/YouTube-d92466dc.js,sha256=VFbx9h6xbkF3VRIRm0ZE3fBI368FgqKV7_ln6y0lceM,4448
|
|
37
36
|
chainlit/frontend/dist/assets/index-53c62926.css,sha256=U8YpJoRn8y4ZXI1mRdKl9fIDXCS9Fs9N7gaugq9P9jc,2640
|
|
37
|
+
chainlit/frontend/dist/assets/index-89bf1895.js,sha256=Msp8uB53k_d6KXL9o2x7OcgAousuwGxJesTWp4PPByY,2751565
|
|
38
38
|
chainlit/frontend/dist/assets/logo_dark-2a3cf740.svg,sha256=Kjz3QMh-oh-ag4YatjU0YCPqGF7F8nHh8VUQoJIs01E,8887
|
|
39
39
|
chainlit/frontend/dist/assets/logo_light-b078e7bc.svg,sha256=sHjnvEq1rfqh3bcexJNYUY7WEDdTQZq3aKZYpi4w4ck,8889
|
|
40
|
-
chainlit/frontend/dist/assets/react-plotly-
|
|
40
|
+
chainlit/frontend/dist/assets/react-plotly-691f8eab.js,sha256=gNIMuGbGjxb7caP8JrQoV8Q7VXnPvKUZyRxTuzQjKcw,3739251
|
|
41
41
|
chainlit/frontend/dist/favicon.svg,sha256=0Cy8x28obT5eWW3nxZRhsEvu6_zMqrqbg0y6hT3D0Q0,6455
|
|
42
|
-
chainlit/frontend/dist/index.html,sha256=
|
|
42
|
+
chainlit/frontend/dist/index.html,sha256=ektRClwZl-S_cUlDmeD1s6ZlRp6baW4YIY4DNnOLFkA,1005
|
|
43
43
|
chainlit/haystack/__init__.py,sha256=uZ77YiPy-qleSTi3dQCDO9HE6S6F6GpJWmh7jO4cxXA,217
|
|
44
44
|
chainlit/haystack/callbacks.py,sha256=tItLc6OmskPeDEJH2Qjtg7KgAgIy1TuYQYHTZm9cr3U,5209
|
|
45
45
|
chainlit/hello.py,sha256=LwENQWo5s5r8nNDn4iKSV77vX60Ky5r_qGjQhyi7qlY,416
|
|
@@ -71,7 +71,7 @@ chainlit/user.py,sha256=Cw4uGz0ffivWFszv8W__EHwkvTHQ3Lj9hqpRCPxFujo,619
|
|
|
71
71
|
chainlit/user_session.py,sha256=G1amgs1_h2tVn4mtAXZmunm9nlBHQ_rCYvJQh3nsVwQ,1645
|
|
72
72
|
chainlit/utils.py,sha256=jdDcwOCUqpFRvWd_NWLaEUHB3vRIAU8rb013aWoqXOE,2642
|
|
73
73
|
chainlit/version.py,sha256=iosXhlXclBwBqlADFKEilxAC2wWKbtuBKi87AmPi7s8,196
|
|
74
|
-
chainlit-1.1.
|
|
75
|
-
chainlit-1.1.
|
|
76
|
-
chainlit-1.1.
|
|
77
|
-
chainlit-1.1.
|
|
74
|
+
chainlit-1.1.300rc1.dist-info/METADATA,sha256=w3Eb_xpHMansR80LgYRs_zrgtxn5qf3EhN6u7G200II,6320
|
|
75
|
+
chainlit-1.1.300rc1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
76
|
+
chainlit-1.1.300rc1.dist-info/entry_points.txt,sha256=FrkqdjrFl8juSnvBndniyX7XuKojmUwO4ghRh-CFMQc,45
|
|
77
|
+
chainlit-1.1.300rc1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|