Skip to content

Issue with Query Execution in NilDB - Internal DB Error (RepositoryError) #180

Closed Answered by psofiterol
emanuel-skai asked this question in Q&A
Discussion options

You must be logged in to vote

Alright, looks like it was basically one error in the pipeline definition -> the way $eq is used should be like this:

  "$match": {
    "$and": [
      {"userWalletId": {"$eq": "##userWalletId_filter"}},
      {"agent_id": {"$eq": "##agent_id_filter"}}
    ]
  }
  • and the second problem has to do with $document_embeddings.$share not being supported in pipelines (the $ not being supported on nested fields).

My suggestion is to swap this:

"document_embeddings": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "$share": {
                    "type": "string"
                  }
                }
   …

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@emanuel-skai
Comment options

@psofiterol
Comment options

@psofiterol
Comment options

Answer selected by emanuel-skai
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants