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

❌ 实例代码有个问题 #7

Open
pmy0721 opened this issue Dec 26, 2024 · 0 comments
Open

❌ 实例代码有个问题 #7

pmy0721 opened this issue Dec 26, 2024 · 0 comments

Comments

@pmy0721
Copy link

pmy0721 commented Dec 26, 2024

分割文本这部分代码⬇️
docs = ReadFiles(file_path).get_content(max_token_len=500, cover_content=0)
这里的cover_content不能取0吧,分割后的文本块都是从头开始的...🤦
不想要重叠部分的话可以取1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant