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

[query_data example] max_chunk_overlap in PromptHelper must be in 0..1 range #1000

Merged
merged 1 commit into from
Sep 4, 2023

Conversation

quoing
Copy link
Contributor

@quoing quoing commented Sep 2, 2023

Description

Simple fix, percentage value is expected to be float in range 0..1

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

@quoing quoing force-pushed the fix_query_data_example branch from 72e8471 to cbcc907 Compare September 3, 2023 07:38
@mudler
Copy link
Owner

mudler commented Sep 3, 2023

long time I didn't tried the llama index example, is that something that changed recently? Shall we pin the llama index version maybe to the requirements.txt?

@quoing
Copy link
Contributor Author

quoing commented Sep 3, 2023

@mudler Unfortunately I don't know.. I just get to this project and wanted to try it.. query_data example was first thing I tried and ran into issues (I found issue #132 (comment) , which referenced the same).. store.py crashed with error: ValueError: chunk_overlap_ratio must be a float between 0. and 1.

@mudler
Copy link
Owner

mudler commented Sep 4, 2023

I see, thanks @quoing !

@mudler mudler merged commit e798115 into mudler:master Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants