We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 318451a commit 49ad284Copy full SHA for 49ad284
lib/langchainrb_rails/active_record/hooks.rb
@@ -76,9 +76,8 @@ def vectorsearch
76
# Pgvector-specific configuration
77
if LangchainrbRails.config.vectorsearch.is_a?(Langchain::Vectorsearch::Pgvector)
78
has_neighbors(:embedding)
79
+ LangchainrbRails.config.vectorsearch.model = self
80
end
-
81
- LangchainrbRails.config.vectorsearch.model = self
82
83
84
# Iterates over records and generate embeddings.
0 commit comments