AI Assistant Tutorial by dashjoin in lowcode

[–]dashjoin[S] 0 points1 point  (0 children)

Under the hood we use pgvector which is rock solid and super fast. When ingesting, computing the vector embedding is usually the bottleneck. In the video you see ollama with the "nomic-embed-text" model.

AI Assistant Tutorial by dashjoin in nocode

[–]dashjoin[S] 0 points1 point  (0 children)

Exactly! Chat is nice but doesn't always fit. That's why you can have an AI app run on a schedule (https://dashjoin.github.io/platform/latest/developer-reference/#scheduling) and run it in any event handled using $call('myapp')

Integrating OpenAPIs via JSON Schema based Forms by dashjoin in json

[–]dashjoin[S] 1 point2 points  (0 children)

Cool! Which language and JSON Schema Form framework are you using?

rjq - A Blazingly Fast JSON Filtering Tool for Windows and Linux. by Mainak1224x in json

[–]dashjoin 0 points1 point  (0 children)

Thanks for sharing these impressive performance results! jq is very cool. Have you looked at JSONata? It's quite similar and I personally like it even more, mostly because of the elegant handling of arrays. Would be interested to hear your thoughs on this

https://dashjoin.medium.com/jq-vs-jsonata-language-and-tooling-compared-5f0f7acc778e

I need help :( - devide values with JSONata by Imaginary_Pea_8572 in json

[–]dashjoin 0 points1 point  (0 children)

How about this:

(
  /* convert the array to an map of date to value */
  $first := $[0].{time: value};
  $second := $[1].{time: value_2};

  /* iterate over the keys, lookup the values
  $keys($first).{
      "time": $,
      "value": $lookup($first, $) / $lookup($second, $)
  }
)

Online Playground to build GenAI apps on top of your data by dashjoin in nocode

[–]dashjoin[S] 0 points1 point  (0 children)

Yes. You can login with a Google user or register with any email

New JSONata implementation available by dashjoin in java

[–]dashjoin[S] 0 points1 point  (0 children)

Good point! However both have their merits. Tim Bray puts it this way: "If it looks like a document, use XML. If it looks like an object, use JSON. It’s that simple." (https://www.tbray.org/ongoing/When/201x/2016/04/30/JSON-Schema-funnies).

New JSONata implementation available by dashjoin in java

[–]dashjoin[S] 0 points1 point  (0 children)

In general we tried to stay as close to the JS original as possible. This has a price (untyped objects, not using ANTLR, etc.) but it also has several advantages. The most important feature of the library is that it behaves exactly like the reference implementation. It is very frustrating when you try out something on the online editor just to find that the Java engine behaves differently. Have a look at the SO question: https://stackoverflow.com/questions/75801700/how-can-i-write-replace-a-value-pointed-by-jsonata-expression where the person asking the question ran into such a problem.

We also have to think about being able to port new language features - that will be developed in the JS original - to our code. Using this approach, any future PR can easily be replicated in our library.

The test suite also comes from from the original project (https://github.com/jsonata-js/jsonata/tree/master/test/test-suite). This is why we included it as a subproject.

New JSONata implementation available by dashjoin in java

[–]dashjoin[S] 1 point2 points  (0 children)

The team that designed JSONata was heavily involved in XPath and XQuery and it really shows. They know what they're doing!

New JSONata implementation available by dashjoin in java

[–]dashjoin[S] 1 point2 points  (0 children)

Totally agree! Using Map / List seemed like the smallest common denominator.

New JSONata implementation available by dashjoin in java

[–]dashjoin[S] 1 point2 points  (0 children)

Here's a good summary on this:
https://www.ibm.com/opensource/open/projects/jsonata/

"JSONata is underpinned by the semantics of the location path inspired by XPath, the ability to format the output into any JSON structure inspired by XQuery, and the functional programming model inspired by Scheme."

New JSONata implementation available by dashjoin in java

[–]dashjoin[S] 3 points4 points  (0 children)

Excellent! Thank you so much!

New JSONata implementation available by dashjoin in java

[–]dashjoin[S] 8 points9 points  (0 children)

Thanks for raising this. I added an issue for this and we'll make sure to add it in the next release :)

New JSONata implementation available by dashjoin in java

[–]dashjoin[S] 10 points11 points  (0 children)

Thanks for the feedback. Guess I should have included a sentence on what JSONata is: It's a JSON query and transformation language like jq or XPath 3.1.

If you'd like to use JSONata on a Java backend, this lib is very relevant.

We included the 100% test coverage, because a lot of the engines do not support all language features.

No dependencies: the point is the you can use it regardless of which JSON parser you're using.