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
During installation, I had problems as I expected the collection in the vectorstore to be created automatically.
I would like to propose inserting the auto-generation of the vectorstore in an after_initialize.
Is this a valid solution in your opinion? I can do a PR if you think it is a good solution.
Below is a Proof of Concept of the solution:
module MyRailsApplication class Application < Rails::Application # .... # Run vectorsearch initialization after application is loaded. config.after_initialize do provider = LangchainrbRails.config.vectorsearch default_schema = provider.get_default_schema provider.create_default_schema if !default_schema || default_schema.dig('status') != 'ok' end end end
The text was updated successfully, but these errors were encountered:
@gregogalante I think it would be a good idea to implement this :)
Sorry, something went wrong.
No branches or pull requests
During installation, I had problems as I expected the collection in the vectorstore to be created automatically.
I would like to propose inserting the auto-generation of the vectorstore in an after_initialize.
Is this a valid solution in your opinion? I can do a PR if you think it is a good solution.
Below is a Proof of Concept of the solution:
The text was updated successfully, but these errors were encountered: