-
Notifications
You must be signed in to change notification settings - Fork 18
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
The test example doesn't appear to work any more (in the README.md) #150
Comments
@joeplatform48, thanks for this. I've been doing some major refactoring and improvements. The wrt to the error you get |
@joeplatform48, I see where the confusion comes from. In earlier versions, I used a pretty static method to create collections Just to make it clear Let me know if the above makes sense to you. Your error regarding the dimensions is unrelated to the code confusion I've created with keeping |
Thanks for the response, it looks like the openai has moved up a level to here (or has not moved into embeddings yet):
and to solve the dimension issue in the example I used:
but that was on me using I think with the example provided:
you need an option for the collection name so this works:
But all good, it works a treat :) |
@joeplatform48, I had a version of this with |
The example code doesn't appear to work.
The
pkg/embeddeding/openai
is not in the latest release.The format for the the new collection is incorrect.
Currently is:
But needs to be:
And running gives the following errors:
Embedding dimension 378 does not match collection dimensionality 1536
I guess I need need to set something somewhere to make this generate correctly?
Thanks
The text was updated successfully, but these errors were encountered: