Replies: 1 comment 2 replies
-
The In contrast, the Python implementation might handle this translation internally or differently, possibly due to differences in how the language models or vector stores are integrated and utilized in Python versus JavaScript. The need for a If you're looking to use this feature with PGVectors in JavaScript, you would need to ensure that the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Beta Was this translation helpful? Give feedback.
-
Checked other resources
Commit to Help
Example Code
In Python, a self querying retriever looks something like this:
In JS, it's a similar process, but there's an additional layer of abstraction because there's a
structuredQueryTranslator
. Just wondering why.If I want to use this feature in JS with PGVectors, it isn't clear how.
Description
Trying to understand why the differences between the Python & JS SDKs for SelfQueryingRetrievers.
In my humble opinion both methods should be iso enough to be able to swap in terms of method signature (unless something's happening at the vector store level providing the self querying capabilities).
System Info
langchain@0.3.7
mac
22.10.0
N/A
Beta Was this translation helpful? Give feedback.
All reactions