Skip to content

Commit

Permalink
Add VLite Vectorstore to Langchain
Browse files Browse the repository at this point in the history
  • Loading branch information
lrafeei committed Apr 29, 2024
1 parent d9dcfaa commit e908c37
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 e908c37

Please sign in to comment.