url
string | repository_url
string | labels_url
string | comments_url
string | events_url
string | html_url
string | id
int64 | node_id
string | number
int64 | title
string | user
dict | labels
sequence | state
string | locked
bool | assignee
null | assignees
sequence | milestone
null | comments
sequence | created_at
timestamp[s] | updated_at
timestamp[s] | closed_at
timestamp[s] | author_association
string | type
null | active_lock_reason
null | sub_issues_summary
dict | body
string | closed_by
dict | reactions
dict | timeline_url
string | performed_via_github_app
null | state_reason
string | draft
bool | pull_request
dict | is_pull_request
bool |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/36 | https://api.github.com/repos/langflow-ai/langflow-embedded-chat | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/36/labels{/name} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/36/comments | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/36/events | https://github.com/langflow-ai/langflow-embedded-chat/issues/36 | 3,045,657,730 | I_kwDOJ0A4Ac61iQyC | 36 | [BUG] chat widget doesn't honor `chat_position="top-left"` value and always displays below the chat icon | {
"login": "msmygit",
"id": 19366623,
"node_id": "MDQ6VXNlcjE5MzY2NjIz",
"avatar_url": "https://avatars.githubusercontent.com/u/19366623?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/msmygit",
"html_url": "https://github.com/msmygit",
"followers_url": "https://api.github.com/users/msmygit/followers",
"following_url": "https://api.github.com/users/msmygit/following{/other_user}",
"gists_url": "https://api.github.com/users/msmygit/gists{/gist_id}",
"starred_url": "https://api.github.com/users/msmygit/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/msmygit/subscriptions",
"organizations_url": "https://api.github.com/users/msmygit/orgs",
"repos_url": "https://api.github.com/users/msmygit/repos",
"events_url": "https://api.github.com/users/msmygit/events{/privacy}",
"received_events_url": "https://api.github.com/users/msmygit/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | open | false | null | [] | null | [
"Ok, this one seems to be ready to merge.",
"> Really cool, I love it! I would just raise a tiny point, the distributive version of the metrics might not work properly with TF because it is a different way to do, why not to add a \"framework\" detection and raise warning when TF is used, saying something like \"not available yet in TF switch to non distributive metric computation\".\r\n> \r\n> What do you think?\r\n\r\nGood point @jplu I'm not sure how you should do distributed metrics evaluation for TF.\r\nThere is only one python script, right?\r\nMaybe it's just the same as in the not-distributed case?",
"I think non-distributed case should work in TF for both cases indeed, but this needs to be tested."
] | 2025-05-07T11:30:54 | 2025-05-07T11:32:03 | null | NONE | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | **End goal**: embed chat widget into a website
**Current value used:**
```
<script src="https://cdn.jsdelivr.net/gh/logspace-ai/[email protected]/dist/build/static/js/bundle.min.js">
</script>
<langflow-chat
window_title="Chat with our content!"
flow_id="<FLOW_UUID>"
host_url="http://<PUBLIC_IP>:7860"
placeholder="What does this website offer?">
</langflow-chat>
```
**Current behavior:**
<img width="508" alt="Image" src="https://github.com/user-attachments/assets/63c187d7-5ece-41d3-9c8c-b104cd7ad367" />
**What else did I try?**
I tried adding `chat_position="top-left"`, but the chat widget doesn't honor this field and doesn't display the chat window at all with the presence of this field and hence I had to remove it.
Would also be nice to have the chat window open above the chat icon and not below like it does today
cc/ @Cristhianzl @lucaseduoli @igorrCarvalho @ogabrielluiz | null | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/36/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/36/timeline | null | null | null | null | false |
https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/35 | https://api.github.com/repos/langflow-ai/langflow-embedded-chat | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/35/labels{/name} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/35/comments | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/35/events | https://github.com/langflow-ai/langflow-embedded-chat/pull/35 | 2,884,016,564 | PR_kwDOJ0A4Ac6MxYD5 | 35 | feat: Add initialization chat message_list parameter | {
"login": "shangwenhe",
"id": 5218468,
"node_id": "MDQ6VXNlcjUyMTg0Njg=",
"avatar_url": "https://avatars.githubusercontent.com/u/5218468?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shangwenhe",
"html_url": "https://github.com/shangwenhe",
"followers_url": "https://api.github.com/users/shangwenhe/followers",
"following_url": "https://api.github.com/users/shangwenhe/following{/other_user}",
"gists_url": "https://api.github.com/users/shangwenhe/gists{/gist_id}",
"starred_url": "https://api.github.com/users/shangwenhe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shangwenhe/subscriptions",
"organizations_url": "https://api.github.com/users/shangwenhe/orgs",
"repos_url": "https://api.github.com/users/shangwenhe/repos",
"events_url": "https://api.github.com/users/shangwenhe/events{/privacy}",
"received_events_url": "https://api.github.com/users/shangwenhe/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | open | false | null | [] | null | [] | 2025-02-27T10:00:12 | 2025-02-27T10:00:12 | null | NONE | null | null | null | Add initialization chat message_list parameter
#34
| null | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/35/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/35/timeline | null | null | false | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/pulls/35",
"html_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/35",
"diff_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/35.diff",
"patch_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/35.patch",
"merged_at": null
} | true |
https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/34 | https://api.github.com/repos/langflow-ai/langflow-embedded-chat | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/34/labels{/name} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/34/comments | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/34/events | https://github.com/langflow-ai/langflow-embedded-chat/issues/34 | 2,883,797,188 | I_kwDOJ0A4Ac6r40DE | 34 | 是否可以增加 messages 参数,在初始化时可以干预它? | {
"login": "shangwenhe",
"id": 5218468,
"node_id": "MDQ6VXNlcjUyMTg0Njg=",
"avatar_url": "https://avatars.githubusercontent.com/u/5218468?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shangwenhe",
"html_url": "https://github.com/shangwenhe",
"followers_url": "https://api.github.com/users/shangwenhe/followers",
"following_url": "https://api.github.com/users/shangwenhe/following{/other_user}",
"gists_url": "https://api.github.com/users/shangwenhe/gists{/gist_id}",
"starred_url": "https://api.github.com/users/shangwenhe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shangwenhe/subscriptions",
"organizations_url": "https://api.github.com/users/shangwenhe/orgs",
"repos_url": "https://api.github.com/users/shangwenhe/repos",
"events_url": "https://api.github.com/users/shangwenhe/events{/privacy}",
"received_events_url": "https://api.github.com/users/shangwenhe/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | open | false | null | [] | null | [] | 2025-02-27T08:29:51 | 2025-02-27T08:29:51 | null | NONE | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | 现状:当前 session_id 已经发过的消息, 当页面刷新后没有被展示出来。
期望:组件可以接收 message 参数, 渲染原有的消息列表。
步骤: 通过 /api/v1/monitor/messages?flow_id={flow_id}&session_id={session_id}
可以获取到之前已经发布过的消息。将获取到的消息通过 messages 传递回去,以达到页面刷新后可以重新展示之前已经发布过的消息。 | null | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/34/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/34/timeline | null | null | null | null | false |
https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/33 | https://api.github.com/repos/langflow-ai/langflow-embedded-chat | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/33/labels{/name} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/33/comments | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/33/events | https://github.com/langflow-ai/langflow-embedded-chat/issues/33 | 2,853,278,367 | I_kwDOJ0A4Ac6qEZKf | 33 | Support more input text | {
"login": "LeonJi0545",
"id": 38520294,
"node_id": "MDQ6VXNlcjM4NTIwMjk0",
"avatar_url": "https://avatars.githubusercontent.com/u/38520294?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeonJi0545",
"html_url": "https://github.com/LeonJi0545",
"followers_url": "https://api.github.com/users/LeonJi0545/followers",
"following_url": "https://api.github.com/users/LeonJi0545/following{/other_user}",
"gists_url": "https://api.github.com/users/LeonJi0545/gists{/gist_id}",
"starred_url": "https://api.github.com/users/LeonJi0545/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/LeonJi0545/subscriptions",
"organizations_url": "https://api.github.com/users/LeonJi0545/orgs",
"repos_url": "https://api.github.com/users/LeonJi0545/repos",
"events_url": "https://api.github.com/users/LeonJi0545/events{/privacy}",
"received_events_url": "https://api.github.com/users/LeonJi0545/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | open | false | null | [] | null | [
"Great! I think when this merged, we can merge sure that Circle Ci stays happy when uploading new datasets. "
] | 2025-02-14T10:24:58 | 2025-02-14T10:24:58 | null | NONE | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | Dear langflow embedded chat team
thanks for the work done.
I want to know are there plans to support line wrapping for input content? | null | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/33/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/33/timeline | null | null | null | null | false |
https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/32 | https://api.github.com/repos/langflow-ai/langflow-embedded-chat | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/32/labels{/name} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/32/comments | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/32/events | https://github.com/langflow-ai/langflow-embedded-chat/issues/32 | 2,836,723,920 | I_kwDOJ0A4Ac6pFPjQ | 32 | Enhancement | {
"login": "flefevre",
"id": 5609620,
"node_id": "MDQ6VXNlcjU2MDk2MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/5609620?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/flefevre",
"html_url": "https://github.com/flefevre",
"followers_url": "https://api.github.com/users/flefevre/followers",
"following_url": "https://api.github.com/users/flefevre/following{/other_user}",
"gists_url": "https://api.github.com/users/flefevre/gists{/gist_id}",
"starred_url": "https://api.github.com/users/flefevre/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/flefevre/subscriptions",
"organizations_url": "https://api.github.com/users/flefevre/orgs",
"repos_url": "https://api.github.com/users/flefevre/repos",
"events_url": "https://api.github.com/users/flefevre/events{/privacy}",
"received_events_url": "https://api.github.com/users/flefevre/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | open | false | null | [] | null | [] | 2025-02-06T22:08:31 | 2025-02-06T22:08:31 | null | NONE | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | Dear langflow embedded chat team
thanks for the work done
I have noticed that the default url is <script src="https://cdn.jsdelivr.net/gh/logspace-ai/[email protected]/dist/build/static/js/bundle.min.js""></script>
I would like to know if you could integrate a default docker configuration in order to create a minimal server that just exposes the javascript.
so with a docker-compose file we could deploy it with langlfow-ai workflow?
Thanks for your help and tips. | null | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/32/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/32/timeline | null | null | null | null | false |
https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/31 | https://api.github.com/repos/langflow-ai/langflow-embedded-chat | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/31/labels{/name} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/31/comments | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/31/events | https://github.com/langflow-ai/langflow-embedded-chat/pull/31 | 2,835,048,604 | PR_kwDOJ0A4Ac6KQItg | 31 | Add messages_container_style and header_style props to ChatWidget and ChatWindow components | {
"login": "h3110Fr13nd",
"id": 83576440,
"node_id": "MDQ6VXNlcjgzNTc2NDQw",
"avatar_url": "https://avatars.githubusercontent.com/u/83576440?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/h3110Fr13nd",
"html_url": "https://github.com/h3110Fr13nd",
"followers_url": "https://api.github.com/users/h3110Fr13nd/followers",
"following_url": "https://api.github.com/users/h3110Fr13nd/following{/other_user}",
"gists_url": "https://api.github.com/users/h3110Fr13nd/gists{/gist_id}",
"starred_url": "https://api.github.com/users/h3110Fr13nd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/h3110Fr13nd/subscriptions",
"organizations_url": "https://api.github.com/users/h3110Fr13nd/orgs",
"repos_url": "https://api.github.com/users/h3110Fr13nd/repos",
"events_url": "https://api.github.com/users/h3110Fr13nd/events{/privacy}",
"received_events_url": "https://api.github.com/users/h3110Fr13nd/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | open | false | null | [] | null | [] | 2025-02-06T09:52:12 | 2025-02-25T06:22:42 | null | NONE | null | null | null | null | null | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/31/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/31/timeline | null | null | false | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/pulls/31",
"html_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/31",
"diff_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/31.diff",
"patch_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/31.patch",
"merged_at": null
} | true |
https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/30 | https://api.github.com/repos/langflow-ai/langflow-embedded-chat | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/30/labels{/name} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/30/comments | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/30/events | https://github.com/langflow-ai/langflow-embedded-chat/issues/30 | 2,817,092,112 | I_kwDOJ0A4Ac6n6WoQ | 30 | NPM support | {
"login": "kutensky",
"id": 4752216,
"node_id": "MDQ6VXNlcjQ3NTIyMTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/4752216?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kutensky",
"html_url": "https://github.com/kutensky",
"followers_url": "https://api.github.com/users/kutensky/followers",
"following_url": "https://api.github.com/users/kutensky/following{/other_user}",
"gists_url": "https://api.github.com/users/kutensky/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kutensky/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kutensky/subscriptions",
"organizations_url": "https://api.github.com/users/kutensky/orgs",
"repos_url": "https://api.github.com/users/kutensky/repos",
"events_url": "https://api.github.com/users/kutensky/events{/privacy}",
"received_events_url": "https://api.github.com/users/kutensky/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | open | false | null | [] | null | [] | 2025-01-29T02:26:17 | 2025-01-29T02:26:17 | null | NONE | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | Do you plan any support of NPM?
Currently the only way to use this library is to download it from CDN.
But you repository is already well written to be built and hosted in NPM.
Currently the use it, we could only download distributed js file and create React wrapper for "langflow-chat" custom component. Meanwhile "langflow-chat" itself is a wrapper for React component.
It would be very nice to be able to download this library as npm package and use "ChatWidget" react component directly | null | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/30/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/30/timeline | null | null | null | null | false |
https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/29 | https://api.github.com/repos/langflow-ai/langflow-embedded-chat | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/29/labels{/name} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/29/comments | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/29/events | https://github.com/langflow-ai/langflow-embedded-chat/pull/29 | 2,727,859,272 | PR_kwDOJ0A4Ac6ElSoe | 29 | Update Langflow Chat bundle to v1.0.7 and add multiple messages support | {
"login": "anovazzi1",
"id": 70824914,
"node_id": "MDQ6VXNlcjcwODI0OTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/70824914?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anovazzi1",
"html_url": "https://github.com/anovazzi1",
"followers_url": "https://api.github.com/users/anovazzi1/followers",
"following_url": "https://api.github.com/users/anovazzi1/following{/other_user}",
"gists_url": "https://api.github.com/users/anovazzi1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anovazzi1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anovazzi1/subscriptions",
"organizations_url": "https://api.github.com/users/anovazzi1/orgs",
"repos_url": "https://api.github.com/users/anovazzi1/repos",
"events_url": "https://api.github.com/users/anovazzi1/events{/privacy}",
"received_events_url": "https://api.github.com/users/anovazzi1/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Ok merging! I think it's good now"
] | 2024-12-09T17:57:20 | 2025-01-21T14:59:44 | 2025-01-21T14:59:44 | COLLABORATOR | null | null | null | This pull request includes updates to the Langflow Chat bundle, specifically updating it to version 1.0.7. Adding support for muliple messages responses | {
"login": "anovazzi1",
"id": 70824914,
"node_id": "MDQ6VXNlcjcwODI0OTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/70824914?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anovazzi1",
"html_url": "https://github.com/anovazzi1",
"followers_url": "https://api.github.com/users/anovazzi1/followers",
"following_url": "https://api.github.com/users/anovazzi1/following{/other_user}",
"gists_url": "https://api.github.com/users/anovazzi1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anovazzi1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anovazzi1/subscriptions",
"organizations_url": "https://api.github.com/users/anovazzi1/orgs",
"repos_url": "https://api.github.com/users/anovazzi1/repos",
"events_url": "https://api.github.com/users/anovazzi1/events{/privacy}",
"received_events_url": "https://api.github.com/users/anovazzi1/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/29/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/29/timeline | null | null | false | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/pulls/29",
"html_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/29",
"diff_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/29.diff",
"patch_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/29.patch",
"merged_at": "2025-01-21T14:59:44"
} | true |
https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/28 | https://api.github.com/repos/langflow-ai/langflow-embedded-chat | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/28/labels{/name} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/28/comments | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/28/events | https://github.com/langflow-ai/langflow-embedded-chat/issues/28 | 2,566,405,371 | I_kwDOJ0A4Ac6Y-Dz7 | 28 | Invalid regular expression | {
"login": "greenmotion",
"id": 26799168,
"node_id": "MDQ6VXNlcjI2Nzk5MTY4",
"avatar_url": "https://avatars.githubusercontent.com/u/26799168?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/greenmotion",
"html_url": "https://github.com/greenmotion",
"followers_url": "https://api.github.com/users/greenmotion/followers",
"following_url": "https://api.github.com/users/greenmotion/following{/other_user}",
"gists_url": "https://api.github.com/users/greenmotion/gists{/gist_id}",
"starred_url": "https://api.github.com/users/greenmotion/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/greenmotion/subscriptions",
"organizations_url": "https://api.github.com/users/greenmotion/orgs",
"repos_url": "https://api.github.com/users/greenmotion/repos",
"events_url": "https://api.github.com/users/greenmotion/events{/privacy}",
"received_events_url": "https://api.github.com/users/greenmotion/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2024-10-04T13:39:00 | 2024-10-11T21:33:43 | 2024-10-11T21:33:43 | NONE | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | I'm probably doing something wrong here, but after compiling and using the embedded-chat, I get the following error in my browser's debugger:
Uncaught SyntaxError: Invalid regular expression: /^["'*`ª°²-´¹º‘-‟′-‷â—â°â±â´-â¿â‚€-₎]+$/: Range out of order in character class (at bundle.min.js:1:83676)
at new RegExp (<anonymous>)
at 5 (bundle.min.js:1:83676)
at r (bundle.min.js:1:96)
at 5781 (bundle.min.js:1:682892)
at r (bundle.min.js:1:96)
at 2479 (bundle.min.js:1:653163)
at r (bundle.min.js:1:96)
at 1661 (bundle.min.js:1:652919)
at r (bundle.min.js:1:96)
at 9759 (bundle.min.js:1:633100)
What am I missing?
Thank you!
GM | {
"login": "greenmotion",
"id": 26799168,
"node_id": "MDQ6VXNlcjI2Nzk5MTY4",
"avatar_url": "https://avatars.githubusercontent.com/u/26799168?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/greenmotion",
"html_url": "https://github.com/greenmotion",
"followers_url": "https://api.github.com/users/greenmotion/followers",
"following_url": "https://api.github.com/users/greenmotion/following{/other_user}",
"gists_url": "https://api.github.com/users/greenmotion/gists{/gist_id}",
"starred_url": "https://api.github.com/users/greenmotion/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/greenmotion/subscriptions",
"organizations_url": "https://api.github.com/users/greenmotion/orgs",
"repos_url": "https://api.github.com/users/greenmotion/repos",
"events_url": "https://api.github.com/users/greenmotion/events{/privacy}",
"received_events_url": "https://api.github.com/users/greenmotion/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/28/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/28/timeline | null | completed | null | null | false |
https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/27 | https://api.github.com/repos/langflow-ai/langflow-embedded-chat | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/27/labels{/name} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/27/comments | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/27/events | https://github.com/langflow-ai/langflow-embedded-chat/issues/27 | 2,518,708,267 | I_kwDOJ0A4Ac6WIHAr | 27 | Any plan to support multi-modal chat? | {
"login": "winglight",
"id": 1176967,
"node_id": "MDQ6VXNlcjExNzY5Njc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1176967?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/winglight",
"html_url": "https://github.com/winglight",
"followers_url": "https://api.github.com/users/winglight/followers",
"following_url": "https://api.github.com/users/winglight/following{/other_user}",
"gists_url": "https://api.github.com/users/winglight/gists{/gist_id}",
"starred_url": "https://api.github.com/users/winglight/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/winglight/subscriptions",
"organizations_url": "https://api.github.com/users/winglight/orgs",
"repos_url": "https://api.github.com/users/winglight/repos",
"events_url": "https://api.github.com/users/winglight/events{/privacy}",
"received_events_url": "https://api.github.com/users/winglight/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | open | false | null | [] | null | [] | 2024-09-11T06:50:31 | 2024-10-08T20:59:21 | null | NONE | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | Just like chat in the playgroud of a langflow to support to upload a file.
Even better if it could support voice input. | null | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/27/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/27/timeline | null | null | null | null | false |
https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/26 | https://api.github.com/repos/langflow-ai/langflow-embedded-chat | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/26/labels{/name} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/26/comments | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/26/events | https://github.com/langflow-ai/langflow-embedded-chat/pull/26 | 2,489,097,011 | PR_kwDOJ0A4Ac55j1NR | 26 | Add api_key to the readme | {
"login": "nicoloboschi",
"id": 23314389,
"node_id": "MDQ6VXNlcjIzMzE0Mzg5",
"avatar_url": "https://avatars.githubusercontent.com/u/23314389?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nicoloboschi",
"html_url": "https://github.com/nicoloboschi",
"followers_url": "https://api.github.com/users/nicoloboschi/followers",
"following_url": "https://api.github.com/users/nicoloboschi/following{/other_user}",
"gists_url": "https://api.github.com/users/nicoloboschi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nicoloboschi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nicoloboschi/subscriptions",
"organizations_url": "https://api.github.com/users/nicoloboschi/orgs",
"repos_url": "https://api.github.com/users/nicoloboschi/repos",
"events_url": "https://api.github.com/users/nicoloboschi/events{/privacy}",
"received_events_url": "https://api.github.com/users/nicoloboschi/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2024-08-27T11:43:37 | 2024-12-09T15:03:36 | 2024-12-09T15:03:36 | CONTRIBUTOR | null | null | null | null | {
"login": "anovazzi1",
"id": 70824914,
"node_id": "MDQ6VXNlcjcwODI0OTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/70824914?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anovazzi1",
"html_url": "https://github.com/anovazzi1",
"followers_url": "https://api.github.com/users/anovazzi1/followers",
"following_url": "https://api.github.com/users/anovazzi1/following{/other_user}",
"gists_url": "https://api.github.com/users/anovazzi1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anovazzi1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anovazzi1/subscriptions",
"organizations_url": "https://api.github.com/users/anovazzi1/orgs",
"repos_url": "https://api.github.com/users/anovazzi1/repos",
"events_url": "https://api.github.com/users/anovazzi1/events{/privacy}",
"received_events_url": "https://api.github.com/users/anovazzi1/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/26/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/26/timeline | null | null | false | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/pulls/26",
"html_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/26",
"diff_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/26.diff",
"patch_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/26.patch",
"merged_at": "2024-12-09T15:03:36"
} | true |
https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/25 | https://api.github.com/repos/langflow-ai/langflow-embedded-chat | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/25/labels{/name} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/25/comments | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/25/events | https://github.com/langflow-ai/langflow-embedded-chat/issues/25 | 2,483,535,362 | I_kwDOJ0A4Ac6UB74C | 25 | chat_position | {
"login": "muralimopidevi",
"id": 25901494,
"node_id": "MDQ6VXNlcjI1OTAxNDk0",
"avatar_url": "https://avatars.githubusercontent.com/u/25901494?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muralimopidevi",
"html_url": "https://github.com/muralimopidevi",
"followers_url": "https://api.github.com/users/muralimopidevi/followers",
"following_url": "https://api.github.com/users/muralimopidevi/following{/other_user}",
"gists_url": "https://api.github.com/users/muralimopidevi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/muralimopidevi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/muralimopidevi/subscriptions",
"organizations_url": "https://api.github.com/users/muralimopidevi/orgs",
"repos_url": "https://api.github.com/users/muralimopidevi/repos",
"events_url": "https://api.github.com/users/muralimopidevi/events{/privacy}",
"received_events_url": "https://api.github.com/users/muralimopidevi/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Very interesting thoughts, we should think deeper about all what you raised indeed.",
"Ok here is a proposal for a more general API and workflow.\r\n\r\n# New `ArrowBasedBuilder`\r\n\r\nFor all the formats that can be directly and efficiently loaded by Arrow (CSV, JSON, Parquet, Arrow), we don't really want to have to go through a conversion to python and back to Arrow. This new builder has a `_generate_tables` method to yield `Arrow.Tables` instead of single examples.\r\nThe tables can be directly casted in Arrow so it's not necessary to supply `Features`, they can be deduced from the `Table` column.\r\n\r\n# Central role of the `BuilderConfig` to store all the arguments necessary for the Dataset creation.\r\n \r\n`BuilderConfig` provide a few defaults fields `name`, `version`, `description`, `data_files` and `data_dir` which can be used to store values necessary for the creation of the dataset. It can be freely extended to store additional information (see the example for `CsvConfig`).\r\n\r\nOn the contrary, `DatasetInfo` is designed as an organized and delimited information storage class with predefined fields.\r\n\r\n`DatasetInfo` now store two names:\r\n- `builder_name`: Name of the builder script used to create the dataset\r\n- `config_name`: Name of the configuration used to create the dataset.\r\n\r\n# Refactoring `load()` arguments and all the chain of processing including the `DownloadManager`\r\n\r\n`load()` now accept a selection of arguments which are used to update the `BuilderConfig` and some kwargs which are used to handle the download process.\r\n\r\nSupplying a `BuilderConfig` as `config` will override the config provided in the dataset. Supplying a `str` will get the associated config from the dataset. Default is to fetch the first config of the dataset.\r\n\r\nGiving additional arguments to `load()` will override the arguments in the `BuilderConfig`.\r\n\r\n# CSV script\r\n\r\nThe `csv.py` script is provided as an example, usage is:\r\n```python\r\nbbc = nlp.load('/Users/thomwolf/Documents/GitHub/datasets/datasets/nlp/csv',\r\n name='bbc',\r\n version=\"1.0.1\",\r\n split='train',\r\n data_files={'train': ['/Users/thomwolf/Documents/GitHub/datasets/datasets/dummy_data/csv/test.csv']},\r\n skip_rows=10,\r\n download_mode='force_redownload')\r\n```\r\n\r\n# Checksums\r\n\r\nWe now don't raise an error if the checksum file is not found.\r\n\r\n# `DownloadConfig`\r\n\r\nWe now have a download configuration class to handle all the specific arguments for file caching like proxies, using only local files or user-agents.",
"Ok merging this for now.\r\n\r\nOne general note is that it's a bit hard to handle the `ClassLabel` generally in both `nlp` and `Arrow` since a class label typically need some metadata for the class names. For now, I raise a `NotImplementedError` when an `ArrowBuilder` output a table with a `DictionaryType` is encountered (which could be a simple equivalent for a `ClassLabel` Feature in Arrow tables).\r\n\r\nIn general and if we need this in the future for some Beam Datasets for instance, I think we should use one of the `metadata` fields in the `Arrow` type or table's schema to store the relation with indices and class names.\r\n\r\nSo ping me if you meet Beam datasets which uses `ClassLabels` (cc @lhoestq @patrickvonplaten @mariamabarham)."
] | 2024-08-23T17:04:44 | 2024-09-18T18:02:35 | 2024-09-18T18:02:35 | NONE | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | {
"login": "muralimopidevi",
"id": 25901494,
"node_id": "MDQ6VXNlcjI1OTAxNDk0",
"avatar_url": "https://avatars.githubusercontent.com/u/25901494?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muralimopidevi",
"html_url": "https://github.com/muralimopidevi",
"followers_url": "https://api.github.com/users/muralimopidevi/followers",
"following_url": "https://api.github.com/users/muralimopidevi/following{/other_user}",
"gists_url": "https://api.github.com/users/muralimopidevi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/muralimopidevi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/muralimopidevi/subscriptions",
"organizations_url": "https://api.github.com/users/muralimopidevi/orgs",
"repos_url": "https://api.github.com/users/muralimopidevi/repos",
"events_url": "https://api.github.com/users/muralimopidevi/events{/privacy}",
"received_events_url": "https://api.github.com/users/muralimopidevi/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/25/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/25/timeline | null | completed | null | null | false |
https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/24 | https://api.github.com/repos/langflow-ai/langflow-embedded-chat | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/24/labels{/name} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/24/comments | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/24/events | https://github.com/langflow-ai/langflow-embedded-chat/pull/24 | 2,466,565,888 | PR_kwDOJ0A4Ac54ZTxQ | 24 | Add start_open prop to ChatWidget component | {
"login": "anovazzi1",
"id": 70824914,
"node_id": "MDQ6VXNlcjcwODI0OTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/70824914?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anovazzi1",
"html_url": "https://github.com/anovazzi1",
"followers_url": "https://api.github.com/users/anovazzi1/followers",
"following_url": "https://api.github.com/users/anovazzi1/following{/other_user}",
"gists_url": "https://api.github.com/users/anovazzi1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anovazzi1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anovazzi1/subscriptions",
"organizations_url": "https://api.github.com/users/anovazzi1/orgs",
"repos_url": "https://api.github.com/users/anovazzi1/repos",
"events_url": "https://api.github.com/users/anovazzi1/events{/privacy}",
"received_events_url": "https://api.github.com/users/anovazzi1/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Looks good to me :-) \r\n\r\nJust would prefer to get rid of the `_DYNAMICALLY_IMPORTED_MODULE` attribute and replace it by a `get_imported_module()` function. Maybe there is something I'm not seeing here though - what do you think? ",
"> * I'm not sure I understand the general organization of checksums. I see we have a checksum folder with potentially several checksum files but I also see that checksum files can potentially contain several checksums. Could you explain a bit more how this is organized?\r\n\r\nIt should look like this:\r\nsquad/\r\n├── squad.py/\r\n└── urls_checksums/\r\n...........└── checksums.txt\r\n\r\nIn checksums.txt, the format is one line per (url, size, checksum)\r\n\r\nI don't have a strong opinion between `urls_checksums/checksums.txt` or directly `checksums.txt` (not inside the `urls_checksums` folder), let me know what you think.\r\n\r\n\r\n> * Also regarding your comment on checksum files for \"canonical\" datasets. I understand we can just create these with `nlp-cli test` and then upload them manually to our S3, right?\r\n\r\nYes you're right",
"Update of the commands:\r\n\r\n- nlp-cli test \\<dataset\\> : Run download_and_prepare and verify checksums\r\n * --name \\<name\\> : run only for the name\r\n * --all_configs : run for all configs\r\n * --save_checksums : instead of verifying checksums, compute and save them\r\n * --ignore_checksums : don't do checksums verification\r\n\r\n- nlp-cli upload \\<dataset_folder\\> : Upload a dataset\r\n * --upload_checksums : compute and upload checksums for uploaded files\r\n\r\nTODO:\r\n- don't overwrite checksums files on S3, to let the user upload a dataset in several steps if needed\r\n\r\nQuestion:\r\n- One idea from @patrickvonplaten : shall we upload checksums everytime we upload files ? (and therefore remove the upload_checksums parameter)",
"Ok, ready to merge, then @lhoestq ?",
"Yep :)"
] | 2024-08-14T18:37:57 | 2024-08-14T18:38:30 | 2024-08-14T18:38:30 | COLLABORATOR | null | null | null | This pull request adds a new prop, `start_open`, to the `ChatWidget` component. The prop allows the chat window to be open by default when the component is rendered. This change improves the customization options for the widget. | {
"login": "anovazzi1",
"id": 70824914,
"node_id": "MDQ6VXNlcjcwODI0OTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/70824914?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anovazzi1",
"html_url": "https://github.com/anovazzi1",
"followers_url": "https://api.github.com/users/anovazzi1/followers",
"following_url": "https://api.github.com/users/anovazzi1/following{/other_user}",
"gists_url": "https://api.github.com/users/anovazzi1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anovazzi1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anovazzi1/subscriptions",
"organizations_url": "https://api.github.com/users/anovazzi1/orgs",
"repos_url": "https://api.github.com/users/anovazzi1/repos",
"events_url": "https://api.github.com/users/anovazzi1/events{/privacy}",
"received_events_url": "https://api.github.com/users/anovazzi1/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/24/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/24/timeline | null | null | false | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/pulls/24",
"html_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/24",
"diff_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/24.diff",
"patch_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/24.patch",
"merged_at": "2024-08-14T18:38:30"
} | true |
https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/23 | https://api.github.com/repos/langflow-ai/langflow-embedded-chat | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/23/labels{/name} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/23/comments | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/23/events | https://github.com/langflow-ai/langflow-embedded-chat/pull/23 | 2,431,217,818 | PR_kwDOJ0A4Ac52htZl | 23 | Add random session ID support | {
"login": "anovazzi1",
"id": 70824914,
"node_id": "MDQ6VXNlcjcwODI0OTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/70824914?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anovazzi1",
"html_url": "https://github.com/anovazzi1",
"followers_url": "https://api.github.com/users/anovazzi1/followers",
"following_url": "https://api.github.com/users/anovazzi1/following{/other_user}",
"gists_url": "https://api.github.com/users/anovazzi1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anovazzi1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anovazzi1/subscriptions",
"organizations_url": "https://api.github.com/users/anovazzi1/orgs",
"repos_url": "https://api.github.com/users/anovazzi1/repos",
"events_url": "https://api.github.com/users/anovazzi1/events{/privacy}",
"received_events_url": "https://api.github.com/users/anovazzi1/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2024-07-26T01:09:01 | 2024-07-26T01:12:19 | 2024-07-26T01:11:49 | COLLABORATOR | null | null | null | This pull request updates the Langflow Chat bundle to version 1.0.5. The previous version was 1.0.4. Additionally, it adds support for session IDs in the ChatWidget component. The session ID is generated using the UUID library. | {
"login": "anovazzi1",
"id": 70824914,
"node_id": "MDQ6VXNlcjcwODI0OTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/70824914?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anovazzi1",
"html_url": "https://github.com/anovazzi1",
"followers_url": "https://api.github.com/users/anovazzi1/followers",
"following_url": "https://api.github.com/users/anovazzi1/following{/other_user}",
"gists_url": "https://api.github.com/users/anovazzi1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anovazzi1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anovazzi1/subscriptions",
"organizations_url": "https://api.github.com/users/anovazzi1/orgs",
"repos_url": "https://api.github.com/users/anovazzi1/repos",
"events_url": "https://api.github.com/users/anovazzi1/events{/privacy}",
"received_events_url": "https://api.github.com/users/anovazzi1/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/23/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/23/timeline | null | null | false | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/pulls/23",
"html_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/23",
"diff_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/23.diff",
"patch_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/23.patch",
"merged_at": "2024-07-26T01:11:49"
} | true |
https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/22 | https://api.github.com/repos/langflow-ai/langflow-embedded-chat | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/22/labels{/name} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/22/comments | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/22/events | https://github.com/langflow-ai/langflow-embedded-chat/issues/22 | 2,429,245,775 | I_kwDOJ0A4Ac6Qy1lP | 22 | Enhancement: add session_id to config | {
"login": "mieslep",
"id": 5420540,
"node_id": "MDQ6VXNlcjU0MjA1NDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/5420540?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mieslep",
"html_url": "https://github.com/mieslep",
"followers_url": "https://api.github.com/users/mieslep/followers",
"following_url": "https://api.github.com/users/mieslep/following{/other_user}",
"gists_url": "https://api.github.com/users/mieslep/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mieslep/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mieslep/subscriptions",
"organizations_url": "https://api.github.com/users/mieslep/orgs",
"repos_url": "https://api.github.com/users/mieslep/repos",
"events_url": "https://api.github.com/users/mieslep/events{/privacy}",
"received_events_url": "https://api.github.com/users/mieslep/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2024-07-25T07:30:21 | 2024-07-26T01:12:25 | 2024-07-26T01:12:25 | NONE | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | Session ID is a common unique identifier of a user or even conversation. There is no clear way to specify this on the `langflow-chat` widget, and it default to the flow id which is problematic in a multi-user environment.
Rather than default to the flow id, it would be great if the session_id could be specified in the configuration, and if not specified default to a generated UUID.
The present workaround is to specify this as a tweak to each component that uses the session id. | {
"login": "anovazzi1",
"id": 70824914,
"node_id": "MDQ6VXNlcjcwODI0OTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/70824914?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anovazzi1",
"html_url": "https://github.com/anovazzi1",
"followers_url": "https://api.github.com/users/anovazzi1/followers",
"following_url": "https://api.github.com/users/anovazzi1/following{/other_user}",
"gists_url": "https://api.github.com/users/anovazzi1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anovazzi1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anovazzi1/subscriptions",
"organizations_url": "https://api.github.com/users/anovazzi1/orgs",
"repos_url": "https://api.github.com/users/anovazzi1/repos",
"events_url": "https://api.github.com/users/anovazzi1/events{/privacy}",
"received_events_url": "https://api.github.com/users/anovazzi1/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/22/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/22/timeline | null | completed | null | null | false |
https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/21 | https://api.github.com/repos/langflow-ai/langflow-embedded-chat | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/21/labels{/name} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/21/comments | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/21/events | https://github.com/langflow-ai/langflow-embedded-chat/pull/21 | 2,425,864,325 | PR_kwDOJ0A4Ac52QEyz | 21 | Update Langflow Chat configuration and add Markdown support | {
"login": "anovazzi1",
"id": 70824914,
"node_id": "MDQ6VXNlcjcwODI0OTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/70824914?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anovazzi1",
"html_url": "https://github.com/anovazzi1",
"followers_url": "https://api.github.com/users/anovazzi1/followers",
"following_url": "https://api.github.com/users/anovazzi1/following{/other_user}",
"gists_url": "https://api.github.com/users/anovazzi1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anovazzi1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anovazzi1/subscriptions",
"organizations_url": "https://api.github.com/users/anovazzi1/orgs",
"repos_url": "https://api.github.com/users/anovazzi1/repos",
"events_url": "https://api.github.com/users/anovazzi1/events{/privacy}",
"received_events_url": "https://api.github.com/users/anovazzi1/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"For conflicts, I think the mention hint \"This should be modified because it mentions ...\" is missing.",
"Looks great!"
] | 2024-07-23T18:38:43 | 2024-07-23T18:45:38 | 2024-07-23T18:45:38 | COLLABORATOR | null | null | null | This pull request updates the Langflow Chat configuration by adding support for Markdown. It installs the necessary packages `react-markdown`, `remark-gfm`, and `rehype-mathjax`. It also updates the bundle js to version 1.0.4. | {
"login": "anovazzi1",
"id": 70824914,
"node_id": "MDQ6VXNlcjcwODI0OTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/70824914?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anovazzi1",
"html_url": "https://github.com/anovazzi1",
"followers_url": "https://api.github.com/users/anovazzi1/followers",
"following_url": "https://api.github.com/users/anovazzi1/following{/other_user}",
"gists_url": "https://api.github.com/users/anovazzi1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anovazzi1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anovazzi1/subscriptions",
"organizations_url": "https://api.github.com/users/anovazzi1/orgs",
"repos_url": "https://api.github.com/users/anovazzi1/repos",
"events_url": "https://api.github.com/users/anovazzi1/events{/privacy}",
"received_events_url": "https://api.github.com/users/anovazzi1/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/21/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/21/timeline | null | null | false | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/pulls/21",
"html_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/21",
"diff_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/21.diff",
"patch_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/21.patch",
"merged_at": "2024-07-23T18:45:38"
} | true |
https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/20 | https://api.github.com/repos/langflow-ai/langflow-embedded-chat | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/20/labels{/name} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/20/comments | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/20/events | https://github.com/langflow-ai/langflow-embedded-chat/issues/20 | 2,398,592,536 | I_kwDOJ0A4Ac6O954Y | 20 | Is it supported to display markdown text? | {
"login": "winglight",
"id": 1176967,
"node_id": "MDQ6VXNlcjExNzY5Njc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1176967?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/winglight",
"html_url": "https://github.com/winglight",
"followers_url": "https://api.github.com/users/winglight/followers",
"following_url": "https://api.github.com/users/winglight/following{/other_user}",
"gists_url": "https://api.github.com/users/winglight/gists{/gist_id}",
"starred_url": "https://api.github.com/users/winglight/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/winglight/subscriptions",
"organizations_url": "https://api.github.com/users/winglight/orgs",
"repos_url": "https://api.github.com/users/winglight/repos",
"events_url": "https://api.github.com/users/winglight/events{/privacy}",
"received_events_url": "https://api.github.com/users/winglight/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2024-07-09T15:56:18 | 2024-07-26T02:33:36 | 2024-07-23T18:59:24 | NONE | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | I tried to chat in playground of langflow that works to display markdown output text. But It's just plain text in chat window of this project with the same langflow project.
Any way to work around it? | {
"login": "anovazzi1",
"id": 70824914,
"node_id": "MDQ6VXNlcjcwODI0OTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/70824914?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anovazzi1",
"html_url": "https://github.com/anovazzi1",
"followers_url": "https://api.github.com/users/anovazzi1/followers",
"following_url": "https://api.github.com/users/anovazzi1/following{/other_user}",
"gists_url": "https://api.github.com/users/anovazzi1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anovazzi1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anovazzi1/subscriptions",
"organizations_url": "https://api.github.com/users/anovazzi1/orgs",
"repos_url": "https://api.github.com/users/anovazzi1/repos",
"events_url": "https://api.github.com/users/anovazzi1/events{/privacy}",
"received_events_url": "https://api.github.com/users/anovazzi1/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/20/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/20/timeline | null | completed | null | null | false |
https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/19 | https://api.github.com/repos/langflow-ai/langflow-embedded-chat | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/19/labels{/name} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/19/comments | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/19/events | https://github.com/langflow-ai/langflow-embedded-chat/pull/19 | 2,387,123,127 | PR_kwDOJ0A4Ac50Pwof | 19 | Fix: chat window focus handling | {
"login": "anovazzi1",
"id": 70824914,
"node_id": "MDQ6VXNlcjcwODI0OTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/70824914?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anovazzi1",
"html_url": "https://github.com/anovazzi1",
"followers_url": "https://api.github.com/users/anovazzi1/followers",
"following_url": "https://api.github.com/users/anovazzi1/following{/other_user}",
"gists_url": "https://api.github.com/users/anovazzi1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anovazzi1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anovazzi1/subscriptions",
"organizations_url": "https://api.github.com/users/anovazzi1/orgs",
"repos_url": "https://api.github.com/users/anovazzi1/repos",
"events_url": "https://api.github.com/users/anovazzi1/events{/privacy}",
"received_events_url": "https://api.github.com/users/anovazzi1/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Awesome!"
] | 2024-07-02T20:36:58 | 2024-07-02T20:40:39 | 2024-07-02T20:40:39 | COLLABORATOR | null | null | null | This pull request fixes the issue with the chat window losing focus. The previous implementation had a listener for loss of focus that refocused the user input after a small delay. However, this caused the input to be refocused multiple times, leading to unexpected behavior. This pull request removes the listener and adds a new useEffect hook to refocus the user input whenever a new response is returned from the LLM. | {
"login": "anovazzi1",
"id": 70824914,
"node_id": "MDQ6VXNlcjcwODI0OTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/70824914?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anovazzi1",
"html_url": "https://github.com/anovazzi1",
"followers_url": "https://api.github.com/users/anovazzi1/followers",
"following_url": "https://api.github.com/users/anovazzi1/following{/other_user}",
"gists_url": "https://api.github.com/users/anovazzi1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anovazzi1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anovazzi1/subscriptions",
"organizations_url": "https://api.github.com/users/anovazzi1/orgs",
"repos_url": "https://api.github.com/users/anovazzi1/repos",
"events_url": "https://api.github.com/users/anovazzi1/events{/privacy}",
"received_events_url": "https://api.github.com/users/anovazzi1/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/19/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/19/timeline | null | null | false | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/pulls/19",
"html_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/19",
"diff_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/19.diff",
"patch_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/19.patch",
"merged_at": "2024-07-02T20:40:39"
} | true |
https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/18 | https://api.github.com/repos/langflow-ai/langflow-embedded-chat | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/18/labels{/name} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/18/comments | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/18/events | https://github.com/langflow-ai/langflow-embedded-chat/pull/18 | 2,386,571,914 | PR_kwDOJ0A4Ac50N2r6 | 18 | Fix: Prevent Page Scroll on Chat Window Toggle | {
"login": "igorrCarvalho",
"id": 64559670,
"node_id": "MDQ6VXNlcjY0NTU5Njcw",
"avatar_url": "https://avatars.githubusercontent.com/u/64559670?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/igorrCarvalho",
"html_url": "https://github.com/igorrCarvalho",
"followers_url": "https://api.github.com/users/igorrCarvalho/followers",
"following_url": "https://api.github.com/users/igorrCarvalho/following{/other_user}",
"gists_url": "https://api.github.com/users/igorrCarvalho/gists{/gist_id}",
"starred_url": "https://api.github.com/users/igorrCarvalho/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/igorrCarvalho/subscriptions",
"organizations_url": "https://api.github.com/users/igorrCarvalho/orgs",
"repos_url": "https://api.github.com/users/igorrCarvalho/repos",
"events_url": "https://api.github.com/users/igorrCarvalho/events{/privacy}",
"received_events_url": "https://api.github.com/users/igorrCarvalho/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"LGTM"
] | 2024-07-02T15:30:29 | 2024-07-02T18:04:10 | 2024-07-02T18:04:10 | CONTRIBUTOR | null | null | null | This PR addresses an issue where clicking the chat trigger button to close the chat window causes the page to scroll to the end when the chat window is larger than the page. | {
"login": "anovazzi1",
"id": 70824914,
"node_id": "MDQ6VXNlcjcwODI0OTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/70824914?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anovazzi1",
"html_url": "https://github.com/anovazzi1",
"followers_url": "https://api.github.com/users/anovazzi1/followers",
"following_url": "https://api.github.com/users/anovazzi1/following{/other_user}",
"gists_url": "https://api.github.com/users/anovazzi1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anovazzi1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anovazzi1/subscriptions",
"organizations_url": "https://api.github.com/users/anovazzi1/orgs",
"repos_url": "https://api.github.com/users/anovazzi1/repos",
"events_url": "https://api.github.com/users/anovazzi1/events{/privacy}",
"received_events_url": "https://api.github.com/users/anovazzi1/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/18/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/18/timeline | null | null | false | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/pulls/18",
"html_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/18",
"diff_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/18.diff",
"patch_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/18.patch",
"merged_at": "2024-07-02T18:04:10"
} | true |
https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/17 | https://api.github.com/repos/langflow-ai/langflow-embedded-chat | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/17/labels{/name} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/17/comments | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/17/events | https://github.com/langflow-ai/langflow-embedded-chat/pull/17 | 2,386,457,591 | PR_kwDOJ0A4Ac50NdYH | 17 | Refactor chat widget default position animation | {
"login": "anovazzi1",
"id": 70824914,
"node_id": "MDQ6VXNlcjcwODI0OTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/70824914?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anovazzi1",
"html_url": "https://github.com/anovazzi1",
"followers_url": "https://api.github.com/users/anovazzi1/followers",
"following_url": "https://api.github.com/users/anovazzi1/following{/other_user}",
"gists_url": "https://api.github.com/users/anovazzi1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anovazzi1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anovazzi1/subscriptions",
"organizations_url": "https://api.github.com/users/anovazzi1/orgs",
"repos_url": "https://api.github.com/users/anovazzi1/repos",
"events_url": "https://api.github.com/users/anovazzi1/events{/privacy}",
"received_events_url": "https://api.github.com/users/anovazzi1/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2024-07-02T14:42:57 | 2024-07-02T14:43:23 | 2024-07-02T14:43:23 | COLLABORATOR | null | null | null | Update the default position animation for the chat widget to start from the top left instead of the bottom right. This improves the user experience and provides a more intuitive animation. Additionally, the min.js file has been built to include these changes. | {
"login": "anovazzi1",
"id": 70824914,
"node_id": "MDQ6VXNlcjcwODI0OTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/70824914?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anovazzi1",
"html_url": "https://github.com/anovazzi1",
"followers_url": "https://api.github.com/users/anovazzi1/followers",
"following_url": "https://api.github.com/users/anovazzi1/following{/other_user}",
"gists_url": "https://api.github.com/users/anovazzi1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anovazzi1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anovazzi1/subscriptions",
"organizations_url": "https://api.github.com/users/anovazzi1/orgs",
"repos_url": "https://api.github.com/users/anovazzi1/repos",
"events_url": "https://api.github.com/users/anovazzi1/events{/privacy}",
"received_events_url": "https://api.github.com/users/anovazzi1/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/17/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/17/timeline | null | null | false | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/pulls/17",
"html_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/17",
"diff_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/17.diff",
"patch_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/17.patch",
"merged_at": "2024-07-02T14:43:23"
} | true |
https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/16 | https://api.github.com/repos/langflow-ai/langflow-embedded-chat | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/16/labels{/name} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/16/comments | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/16/events | https://github.com/langflow-ai/langflow-embedded-chat/pull/16 | 2,386,351,335 | PR_kwDOJ0A4Ac50NF7Z | 16 | Update default chat position | {
"login": "igorrCarvalho",
"id": 64559670,
"node_id": "MDQ6VXNlcjY0NTU5Njcw",
"avatar_url": "https://avatars.githubusercontent.com/u/64559670?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/igorrCarvalho",
"html_url": "https://github.com/igorrCarvalho",
"followers_url": "https://api.github.com/users/igorrCarvalho/followers",
"following_url": "https://api.github.com/users/igorrCarvalho/following{/other_user}",
"gists_url": "https://api.github.com/users/igorrCarvalho/gists{/gist_id}",
"starred_url": "https://api.github.com/users/igorrCarvalho/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/igorrCarvalho/subscriptions",
"organizations_url": "https://api.github.com/users/igorrCarvalho/orgs",
"repos_url": "https://api.github.com/users/igorrCarvalho/repos",
"events_url": "https://api.github.com/users/igorrCarvalho/events{/privacy}",
"received_events_url": "https://api.github.com/users/igorrCarvalho/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Looks great to me! ",
"The new download manager is ready. I removed the old folder and I fixed a few remaining dependencies.\r\nI tested it on squad and a few others from the dataset folder and it works fine.\r\n\r\nThe only impact of these changes is that it breaks the `download_and_prepare` script that was used to register the checksums when we create a dataset, as the checksum logic is not implemented.\r\n\r\nLet me know if you have remarks",
"Ok merged it (a bit fast for you to update the copyright, now I see that. but it's ok, we'll do a pass on these doc/copyright before releasing anyway)",
"Actually two additional things here @lhoestq (I merged too fast sorry, let's make a new PR for additional developments):\r\n- I think we can remove some dependencies now (e.g. `promises`) in setup.py, can you have a look?\r\n- also, I think we can remove the boto3 dependency like here: https://github.com/huggingface/transformers/pull/3968"
] | 2024-07-02T14:00:30 | 2024-07-02T14:30:17 | 2024-07-02T14:30:17 | CONTRIBUTOR | null | null | null | Refactor: add default chat position to prevent bugs when loading without a position out a set position | {
"login": "anovazzi1",
"id": 70824914,
"node_id": "MDQ6VXNlcjcwODI0OTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/70824914?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anovazzi1",
"html_url": "https://github.com/anovazzi1",
"followers_url": "https://api.github.com/users/anovazzi1/followers",
"following_url": "https://api.github.com/users/anovazzi1/following{/other_user}",
"gists_url": "https://api.github.com/users/anovazzi1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anovazzi1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anovazzi1/subscriptions",
"organizations_url": "https://api.github.com/users/anovazzi1/orgs",
"repos_url": "https://api.github.com/users/anovazzi1/repos",
"events_url": "https://api.github.com/users/anovazzi1/events{/privacy}",
"received_events_url": "https://api.github.com/users/anovazzi1/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/16/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/16/timeline | null | null | false | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/pulls/16",
"html_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/16",
"diff_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/16.diff",
"patch_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/16.patch",
"merged_at": "2024-07-02T14:30:17"
} | true |
https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/15 | https://api.github.com/repos/langflow-ai/langflow-embedded-chat | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/15/labels{/name} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/15/comments | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/15/events | https://github.com/langflow-ai/langflow-embedded-chat/pull/15 | 2,376,491,957 | PR_kwDOJ0A4Ac5zskcc | 15 | update api to version 1.0 alpha | {
"login": "anovazzi1",
"id": 70824914,
"node_id": "MDQ6VXNlcjcwODI0OTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/70824914?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anovazzi1",
"html_url": "https://github.com/anovazzi1",
"followers_url": "https://api.github.com/users/anovazzi1/followers",
"following_url": "https://api.github.com/users/anovazzi1/following{/other_user}",
"gists_url": "https://api.github.com/users/anovazzi1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anovazzi1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anovazzi1/subscriptions",
"organizations_url": "https://api.github.com/users/anovazzi1/orgs",
"repos_url": "https://api.github.com/users/anovazzi1/repos",
"events_url": "https://api.github.com/users/anovazzi1/events{/privacy}",
"received_events_url": "https://api.github.com/users/anovazzi1/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"> I think I'm fine with this.\r\n> \r\n> The alternative would be to host a small subset of the dataset on the S3 together with the testing script. But I think having all (test file creation + actual tests) in one file is actually quite convenient.\r\n> \r\n> Good for me!\r\n> \r\n> One question though, will we have to create one test file for each of the 100+ datasets or could we make some automatic conversion from tfds dataset test files?\r\n\r\nI think if we go the way shown in the PR we would have to create one test file for each of the 100+ datasets. \r\n\r\nAs far as I know the tfds test files all rely on the user having created a special download folder structure in `tensorflow-datasets/tensorflow_datasets/testing/test_data/fake_examples`. \r\n\r\nMy hypothesis was: \r\nBecasue, we don't want to work with PRs, no `dataset_script` is going to be in the official repo, so no `dataset_script_test` can be in the repo either. Therefore we can also not have any \"fake\" test folder structure in the repo. \r\n\r\n**BUT:** As you mentioned @thom, we could have a fake data structure on AWS. To add a test the user has to upload multiple small test files when uploading his data set script. \r\n\r\nSo for a cli this could look like:\r\n`python nlp-cli upload <data_set_script> --testfiles <relative path to test file 1> <relative path to test file 2> ...` \r\n\r\nor even easier if the user just creates the dataset folder with the script inside and the testing folder structure, then the API could look like:\r\n\r\n`python nlp-cli upload <path/to/dataset/folder>`\r\n\r\nand the dataset folder would look like\r\n```\r\nsquad\r\n- squad.py\r\n- fake_data # this dir would have to have the exact same structure we get when downloading from the official squad data url\r\n```\r\n\r\nThis way I think we wouldn't even need any test files at all for each dataset script. For special datasets like `c4` or `wikipedia` we could then allow to optionally upload another test script. \r\nWe just assume that this is our downloaded `url` and check all functionality from there. \r\n\r\nThinking a bit more about this solution sounds a) much less work and b) even easier for the user.\r\n\r\nA small problem I see here though:\r\n1) What do we do when the depending on the config name the downloaded folder structure is very different? I think for each dataset config name we should have one test, which could correspond to one \"fake\" folder structure on AWS\r\n\r\n@thomwolf What do you think? I would actually go for this solution instead now.\r\n@mariamabarham You have written many more tfds dataset scripts and tests than I have - what do you think? \r\n\r\n",
"Regarding the tfds tests, I don't really see a point in keeping them because:\r\n\r\n1) If you provide a fake data structure, IMO there is no need for each dataset to have an individual test file because (I think) most datasets have the same functions `_split_generators` and `_generate_examples` for which you can just test the functionality in a common test file. For special functions like these beam / pipeline functionality you probably need an extra test file. But @mariamabarham I think you have seen more than I have here as well \r\n\r\n2) The dataset test design is very much intertwined with the download manager design and contains a lot of code. I would like to seperate the tests into a) tests for downloading in general b) tests for post download data set pre-processing. Since we are going to change the download code anyways quite a lot, my plan was to focus on b) first. ",
"I like the idea of having a fake data folder on S3. I have seen datasets with nested compressed files structures that would be tedious to generate with code. And for users it is probably easier to create a fake data folder by taking a subset of the actual data, and then upload it as you said.",
"> > I think I'm fine with this.\r\n> > The alternative would be to host a small subset of the dataset on the S3 together with the testing script. But I think having all (test file creation + actual tests) in one file is actually quite convenient.\r\n> > Good for me!\r\n> > One question though, will we have to create one test file for each of the 100+ datasets or could we make some automatic conversion from tfds dataset test files?\r\n> \r\n> I think if we go the way shown in the PR we would have to create one test file for each of the 100+ datasets.\r\n> \r\n> As far as I know the tfds test files all rely on the user having created a special download folder structure in `tensorflow-datasets/tensorflow_datasets/testing/test_data/fake_examples`.\r\n> \r\n> My hypothesis was:\r\n> Becasue, we don't want to work with PRs, no `dataset_script` is going to be in the official repo, so no `dataset_script_test` can be in the repo either. Therefore we can also not have any \"fake\" test folder structure in the repo.\r\n> \r\n> **BUT:** As you mentioned @thom, we could have a fake data structure on AWS. To add a test the user has to upload multiple small test files when uploading his data set script.\r\n> \r\n> So for a cli this could look like:\r\n> `python nlp-cli upload <data_set_script> --testfiles <relative path to test file 1> <relative path to test file 2> ...`\r\n> \r\n> or even easier if the user just creates the dataset folder with the script inside and the testing folder structure, then the API could look like:\r\n> \r\n> `python nlp-cli upload <path/to/dataset/folder>`\r\n> \r\n> and the dataset folder would look like\r\n> \r\n> ```\r\n> squad\r\n> - squad.py\r\n> - fake_data # this dir would have to have the exact same structure we get when downloading from the official squad data url\r\n> ```\r\n> \r\n> This way I think we wouldn't even need any test files at all for each dataset script. For special datasets like `c4` or `wikipedia` we could then allow to optionally upload another test script.\r\n> We just assume that this is our downloaded `url` and check all functionality from there.\r\n> \r\n> Thinking a bit more about this solution sounds a) much less work and b) even easier for the user.\r\n> \r\n> A small problem I see here though:\r\n> \r\n> 1. What do we do when the depending on the config name the downloaded folder structure is very different? I think for each dataset config name we should have one test, which could correspond to one \"fake\" folder structure on AWS\r\n> \r\n> @thomwolf What do you think? I would actually go for this solution instead now.\r\n> @mariamabarham You have written many more tfds dataset scripts and tests than I have - what do you think?\r\n\r\nI'm agreed with you just one thing, for some dataset like glue or xtreme you may have multiple datasets in it. so I think a good way is to have one main fake folder and a subdirectory for each dataset inside",
"> Regarding the tfds tests, I don't really see a point in keeping them because:\r\n> \r\n> 1. If you provide a fake data structure, IMO there is no need for each dataset to have an individual test file because (I think) most datasets have the same functions `_split_generators` and `_generate_examples` for which you can just test the functionality in a common test file. For special functions like these beam / pipeline functionality you probably need an extra test file. But @mariamabarham I think you have seen more than I have here as well\r\n> 2. The dataset test design is very much intertwined with the download manager design and contains a lot of code. I would like to seperate the tests into a) tests for downloading in general b) tests for post download data set pre-processing. Since we are going to change the download code anyways quite a lot, my plan was to focus on b) first.\r\n\r\nFor _split_generator, yes. But I'm not sure for _generate_examples because there is lots of things that should be taken into account such as feature names and types, data format (json, jsonl, csv, tsv,..)",
"Sounds good to me!\r\n\r\nWhen testing, we could thus just override the prefix in the URL inside the download manager to have them point to the test directory on our S3.\r\n\r\nCc @lhoestq ",
"Ok, here is a second draft for the testing structure. \r\n\r\nI think the big difficulty here is \"How can you generate tests on the fly from a given dataset name, *e.g.* `squad`\"?\r\n\r\nSo, this morning I did some research on \"parameterized testing\" and pure `unittest` or `pytest` didn't work very well. \r\nI found the lib https://github.com/wolever/parameterized, which works very nicely for our use case I think. \r\n@thomwolf - would it be ok to have a dependence on this lib for `nlp`? It seems like a light-weight lib to me. \r\n\r\nThis lib allows to add a `parameterization` decorator to a `unittest.TestCase` class so that the class can be instantiated for multiple different arguments (which are the dataset names `squad` etc. in our case).\r\n\r\nWhat I like about this lib is that one only has to add the decorator and the each of the parameterized tests are shown, like this: \r\n\r\n\r\n\r\nWith this structure we would only have to upload the dummy data for each dataset and would not require a specific testing file. \r\n\r\nWhat do you think @thomwolf @mariamabarham @lhoestq ?",
"I think this is a nice solution.\r\n\r\nDo you think we could have the `parametrized` dependency in a `[test]` optional installation of `setup.py`? I would really like to keep the dependencies of the standard installation as small as possible. ",
"> I think this is a nice solution.\r\n> \r\n> Do you think we could have the `parametrized` dependency in a `[test]` optional installation of `setup.py`? I would really like to keep the dependencies of the standard installation as small as possible.\r\n\r\nYes definitely!",
"UPDATE: \r\n\r\nThis test design is ready now. I added dummy data to S3 for the dataests: `squad, crime_and_punish, sentiment140` . The structure can be seen on `https://s3.console.aws.amazon.com/s3/buckets/datasets.huggingface.co/nlp/squad/dummy/?region=us-east-1&tab=overview` for `squad`. \r\n\r\nAll dummy data files have to be in .zip format and called `dummy_data.zip`. The zip file should thereby have the exact same folder structure one gets from downloading the \"real\" data url(s). \r\n\r\nTo show how the .zip file looks like for the added datasets, I added the folder `nlp/datasets/dummy_data` in this PR. I think we can leave for the moment so that people can see better how to add dummy data tests and later delete it like `nlp/datasets/nlp`."
] | 2024-06-27T00:39:46 | 2024-06-27T00:43:02 | 2024-06-27T00:43:02 | COLLABORATOR | null | null | null | ### Update API to Match Langflow 1.0.x
This update aligns our API with the latest Langflow 1.0 specifications.
#### New Features:
- **Multiple Outputs Support**: Enhanced functionality to handle multiple outputs efficiently.
- **Additional WebComponent Properties**: Introduced new properties to the WebComponent for increased customization and flexibility. | {
"login": "anovazzi1",
"id": 70824914,
"node_id": "MDQ6VXNlcjcwODI0OTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/70824914?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anovazzi1",
"html_url": "https://github.com/anovazzi1",
"followers_url": "https://api.github.com/users/anovazzi1/followers",
"following_url": "https://api.github.com/users/anovazzi1/following{/other_user}",
"gists_url": "https://api.github.com/users/anovazzi1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anovazzi1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anovazzi1/subscriptions",
"organizations_url": "https://api.github.com/users/anovazzi1/orgs",
"repos_url": "https://api.github.com/users/anovazzi1/repos",
"events_url": "https://api.github.com/users/anovazzi1/events{/privacy}",
"received_events_url": "https://api.github.com/users/anovazzi1/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/15/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/15/timeline | null | null | false | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/pulls/15",
"html_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/15",
"diff_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/15.diff",
"patch_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/15.patch",
"merged_at": "2024-06-27T00:43:02"
} | true |
https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/14 | https://api.github.com/repos/langflow-ai/langflow-embedded-chat | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/14/labels{/name} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/14/comments | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/14/events | https://github.com/langflow-ai/langflow-embedded-chat/issues/14 | 2,356,035,946 | I_kwDOJ0A4Ac6MbkFq | 14 | Chat Widget Network Error Issue | {
"login": "clusterpj",
"id": 37904961,
"node_id": "MDQ6VXNlcjM3OTA0OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/37904961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/clusterpj",
"html_url": "https://github.com/clusterpj",
"followers_url": "https://api.github.com/users/clusterpj/followers",
"following_url": "https://api.github.com/users/clusterpj/following{/other_user}",
"gists_url": "https://api.github.com/users/clusterpj/gists{/gist_id}",
"starred_url": "https://api.github.com/users/clusterpj/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/clusterpj/subscriptions",
"organizations_url": "https://api.github.com/users/clusterpj/orgs",
"repos_url": "https://api.github.com/users/clusterpj/repos",
"events_url": "https://api.github.com/users/clusterpj/events{/privacy}",
"received_events_url": "https://api.github.com/users/clusterpj/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2024-06-16T22:57:24 | 2024-12-09T16:14:16 | 2024-12-09T16:14:16 | NONE | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | I am having an issue making the widget to work on a website. For the purpose of this I have langflow with a domain assigned with a cloudflare tunnel.
Whenever I try to chat with it from the website on the console, I get this:
`[06/16/24 18:50:02] ERROR 2024-06-16 18:50:02 - ERROR - main - TaskService.__init__() main.py:34
missing 1 required positional argument: 'settings_service'`
I have Followed all instructions to the dot on how to build the chat, below is my code:
```
<script src="https://cdn.jsdelivr.net/gh/logspace-ai/langflow-embedded-chat@main/dist/build/static/js/bundle.min.js"></script>
<langflow-chat
window_title="Cluster Assistant"
host_url="http://localhost:7860"
flow_id="4d8b23cb-9884-4b0a-ae62-0cc8fe6396e4"
chat_inputs='{"text":""}'
chat_input_field="text"
style="position: absolute; bottom: 50px; right: 50px;"
></langflow-chat>
```
First assuming it will work right away I attach it on my website but i was getting the network error below, then i gave it a try locally and i still get the same issue.

| {
"login": "anovazzi1",
"id": 70824914,
"node_id": "MDQ6VXNlcjcwODI0OTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/70824914?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anovazzi1",
"html_url": "https://github.com/anovazzi1",
"followers_url": "https://api.github.com/users/anovazzi1/followers",
"following_url": "https://api.github.com/users/anovazzi1/following{/other_user}",
"gists_url": "https://api.github.com/users/anovazzi1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anovazzi1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anovazzi1/subscriptions",
"organizations_url": "https://api.github.com/users/anovazzi1/orgs",
"repos_url": "https://api.github.com/users/anovazzi1/repos",
"events_url": "https://api.github.com/users/anovazzi1/events{/privacy}",
"received_events_url": "https://api.github.com/users/anovazzi1/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/14/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/14/timeline | null | completed | null | null | false |
https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/13 | https://api.github.com/repos/langflow-ai/langflow-embedded-chat | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/13/labels{/name} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/13/comments | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/13/events | https://github.com/langflow-ai/langflow-embedded-chat/issues/13 | 2,334,323,849 | I_kwDOJ0A4Ac6LIvSJ | 13 | Is there a way to open the chat window by default ? | {
"login": "mwmdev",
"id": 31964517,
"node_id": "MDQ6VXNlcjMxOTY0NTE3",
"avatar_url": "https://avatars.githubusercontent.com/u/31964517?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mwmdev",
"html_url": "https://github.com/mwmdev",
"followers_url": "https://api.github.com/users/mwmdev/followers",
"following_url": "https://api.github.com/users/mwmdev/following{/other_user}",
"gists_url": "https://api.github.com/users/mwmdev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mwmdev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mwmdev/subscriptions",
"organizations_url": "https://api.github.com/users/mwmdev/orgs",
"repos_url": "https://api.github.com/users/mwmdev/repos",
"events_url": "https://api.github.com/users/mwmdev/events{/privacy}",
"received_events_url": "https://api.github.com/users/mwmdev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | open | false | null | [] | null | [
"I think this can be quickly reproduced. \r\nI use `black, version 19.10b0`. \r\n\r\nWhen running: \r\n`black nlp/src/arrow_reader.py` \r\nit gives me: \r\n\r\n```\r\nerror: cannot format /home/patrick/hugging_face/nlp/src/nlp/arrow_reader.py: cannot use --safe with this file; failed to parse source file. AST error message: invalid syntax (<unknown>, line 78)\r\nOh no! 💥 💔 💥\r\n1 file failed to reformat.\r\n```\r\n\r\nThe line in question is: \r\nhttps://github.com/huggingface/nlp/blob/6922a16705e61f9e31a365f2606090b84d49241f/src/nlp/arrow_reader.py#L78\r\n\r\nWhat is weird is that the trainer file in `transformers` has more or less the same syntax and black does not fail there: \r\nhttps://github.com/huggingface/transformers/blob/cb3c2212c79d7ff0a4a4e84c3db48371ecc1c15d/src/transformers/trainer.py#L95\r\n\r\nI googled quite a bit about black & typing hints yesterday and didn't find anything useful. \r\nAny ideas @thomwolf @julien-c @LysandreJik ?",
"> I think this can be quickly reproduced.\r\n> I use `black, version 19.10b0`.\r\n> \r\n> When running:\r\n> `black nlp/src/arrow_reader.py`\r\n> it gives me:\r\n> \r\n> ```\r\n> error: cannot format /home/patrick/hugging_face/nlp/src/nlp/arrow_reader.py: cannot use --safe with this file; failed to parse source file. AST error message: invalid syntax (<unknown>, line 78)\r\n> Oh no! 💥 💔 💥\r\n> 1 file failed to reformat.\r\n> ```\r\n> \r\n> The line in question is:\r\n> https://github.com/huggingface/nlp/blob/6922a16705e61f9e31a365f2606090b84d49241f/src/nlp/arrow_reader.py#L78\r\n> \r\n> What is weird is that the trainer file in `transformers` has more or less the same syntax and black does not fail there:\r\n> https://github.com/huggingface/transformers/blob/cb3c2212c79d7ff0a4a4e84c3db48371ecc1c15d/src/transformers/trainer.py#L95\r\n> \r\n> I googled quite a bit about black & typing hints yesterday and didn't find anything useful.\r\n> Any ideas @thomwolf @julien-c @LysandreJik ?\r\n\r\nOk I found the problem. It was the one Julien mentioned and has nothing to do with this line. Black's error message is a bit misleading here, I guess",
"Ok, just had to remove the python 2 syntax comments `# type`. \r\n\r\nGood to merge for me now @thomwolf "
] | 2024-06-04T20:33:53 | 2024-11-07T17:10:09 | null | NONE | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | Is there a way to have a "full-screen" type of behavior, where the chat is visible by default ? | null | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/13/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/13/timeline | null | null | null | null | false |
https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/12 | https://api.github.com/repos/langflow-ai/langflow-embedded-chat | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/12/labels{/name} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/12/comments | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/12/events | https://github.com/langflow-ai/langflow-embedded-chat/issues/12 | 2,070,311,433 | I_kwDOJ0A4Ac57ZnIJ | 12 | How to send tweaks (or custom data)? | {
"login": "vovajr11",
"id": 41735477,
"node_id": "MDQ6VXNlcjQxNzM1NDc3",
"avatar_url": "https://avatars.githubusercontent.com/u/41735477?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vovajr11",
"html_url": "https://github.com/vovajr11",
"followers_url": "https://api.github.com/users/vovajr11/followers",
"following_url": "https://api.github.com/users/vovajr11/following{/other_user}",
"gists_url": "https://api.github.com/users/vovajr11/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vovajr11/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vovajr11/subscriptions",
"organizations_url": "https://api.github.com/users/vovajr11/orgs",
"repos_url": "https://api.github.com/users/vovajr11/repos",
"events_url": "https://api.github.com/users/vovajr11/events{/privacy}",
"received_events_url": "https://api.github.com/users/vovajr11/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Also added to an assert statement that if a dict is returned by function, all values of `dicts` are `lists`",
"Wait to merge until `make style` is set in place.",
"Updated the assert statements. Played around with multiple cases and it should be good now IMO. "
] | 2024-01-08T12:03:02 | 2024-07-23T19:00:54 | 2024-07-23T19:00:54 | NONE | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | Hi friends!
My code
```html
<langflow-chat
chat_input_field="input"
chat_inputs='{"input":""}'
host_url="https://my_host"
flow_id="customChat"
style="position: absolute; bottom: 18px; right: 18px;"
tweaks='{"customData": "123123"}'
></langflow-chat>
```
My response
<img width="236" alt="image" src="https://github.com/logspace-ai/langflow-embedded-chat/assets/41735477/89a534d2-9293-4af8-816a-3e607a7d1e28">
What am I doing wrong? | {
"login": "anovazzi1",
"id": 70824914,
"node_id": "MDQ6VXNlcjcwODI0OTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/70824914?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anovazzi1",
"html_url": "https://github.com/anovazzi1",
"followers_url": "https://api.github.com/users/anovazzi1/followers",
"following_url": "https://api.github.com/users/anovazzi1/following{/other_user}",
"gists_url": "https://api.github.com/users/anovazzi1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anovazzi1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anovazzi1/subscriptions",
"organizations_url": "https://api.github.com/users/anovazzi1/orgs",
"repos_url": "https://api.github.com/users/anovazzi1/repos",
"events_url": "https://api.github.com/users/anovazzi1/events{/privacy}",
"received_events_url": "https://api.github.com/users/anovazzi1/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/12/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/12/timeline | null | completed | null | null | false |
https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/11 | https://api.github.com/repos/langflow-ai/langflow-embedded-chat | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/11/labels{/name} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/11/comments | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/11/events | https://github.com/langflow-ai/langflow-embedded-chat/issues/11 | 2,046,822,273 | I_kwDOJ0A4Ac56AAeB | 11 | Error: One input key expected got ['query', 'context', 'handle_keys'] | {
"login": "toughlucksmith",
"id": 30784507,
"node_id": "MDQ6VXNlcjMwNzg0NTA3",
"avatar_url": "https://avatars.githubusercontent.com/u/30784507?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/toughlucksmith",
"html_url": "https://github.com/toughlucksmith",
"followers_url": "https://api.github.com/users/toughlucksmith/followers",
"following_url": "https://api.github.com/users/toughlucksmith/following{/other_user}",
"gists_url": "https://api.github.com/users/toughlucksmith/gists{/gist_id}",
"starred_url": "https://api.github.com/users/toughlucksmith/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/toughlucksmith/subscriptions",
"organizations_url": "https://api.github.com/users/toughlucksmith/orgs",
"repos_url": "https://api.github.com/users/toughlucksmith/repos",
"events_url": "https://api.github.com/users/toughlucksmith/events{/privacy}",
"received_events_url": "https://api.github.com/users/toughlucksmith/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | open | false | null | [] | null | [] | 2023-12-18T14:43:13 | 2024-11-08T11:13:21 | null | NONE | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | I am getting this message from the chat window.

I tried specifying the values in chat_inputs string but this seems to have made no difference.
`chat_inputs='{"query":"","context":"","handle_keys":""}'`
This only happened after I added ConversationWindowBuffer to the flow. The "context" is coming from a text file loader and I believe that is also where the "handle_keys" is coming from.
This flow works fine in LangFlow so clearly I am doing something wrong with the UI config.

| null | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/11/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/11/timeline | null | null | null | null | false |
https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/10 | https://api.github.com/repos/langflow-ai/langflow-embedded-chat | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/10/labels{/name} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/10/comments | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/10/events | https://github.com/langflow-ai/langflow-embedded-chat/pull/10 | 1,988,337,157 | PR_kwDOJ0A4Ac5fLfpi | 10 | Inject additional headers | {
"login": "yassineselmi",
"id": 6693242,
"node_id": "MDQ6VXNlcjY2OTMyNDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/6693242?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yassineselmi",
"html_url": "https://github.com/yassineselmi",
"followers_url": "https://api.github.com/users/yassineselmi/followers",
"following_url": "https://api.github.com/users/yassineselmi/following{/other_user}",
"gists_url": "https://api.github.com/users/yassineselmi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yassineselmi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yassineselmi/subscriptions",
"organizations_url": "https://api.github.com/users/yassineselmi/orgs",
"repos_url": "https://api.github.com/users/yassineselmi/repos",
"events_url": "https://api.github.com/users/yassineselmi/events{/privacy}",
"received_events_url": "https://api.github.com/users/yassineselmi/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-11-10T20:25:13 | 2024-02-27T17:34:19 | 2024-02-27T17:34:19 | NONE | null | null | null | This PR offers the possibility to inject additional headers to the Langflow request. The main motivation behind this is to allow the user to send custom headers to bypass WAF or Security guardrails, as well as enforce CORS policies.
Example of usage:
```html
<langflow-chat
chat_input_field="input"
chat_inputs='{"input":""}'
host_url="langflow url"
flow_id="your_flow_id"
additional_headers='{"Access-Control-Allow-Origin": "myserver.com", "CF-Access-Client-Id": "1235678"}'
></langflow-chat>
| {
"login": "anovazzi1",
"id": 70824914,
"node_id": "MDQ6VXNlcjcwODI0OTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/70824914?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anovazzi1",
"html_url": "https://github.com/anovazzi1",
"followers_url": "https://api.github.com/users/anovazzi1/followers",
"following_url": "https://api.github.com/users/anovazzi1/following{/other_user}",
"gists_url": "https://api.github.com/users/anovazzi1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anovazzi1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anovazzi1/subscriptions",
"organizations_url": "https://api.github.com/users/anovazzi1/orgs",
"repos_url": "https://api.github.com/users/anovazzi1/repos",
"events_url": "https://api.github.com/users/anovazzi1/events{/privacy}",
"received_events_url": "https://api.github.com/users/anovazzi1/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/10/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/10/timeline | null | null | false | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/pulls/10",
"html_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/10",
"diff_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/10.diff",
"patch_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/10.patch",
"merged_at": "2024-02-27T17:34:19"
} | true |
https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/9 | https://api.github.com/repos/langflow-ai/langflow-embedded-chat | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/9/labels{/name} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/9/comments | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/9/events | https://github.com/langflow-ai/langflow-embedded-chat/issues/9 | 1,975,417,329 | I_kwDOJ0A4Ac51vnnx | 9 | Feature Request: Markdown for the bot message | {
"login": "damhack",
"id": 1200106,
"node_id": "MDQ6VXNlcjEyMDAxMDY=",
"avatar_url": "https://avatars.githubusercontent.com/u/1200106?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/damhack",
"html_url": "https://github.com/damhack",
"followers_url": "https://api.github.com/users/damhack/followers",
"following_url": "https://api.github.com/users/damhack/following{/other_user}",
"gists_url": "https://api.github.com/users/damhack/gists{/gist_id}",
"starred_url": "https://api.github.com/users/damhack/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/damhack/subscriptions",
"organizations_url": "https://api.github.com/users/damhack/orgs",
"repos_url": "https://api.github.com/users/damhack/repos",
"events_url": "https://api.github.com/users/damhack/events{/privacy}",
"received_events_url": "https://api.github.com/users/damhack/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Yes!"
] | 2023-11-03T03:55:25 | 2024-07-23T18:59:39 | 2024-07-23T18:59:38 | CONTRIBUTOR | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | It would be supercool if we could have Markdown rendering for the bot message in the chat window.
Especially for LLM completions that return code, tables or text formatting in markdown.
Langflow's UI chat supports markdown, so would be really good if embedded chat had the same feature. | {
"login": "anovazzi1",
"id": 70824914,
"node_id": "MDQ6VXNlcjcwODI0OTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/70824914?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anovazzi1",
"html_url": "https://github.com/anovazzi1",
"followers_url": "https://api.github.com/users/anovazzi1/followers",
"following_url": "https://api.github.com/users/anovazzi1/following{/other_user}",
"gists_url": "https://api.github.com/users/anovazzi1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anovazzi1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anovazzi1/subscriptions",
"organizations_url": "https://api.github.com/users/anovazzi1/orgs",
"repos_url": "https://api.github.com/users/anovazzi1/repos",
"events_url": "https://api.github.com/users/anovazzi1/events{/privacy}",
"received_events_url": "https://api.github.com/users/anovazzi1/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/9/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/9/timeline | null | completed | null | null | false |
https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/8 | https://api.github.com/repos/langflow-ai/langflow-embedded-chat | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/8/labels{/name} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/8/comments | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/8/events | https://github.com/langflow-ai/langflow-embedded-chat/pull/8 | 1,969,581,093 | PR_kwDOJ0A4Ac5eL3rd | 8 | Add Ref and event listener to keep focus on User input | {
"login": "ZenHunter9457",
"id": 149451644,
"node_id": "U_kgDOCOhzfA",
"avatar_url": "https://avatars.githubusercontent.com/u/149451644?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZenHunter9457",
"html_url": "https://github.com/ZenHunter9457",
"followers_url": "https://api.github.com/users/ZenHunter9457/followers",
"following_url": "https://api.github.com/users/ZenHunter9457/following{/other_user}",
"gists_url": "https://api.github.com/users/ZenHunter9457/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ZenHunter9457/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ZenHunter9457/subscriptions",
"organizations_url": "https://api.github.com/users/ZenHunter9457/orgs",
"repos_url": "https://api.github.com/users/ZenHunter9457/repos",
"events_url": "https://api.github.com/users/ZenHunter9457/events{/privacy}",
"received_events_url": "https://api.github.com/users/ZenHunter9457/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-10-31T03:42:19 | 2023-11-01T14:46:56 | 2023-11-01T14:46:56 | NONE | null | null | null | Add Ref and event listener to keep focus on User input whilst chatting, avoiding need to manually refocus the input field with each conversation turn. | {
"login": "anovazzi1",
"id": 70824914,
"node_id": "MDQ6VXNlcjcwODI0OTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/70824914?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anovazzi1",
"html_url": "https://github.com/anovazzi1",
"followers_url": "https://api.github.com/users/anovazzi1/followers",
"following_url": "https://api.github.com/users/anovazzi1/following{/other_user}",
"gists_url": "https://api.github.com/users/anovazzi1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anovazzi1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anovazzi1/subscriptions",
"organizations_url": "https://api.github.com/users/anovazzi1/orgs",
"repos_url": "https://api.github.com/users/anovazzi1/repos",
"events_url": "https://api.github.com/users/anovazzi1/events{/privacy}",
"received_events_url": "https://api.github.com/users/anovazzi1/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/8/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/8/timeline | null | null | false | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/pulls/8",
"html_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/8",
"diff_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/8.diff",
"patch_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/8.patch",
"merged_at": "2023-11-01T14:46:56"
} | true |
https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/7 | https://api.github.com/repos/langflow-ai/langflow-embedded-chat | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/7/labels{/name} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/7/comments | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/7/events | https://github.com/langflow-ai/langflow-embedded-chat/pull/7 | 1,966,246,148 | PR_kwDOJ0A4Ac5eAvbB | 7 | add ref to make input gain focus | {
"login": "igorrCarvalho",
"id": 64559670,
"node_id": "MDQ6VXNlcjY0NTU5Njcw",
"avatar_url": "https://avatars.githubusercontent.com/u/64559670?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/igorrCarvalho",
"html_url": "https://github.com/igorrCarvalho",
"followers_url": "https://api.github.com/users/igorrCarvalho/followers",
"following_url": "https://api.github.com/users/igorrCarvalho/following{/other_user}",
"gists_url": "https://api.github.com/users/igorrCarvalho/gists{/gist_id}",
"starred_url": "https://api.github.com/users/igorrCarvalho/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/igorrCarvalho/subscriptions",
"organizations_url": "https://api.github.com/users/igorrCarvalho/orgs",
"repos_url": "https://api.github.com/users/igorrCarvalho/repos",
"events_url": "https://api.github.com/users/igorrCarvalho/events{/privacy}",
"received_events_url": "https://api.github.com/users/igorrCarvalho/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-10-27T22:06:04 | 2023-11-01T14:47:43 | 2023-11-01T14:47:43 | CONTRIBUTOR | null | null | null | null | {
"login": "anovazzi1",
"id": 70824914,
"node_id": "MDQ6VXNlcjcwODI0OTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/70824914?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anovazzi1",
"html_url": "https://github.com/anovazzi1",
"followers_url": "https://api.github.com/users/anovazzi1/followers",
"following_url": "https://api.github.com/users/anovazzi1/following{/other_user}",
"gists_url": "https://api.github.com/users/anovazzi1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anovazzi1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anovazzi1/subscriptions",
"organizations_url": "https://api.github.com/users/anovazzi1/orgs",
"repos_url": "https://api.github.com/users/anovazzi1/repos",
"events_url": "https://api.github.com/users/anovazzi1/events{/privacy}",
"received_events_url": "https://api.github.com/users/anovazzi1/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/7/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/7/timeline | null | null | false | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/pulls/7",
"html_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/7",
"diff_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/7.diff",
"patch_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/7.patch",
"merged_at": null
} | true |
https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/6 | https://api.github.com/repos/langflow-ai/langflow-embedded-chat | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/6/labels{/name} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/6/comments | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/6/events | https://github.com/langflow-ai/langflow-embedded-chat/pull/6 | 1,961,920,770 | PR_kwDOJ0A4Ac5dx_Xb | 6 | Fixed Session | {
"login": "anovazzi1",
"id": 70824914,
"node_id": "MDQ6VXNlcjcwODI0OTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/70824914?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anovazzi1",
"html_url": "https://github.com/anovazzi1",
"followers_url": "https://api.github.com/users/anovazzi1/followers",
"following_url": "https://api.github.com/users/anovazzi1/following{/other_user}",
"gists_url": "https://api.github.com/users/anovazzi1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anovazzi1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anovazzi1/subscriptions",
"organizations_url": "https://api.github.com/users/anovazzi1/orgs",
"repos_url": "https://api.github.com/users/anovazzi1/repos",
"events_url": "https://api.github.com/users/anovazzi1/events{/privacy}",
"received_events_url": "https://api.github.com/users/anovazzi1/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Yes looks good to me.\r\nNote that we may refactor quite strongly the `info.py` to make it a lot simpler (it's very complicated for basically a dictionary of info I think)",
"No, problem ^^ It might just be a temporary fix :)",
"Fixed."
] | 2023-10-25T17:42:01 | 2023-10-26T17:40:59 | 2023-10-26T17:40:59 | COLLABORATOR | null | null | null | This pull request enhances session continuity between messages, ensuring a seamless and uninterrupted user experience. | {
"login": "anovazzi1",
"id": 70824914,
"node_id": "MDQ6VXNlcjcwODI0OTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/70824914?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anovazzi1",
"html_url": "https://github.com/anovazzi1",
"followers_url": "https://api.github.com/users/anovazzi1/followers",
"following_url": "https://api.github.com/users/anovazzi1/following{/other_user}",
"gists_url": "https://api.github.com/users/anovazzi1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anovazzi1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anovazzi1/subscriptions",
"organizations_url": "https://api.github.com/users/anovazzi1/orgs",
"repos_url": "https://api.github.com/users/anovazzi1/repos",
"events_url": "https://api.github.com/users/anovazzi1/events{/privacy}",
"received_events_url": "https://api.github.com/users/anovazzi1/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/6/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/6/timeline | null | null | false | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/pulls/6",
"html_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/6",
"diff_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/6.diff",
"patch_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/6.patch",
"merged_at": "2023-10-26T17:40:59"
} | true |
https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/5 | https://api.github.com/repos/langflow-ai/langflow-embedded-chat | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/5/labels{/name} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/5/comments | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/5/events | https://github.com/langflow-ai/langflow-embedded-chat/issues/5 | 1,955,409,866 | I_kwDOJ0A4Ac50jS_K | 5 | Chat Input loses focus | {
"login": "damhack",
"id": 1200106,
"node_id": "MDQ6VXNlcjEyMDAxMDY=",
"avatar_url": "https://avatars.githubusercontent.com/u/1200106?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/damhack",
"html_url": "https://github.com/damhack",
"followers_url": "https://api.github.com/users/damhack/followers",
"following_url": "https://api.github.com/users/damhack/following{/other_user}",
"gists_url": "https://api.github.com/users/damhack/gists{/gist_id}",
"starred_url": "https://api.github.com/users/damhack/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/damhack/subscriptions",
"organizations_url": "https://api.github.com/users/damhack/orgs",
"repos_url": "https://api.github.com/users/damhack/repos",
"events_url": "https://api.github.com/users/damhack/events{/privacy}",
"received_events_url": "https://api.github.com/users/damhack/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"To fix this I propose to modify only the file `arrow_reader.py` with few updates. First update, the following method:\r\n```python\r\ndef _make_file_instructions_from_absolutes(\r\n name,\r\n name2len,\r\n absolute_instructions,\r\n):\r\n \"\"\"Returns the files instructions from the absolute instructions list.\"\"\"\r\n # For each split, return the files instruction (skip/take)\r\n file_instructions = []\r\n num_examples = 0\r\n for abs_instr in absolute_instructions:\r\n length = name2len[abs_instr.splitname]\r\n if not length:\r\n raise ValueError(\r\n 'Split empty. This might means that dataset hasn\\'t been generated '\r\n 'yet and info not restored from GCS, or that legacy dataset is used.')\r\n filename = filename_for_dataset_split(\r\n dataset_name=name,\r\n split=abs_instr.splitname,\r\n filetype_suffix='arrow')\r\n from_ = 0 if abs_instr.from_ is None else abs_instr.from_\r\n to = length if abs_instr.to is None else abs_instr.to\r\n num_examples += to - from_\r\n single_file_instructions = [{\"filename\": filename, \"skip\": from_, \"take\": to - from_}]\r\n file_instructions.extend(single_file_instructions)\r\n return FileInstructions(\r\n num_examples=num_examples,\r\n file_instructions=file_instructions,\r\n )\r\n```\r\nBecomes:\r\n```python\r\ndef _make_file_instructions_from_absolutes(\r\n name,\r\n name2len,\r\n absolute_instructions,\r\n):\r\n \"\"\"Returns the files instructions from the absolute instructions list.\"\"\"\r\n # For each split, return the files instruction (skip/take)\r\n file_instructions = []\r\n num_examples = 0\r\n for abs_instr in absolute_instructions:\r\n length = name2len[abs_instr.splitname]\r\n ## Delete the if not length and the raise\r\n filename = filename_for_dataset_split(\r\n dataset_name=name,\r\n split=abs_instr.splitname,\r\n filetype_suffix='arrow')\r\n from_ = 0 if abs_instr.from_ is None else abs_instr.from_\r\n to = length if abs_instr.to is None else abs_instr.to\r\n num_examples += to - from_\r\n single_file_instructions = [{\"filename\": filename, \"skip\": from_, \"take\": to - from_}]\r\n file_instructions.extend(single_file_instructions)\r\n return FileInstructions(\r\n num_examples=num_examples,\r\n file_instructions=file_instructions,\r\n )\r\n```\r\n\r\nSecond update the following method:\r\n```python\r\ndef _read_files(files, info):\r\n \"\"\"Returns Dataset for given file instructions.\r\n\r\n Args:\r\n files: List[dict(filename, skip, take)], the files information.\r\n The filenames contain the absolute path, not relative.\r\n skip/take indicates which example read in the file: `ds.slice(skip, take)`\r\n \"\"\"\r\n pa_batches = []\r\n for f_dict in files:\r\n pa_table: pa.Table = _get_dataset_from_filename(f_dict)\r\n pa_batches.extend(pa_table.to_batches())\r\n pa_table = pa.Table.from_batches(pa_batches)\r\n ds = Dataset(arrow_table=pa_table, data_files=files, info=info)\r\n return ds\r\n```\r\nBecomes:\r\n```python\r\ndef _read_files(files, info):\r\n \"\"\"Returns Dataset for given file instructions.\r\n\r\n Args:\r\n files: List[dict(filename, skip, take)], the files information.\r\n The filenames contain the absolute path, not relative.\r\n skip/take indicates which example read in the file: `ds.slice(skip, take)`\r\n \"\"\"\r\n pa_batches = []\r\n for f_dict in files:\r\n pa_table: pa.Table = _get_dataset_from_filename(f_dict)\r\n pa_batches.extend(pa_table.to_batches())\r\n ## we modify the table only if there are some batches\r\n if pa_batches:\r\n pa_table = pa.Table.from_batches(pa_batches)\r\n ds = Dataset(arrow_table=pa_table, data_files=files, info=info)\r\n return ds\r\n```\r\n\r\nWith these two updates it works now. @thomwolf are you ok with this changes?",
"Yes sounds good to me!\r\nDo you want to make a PR? or I can do it as well",
"Fixed."
] | 2023-10-21T09:39:35 | 2023-11-08T01:00:52 | 2023-11-08T01:00:52 | CONTRIBUTOR | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | In order for the WebComponent to be useful as a chat interface, the user input field needs to gain focus automatically after each turn of the conversation. At the moment it needs a mouse click/touch. Especially if the parent page is already autofocusing another element.
I don't want to do a PR, because code quality (and not sure if anyone is actively maintaining this sub-project any more).
So here's how I resolved it on Node 18:
Insert after line 84 of src/chatWidget/chatWindow/index.tsx
```
const inputRef = useRef<HTMLInputElement>(null);
const handleBlur = () => {
if (inputRef.current) { inputRef.current.focus(); }
};
```
Add the following attributes to the input tag inside the cl-input_container div
```
ref={inputRef}
onBlur={handleBlur}
```
This will give the chat input focus whenever the chat window is open, allowing continuous conversation without having to click on the input field.
Note, this probably only works with Node 18+. I believe `inputRef.current` can be changed to just `inputRef` for earlier versions of Node.
Hope this helps. | {
"login": "damhack",
"id": 1200106,
"node_id": "MDQ6VXNlcjEyMDAxMDY=",
"avatar_url": "https://avatars.githubusercontent.com/u/1200106?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/damhack",
"html_url": "https://github.com/damhack",
"followers_url": "https://api.github.com/users/damhack/followers",
"following_url": "https://api.github.com/users/damhack/following{/other_user}",
"gists_url": "https://api.github.com/users/damhack/gists{/gist_id}",
"starred_url": "https://api.github.com/users/damhack/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/damhack/subscriptions",
"organizations_url": "https://api.github.com/users/damhack/orgs",
"repos_url": "https://api.github.com/users/damhack/repos",
"events_url": "https://api.github.com/users/damhack/events{/privacy}",
"received_events_url": "https://api.github.com/users/damhack/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/5/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/5/timeline | null | completed | null | null | false |
https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/4 | https://api.github.com/repos/langflow-ai/langflow-embedded-chat | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/4/labels{/name} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/4/comments | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/4/events | https://github.com/langflow-ai/langflow-embedded-chat/issues/4 | 1,946,467,353 | I_kwDOJ0A4Ac50BLwZ | 4 | 403 Forbidden using Chat | {
"login": "damhack",
"id": 1200106,
"node_id": "MDQ6VXNlcjEyMDAxMDY=",
"avatar_url": "https://avatars.githubusercontent.com/u/1200106?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/damhack",
"html_url": "https://github.com/damhack",
"followers_url": "https://api.github.com/users/damhack/followers",
"following_url": "https://api.github.com/users/damhack/following{/other_user}",
"gists_url": "https://api.github.com/users/damhack/gists{/gist_id}",
"starred_url": "https://api.github.com/users/damhack/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/damhack/subscriptions",
"organizations_url": "https://api.github.com/users/damhack/orgs",
"repos_url": "https://api.github.com/users/damhack/repos",
"events_url": "https://api.github.com/users/damhack/events{/privacy}",
"received_events_url": "https://api.github.com/users/damhack/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Yes! I see mostly two options for this:\r\n- a `Feature` approach like currently (but we might deprecate features)\r\n- wrapping in a smart way the Dictionary arrays of Arrow: https://arrow.apache.org/docs/python/data.html?highlight=dictionary%20encode#dictionary-arrays",
"I would have a preference for the second bullet point.",
"This should be accessible now as a feature in dataset.info.features (and even have the mapping methods).",
"Perfect! Well done!!",
"Hi,\r\nI hope we could get a better documentation.\r\nIt took me more than 1 hour to found this way to get the label information.",
"Yes we are working on the doc right now, should be in the next release quite soon."
] | 2023-10-17T03:30:20 | 2023-10-19T00:24:39 | 2023-10-19T00:24:39 | CONTRIBUTOR | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | At the point that the WebComponent for basic HTML performs a post back to the server process endpoint, a 403 is thrown complaining about lack of API Key.
I am passing the key as per the docs, in my case via tweaks, e.g.:
```
<langflow-chat
...
host_url="https://<mySite>"
tweaks='{"api_key": "<myAPIKey>"}'
></langflow-chat>
```
However, the API Key isn't then passed in a header within the request.
What am I doing wrong? | {
"login": "damhack",
"id": 1200106,
"node_id": "MDQ6VXNlcjEyMDAxMDY=",
"avatar_url": "https://avatars.githubusercontent.com/u/1200106?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/damhack",
"html_url": "https://github.com/damhack",
"followers_url": "https://api.github.com/users/damhack/followers",
"following_url": "https://api.github.com/users/damhack/following{/other_user}",
"gists_url": "https://api.github.com/users/damhack/gists{/gist_id}",
"starred_url": "https://api.github.com/users/damhack/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/damhack/subscriptions",
"organizations_url": "https://api.github.com/users/damhack/orgs",
"repos_url": "https://api.github.com/users/damhack/repos",
"events_url": "https://api.github.com/users/damhack/events{/privacy}",
"received_events_url": "https://api.github.com/users/damhack/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/4/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/4/timeline | null | completed | null | null | false |
https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/3 | https://api.github.com/repos/langflow-ai/langflow-embedded-chat | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/3/labels{/name} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/3/comments | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/3/events | https://github.com/langflow-ai/langflow-embedded-chat/pull/3 | 1,865,973,602 | PR_kwDOJ0A4Ac5YvOPM | 3 | add support for api_key prop in ChatWidget and Chat | {
"login": "anovazzi1",
"id": 70824914,
"node_id": "MDQ6VXNlcjcwODI0OTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/70824914?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anovazzi1",
"html_url": "https://github.com/anovazzi1",
"followers_url": "https://api.github.com/users/anovazzi1/followers",
"following_url": "https://api.github.com/users/anovazzi1/following{/other_user}",
"gists_url": "https://api.github.com/users/anovazzi1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anovazzi1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anovazzi1/subscriptions",
"organizations_url": "https://api.github.com/users/anovazzi1/orgs",
"repos_url": "https://api.github.com/users/anovazzi1/repos",
"events_url": "https://api.github.com/users/anovazzi1/events{/privacy}",
"received_events_url": "https://api.github.com/users/anovazzi1/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Yes!\r\n- pandas will be a one-liner in `arrow_dataset`: https://arrow.apache.org/docs/python/generated/pyarrow.Table.html#pyarrow.Table.to_pandas\r\n- for Spark I have no idea. let's investigate that at some point",
"For Spark it looks to be pretty straightforward as well https://spark.apache.org/docs/latest/sql-pyspark-pandas-with-arrow.html but looks to be having a dependency to Spark is necessary, then nevermind we can skip it",
"Now Pandas is available."
] | 2023-08-24T22:26:57 | 2023-10-05T21:06:44 | 2023-10-05T21:06:44 | COLLABORATOR | null | null | null | feat(chatWidget): add support for api_key prop in ChatWidget and ChatWindow components to pass API key to sendMessage function
fix(controllers): modify sendMessage function to include api_key in the request data if provided
feat(index.tsx): add api_key prop to ChatWidget component in custom element definition | {
"login": "anovazzi1",
"id": 70824914,
"node_id": "MDQ6VXNlcjcwODI0OTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/70824914?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anovazzi1",
"html_url": "https://github.com/anovazzi1",
"followers_url": "https://api.github.com/users/anovazzi1/followers",
"following_url": "https://api.github.com/users/anovazzi1/following{/other_user}",
"gists_url": "https://api.github.com/users/anovazzi1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anovazzi1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anovazzi1/subscriptions",
"organizations_url": "https://api.github.com/users/anovazzi1/orgs",
"repos_url": "https://api.github.com/users/anovazzi1/repos",
"events_url": "https://api.github.com/users/anovazzi1/events{/privacy}",
"received_events_url": "https://api.github.com/users/anovazzi1/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/3/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/3/timeline | null | null | false | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/pulls/3",
"html_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/3",
"diff_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/3.diff",
"patch_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/3.patch",
"merged_at": "2023-10-05T21:06:44"
} | true |
https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/2 | https://api.github.com/repos/langflow-ai/langflow-embedded-chat | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/2/labels{/name} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/2/comments | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/2/events | https://github.com/langflow-ai/langflow-embedded-chat/issues/2 | 1,864,811,413 | I_kwDOJ0A4Ac5vJsOV | 2 | [Question] Do you have plan to support stream?? | {
"login": "hawksung1",
"id": 34852592,
"node_id": "MDQ6VXNlcjM0ODUyNTky",
"avatar_url": "https://avatars.githubusercontent.com/u/34852592?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hawksung1",
"html_url": "https://github.com/hawksung1",
"followers_url": "https://api.github.com/users/hawksung1/followers",
"following_url": "https://api.github.com/users/hawksung1/following{/other_user}",
"gists_url": "https://api.github.com/users/hawksung1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hawksung1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hawksung1/subscriptions",
"organizations_url": "https://api.github.com/users/hawksung1/orgs",
"repos_url": "https://api.github.com/users/hawksung1/repos",
"events_url": "https://api.github.com/users/hawksung1/events{/privacy}",
"received_events_url": "https://api.github.com/users/hawksung1/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"My first bug report ❤️\r\nLooking into this right now!",
"Ok, there are some news, most good than bad :laughing: \r\n\r\nThe dataset script now became:\r\n```python\r\nimport csv\r\n\r\nimport nlp\r\n\r\n\r\nclass Bbc(nlp.GeneratorBasedBuilder):\r\n VERSION = nlp.Version(\"1.0.0\")\r\n\r\n def __init__(self, **config):\r\n self.train = config.pop(\"train\", None)\r\n self.validation = config.pop(\"validation\", None)\r\n super(Bbc, self).__init__(**config)\r\n\r\n def _info(self):\r\n return nlp.DatasetInfo(builder=self, description=\"bla\", features=nlp.features.FeaturesDict({\"id\": nlp.int32, \"text\": nlp.string, \"label\": nlp.string}))\r\n\r\n def _split_generators(self, dl_manager):\r\n return [nlp.SplitGenerator(name=nlp.Split.TRAIN, gen_kwargs={\"filepath\": self.train}),\r\n nlp.SplitGenerator(name=nlp.Split.VALIDATION, gen_kwargs={\"filepath\": self.validation})]\r\n\r\n def _generate_examples(self, filepath):\r\n with open(filepath) as f:\r\n reader = csv.reader(f, delimiter=',', quotechar=\"\\\"\")\r\n lines = list(reader)[1:]\r\n\r\n for idx, line in enumerate(lines):\r\n yield idx, {\"id\": idx, \"text\": line[1], \"label\": line[0]}\r\n\r\n```\r\n\r\nAnd the dataset folder becomes:\r\n```\r\n.\r\n├── bbc\r\n│ ├── bbc.py\r\n│ └── data\r\n│ ├── test.csv\r\n│ └── train.csv\r\n```\r\nI can load the dataset by using the keywords arguments like this:\r\n```python\r\nimport nlp\r\ndataset = nlp.load(\"bbc\", builder_kwargs={\"train\": \"bbc/data/train.csv\", \"validation\": \"bbc/data/test.csv\"})\r\n```\r\n\r\nThat was the good part ^^ Because it took me some time to understand that the script itself is put in cache in `datasets/src/nlp/datasets/some-hash/bbc.py` which is very difficult to discover without checking the source code. It means that doesn't matter the changes you do to your original script it is taken into account. I think instead of doing a hash on the name (I suppose it is the name), a hash on the content of the script itself should be a better solution.\r\n\r\nThen by diving a bit in the code I found the `force_reload` parameter [here](https://github.com/huggingface/datasets/blob/master/src/nlp/load.py#L50) but the call of this `load_dataset` method is done with the `builder_kwargs` as seen [here](https://github.com/huggingface/datasets/blob/master/src/nlp/load.py#L166) which is ok until the call to the builder is done as the builder do not have this `force_reload` parameter. To show as example, the previous load becomes:\r\n```python\r\nimport nlp\r\ndataset = nlp.load(\"bbc\", builder_kwargs={\"train\": \"bbc/data/train.csv\", \"validation\": \"bbc/data/test.csv\", \"force_reload\": True})\r\n```\r\nRaises\r\n```\r\nTraceback (most recent call last):\r\n File \"<stdin>\", line 1, in <module>\r\n File \"/home/jplu/dev/jplu/datasets/src/nlp/load.py\", line 283, in load\r\n dbuilder: DatasetBuilder = builder(path, name, data_dir=data_dir, **builder_kwargs)\r\n File \"/home/jplu/dev/jplu/datasets/src/nlp/load.py\", line 170, in builder\r\n builder_instance = builder_cls(**builder_kwargs)\r\n File \"/home/jplu/dev/jplu/datasets/src/nlp/datasets/84d638d2a8ca919d1021a554e741766f50679dc6553d5a0612b6094311babd39/bbc.py\", line 12, in __init__\r\n super(Bbc, self).__init__(**config)\r\nTypeError: __init__() got an unexpected keyword argument 'force_reload'\r\n```\r\nSo yes the cache is refreshed with the new script but then raises this error.",
"Ok great, so as discussed today, let's:\r\n- have a main dataset directory inside the lib with sub-directories hashed by the content of the file\r\n- keep a cache for downloading the scripts from S3 for now\r\n- later: add methods to list and clean the local versions of the datasets (and the distant versions on S3 as well)\r\n\r\nSide question: do you often use `builder_kwargs` for other things than supplying file paths? I was thinking about having a more easy to read and remember `data_files` argument maybe.",
"Good plan!\r\n\r\nYes I do use `builder_kwargs` for other things such as:\r\n- dataset name\r\n- properties to know how to properly read a CSV file: do I have to skip the first line in a CSV, which delimiter is used, and the columns ids to use.\r\n- properties to know how to properly read a JSON file: which properties in a JSON object to read",
"Done!"
] | 2023-08-24T09:56:51 | 2023-08-24T22:11:37 | 2023-08-24T22:11:37 | NONE | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | for now widget support only predict but I want streaming widget.
Do you have any plan?? | {
"login": "anovazzi1",
"id": 70824914,
"node_id": "MDQ6VXNlcjcwODI0OTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/70824914?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anovazzi1",
"html_url": "https://github.com/anovazzi1",
"followers_url": "https://api.github.com/users/anovazzi1/followers",
"following_url": "https://api.github.com/users/anovazzi1/following{/other_user}",
"gists_url": "https://api.github.com/users/anovazzi1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anovazzi1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anovazzi1/subscriptions",
"organizations_url": "https://api.github.com/users/anovazzi1/orgs",
"repos_url": "https://api.github.com/users/anovazzi1/repos",
"events_url": "https://api.github.com/users/anovazzi1/events{/privacy}",
"received_events_url": "https://api.github.com/users/anovazzi1/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/2/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/2/timeline | null | completed | null | null | false |
https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/1 | https://api.github.com/repos/langflow-ai/langflow-embedded-chat | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/1/labels{/name} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/1/comments | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/1/events | https://github.com/langflow-ai/langflow-embedded-chat/pull/1 | 1,831,977,558 | PR_kwDOJ0A4Ac5W8k1l | 1 | update dependencies array | {
"login": "anovazzi1",
"id": 70824914,
"node_id": "MDQ6VXNlcjcwODI0OTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/70824914?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anovazzi1",
"html_url": "https://github.com/anovazzi1",
"followers_url": "https://api.github.com/users/anovazzi1/followers",
"following_url": "https://api.github.com/users/anovazzi1/following{/other_user}",
"gists_url": "https://api.github.com/users/anovazzi1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anovazzi1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anovazzi1/subscriptions",
"organizations_url": "https://api.github.com/users/anovazzi1/orgs",
"repos_url": "https://api.github.com/users/anovazzi1/repos",
"events_url": "https://api.github.com/users/anovazzi1/events{/privacy}",
"received_events_url": "https://api.github.com/users/anovazzi1/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-08-01T20:24:20 | 2023-08-01T20:24:33 | 2023-08-01T20:24:33 | COLLABORATOR | null | null | null | update dependencies array to support live changes on node position after the build. | {
"login": "anovazzi1",
"id": 70824914,
"node_id": "MDQ6VXNlcjcwODI0OTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/70824914?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anovazzi1",
"html_url": "https://github.com/anovazzi1",
"followers_url": "https://api.github.com/users/anovazzi1/followers",
"following_url": "https://api.github.com/users/anovazzi1/following{/other_user}",
"gists_url": "https://api.github.com/users/anovazzi1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anovazzi1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anovazzi1/subscriptions",
"organizations_url": "https://api.github.com/users/anovazzi1/orgs",
"repos_url": "https://api.github.com/users/anovazzi1/repos",
"events_url": "https://api.github.com/users/anovazzi1/events{/privacy}",
"received_events_url": "https://api.github.com/users/anovazzi1/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/1/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/langflow-ai/langflow-embedded-chat/issues/1/timeline | null | null | false | {
"url": "https://api.github.com/repos/langflow-ai/langflow-embedded-chat/pulls/1",
"html_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/1",
"diff_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/1.diff",
"patch_url": "https://github.com/langflow-ai/langflow-embedded-chat/pull/1.patch",
"merged_at": "2023-08-01T20:24:33"
} | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.