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

Exclude the ".txt" extension while adding text to vector DB via create_by_text API #6954

Closed
5 tasks done
gijigae opened this issue Aug 5, 2024 · 0 comments · Fixed by #6956
Closed
5 tasks done

Exclude the ".txt" extension while adding text to vector DB via create_by_text API #6954

gijigae opened this issue Aug 5, 2024 · 0 comments · Fixed by #6956
Labels
📚 feat:datasource Data sources like web, Notion, Logseq, Lark, Docs

Comments

@gijigae
Copy link
Contributor

gijigae commented Aug 5, 2024

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

While adding text to a vector DB via create_by_text API, the file name of document is suffixed with the .txt extension even though the document is comprised of text extracted from web or YouTube's transcrips. For example, a YouTube URL is referenced as "https://youtu.be/Xkm3-thqgXc.txt". Since the file name is used in "Citations and Attributions", showing "https://youtu.be/Xkm3-thqgXc.txt" does not make sense. It should be referenced as "https://youtu.be/Xkm3-thqgXc" without the extension.

image

2. Additional context or comments

No response

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
@dosubot dosubot bot added the 📚 feat:datasource Data sources like web, Notion, Logseq, Lark, Docs label Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📚 feat:datasource Data sources like web, Notion, Logseq, Lark, Docs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant