Skip to content

Commit

Permalink
Merge pull request #1131 from newrelic/add-vlite-vectorstore
Browse files Browse the repository at this point in the history
Add VLite Vectorstore to Langchain
  • Loading branch information
umaannamalai committed Apr 29, 2024
2 parents d9dcfaa + e908c37 commit 0aef37a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions newrelic/config.py
Expand Up @@ -2582,6 +2582,12 @@ def _process_module_builtin_defaults():
"instrument_langchain_vectorstore_similarity_search",
)

_process_module_definition(
"langchain_community.vectorstores.vlite",
"newrelic.hooks.mlmodel_langchain",
"instrument_langchain_vectorstore_similarity_search",
)

_process_module_definition(
"langchain_community.vectorstores.weaviate",
"newrelic.hooks.mlmodel_langchain",
Expand Down
1 change: 1 addition & 0 deletions newrelic/hooks/mlmodel_langchain.py
Expand Up @@ -111,6 +111,7 @@
"langchain_community.vectorstores.vearch": "Vearch",
"langchain_community.vectorstores.vectara": "Vectara",
"langchain_community.vectorstores.vespa": "VespaStore",
"langchain_community.vectorstores.vlite": "VLite",
"langchain_community.vectorstores.weaviate": "Weaviate",
"langchain_community.vectorstores.xata": "XataVectorStore",
"langchain_community.vectorstores.yellowbrick": "Yellowbrick",
Expand Down

0 comments on commit 0aef37a

Please sign in to comment.