-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[BUG] Chunker Config does not work as described in doc strings #251
Labels
bug
Something isn't working
Comments
The readme example works app = App(config=InitConfig(log_level="DEBUG"))
add_config = {
"chunker": {
"chunk_size": 1,
"chunk_overlap": 1,
"length_function": len,
}
}
app.add("text", "lorem ipsum", AddConfig(**add_config)) returns
|
This was referenced Jul 13, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My code
returns
I think it's because it expects a dict but
ChunkerConfig
is a class.I'm not sure why
ChunkerConfig
should be a dict when everything else is a config class.The text was updated successfully, but these errors were encountered: