Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] 和ChatGPT对话时,ChatGPT返回文件链接转换为可以下载的link。 #4021

Open
weiwastron opened this issue Sep 19, 2024 · 2 comments
Labels
🌠 Feature Request New feature or request | 特性与建议 files 上传文件/知识库

Comments

@weiwastron
Copy link

🥰 需求描述

在lobe-chat中和chat-gpt对话,要求chat-gpt生成一个csv文件给我下载。ChatGPT返回“此外,你可以直接下载已生成的CSV文件:点击这里下载 CSV 文件 如何下载”。这里的链接是没有办法点击下载文件的。

🧐 解决方案

期望lobe-chat修改代码,识别到chat-gpt回复的内容中包含chat-gpt的sandbox中的文件的时候,可以进行下载和转换,然后提供一个可以下载的链接。

📝 补充信息

No response

@weiwastron weiwastron added the 🌠 Feature Request New feature or request | 特性与建议 label Sep 19, 2024
@lobehubbot
Copy link
Member

👀 @weiwastron

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


🥰 Description of requirements

Talk to chat-gpt in lobe-chat and ask chat-gpt to generate a csv file for me to download. ChatGPT returns "In addition, you can download the generated CSV file directly: [Click here to download CSV file](sandbox:/mnt/data/test_average score table.csv) How to download". There is no way to click on the link here to download the file.

🧐 Solution

It is expected that lobe-chat will modify the code, and when it recognizes that the content of chat-gpt's reply contains files in chat-gpt's sandbox, it can download and convert them, and then provide a download link.

📝 Supplementary information

No response

@dosubot dosubot bot added the files 上传文件/知识库 label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌠 Feature Request New feature or request | 特性与建议 files 上传文件/知识库
Projects
None yet
Development

No branches or pull requests

2 participants