Closed sfile-gaicklen closed 2 months ago
Can you share a screenshot of how you've filled the fields of the search points node?
As requested:
[Image Deleted]
The form:
[Image Deleted]
Can you set search filter to {}
?
I changed the "Search Filter" field to "[]" and the subject error disappeared. Initially, I just set the field to blank but that resulted in a "SyntaxError: Unexpected end of JSONinput". Changing this field to "[]" got rid of that issue, and now, the result is "Error: Bad request". Clearly that means that the original issue was with the default value for the "Search Filter" field.
Hah! Changing to "{}" solved the problem! Many thanks!
Maybe some documentation update ... :)
Better would be setting the default to {}
instead of null
.
I'm trying to use the Qdrant plugin in a very basic graph to search an existing collection. I can see all collections using the LIST COLLECTIONS node, so connectivity is not an issue. I use the GET EMBEDDING node to generate the embedding and link that to the EMBEDDING input on the SEARCH POINTS node. GET EMBEDDING returns a 1,536 length vector, but SEARCH POINTS errors out every time.
I can't be sure that this is due to the vector, of course. It could be due to the interaction with Qdrant or some other esoteric interaction.
Software versions: Qdrant: 1.8.4 node-js: 20.16.0 Rivet: 1.7.12 rivet-plugin-qdrant: 0.0.2 (also used github May 21st main branch) Windows 10 Pro
Ouput from developer console:
Normally, I'd expect this error to mean that JS is trying to parse JSON twice (i.e. parse the object that results when JSON is parsed.) Don't know if that's relevant here.