We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
python3.12 TypeError: 'function' object is not subscriptable
embedding_model_func = hashing_kv.global_config["embedding_func"]["func"]
embedding_model_func = hashing_kv.global_config["embedding_func"] works well, why we use ["func"] ?
embedding_model_func = hashing_kv.global_config["embedding_func"]
The text was updated successfully, but these errors were encountered:
change to this: embedding_model_func = hashing_kv.global_config["embedding_func"].func
embedding_model_func = hashing_kv.global_config["embedding_func"].func
Sorry, something went wrong.
No branches or pull requests
python3.12 TypeError: 'function' object is not subscriptable
embedding_model_func = hashing_kv.global_config["embedding_func"]
works well, why we use ["func"] ?The text was updated successfully, but these errors were encountered: