File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
packages/langium-ai-tools Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -26,10 +26,10 @@ Langium AI tools tracks tightly with Langium releases. If you're using Langium 3
2626
2727``` bash
2828# if you're using Langium 4.1.X
29- npm i --save langium@^4.1.0
29+ npm i --save langium-ai-tools @^4.1.0
3030
3131# or 3.5.X
32- npm i --save langium@^3.5.0
32+ npm i --save langium-ai-tools @^3.5.0
3333```
3434
3535We don't actively support Langium 2.X or earlier.
@@ -45,7 +45,7 @@ Langium AI Tools presents various splitting utilities that are simple but flexib
4545
4646For example, if you have a DSL that looks like this:
4747
48- ``` dsl
48+ ```
4949// A dsl that allows writing functions...
5050function foo() { ... }
5151function bar() { ... }
@@ -66,7 +66,7 @@ const chunks: string[] = splitByNode(
6666```
6767
6868And you would get back something like this:
69- ``` json
69+ ```
7070[
7171 'function foo() { ... }',
7272 'function bar() { ... }'
@@ -100,7 +100,7 @@ const programMap: string[] = mapper.map(myProg);
100100
101101Which would give you an output like so:
102102
103- ``` json
103+ ```
104104[
105105 'func foo',
106106 'func bar'
Original file line number Diff line number Diff line change 11{
22 "name" : " langium-ai-tools" ,
3- "version" : " 4.1.1 " ,
3+ "version" : " 4.1.2 " ,
44 "description" : " Tooling for building AI Applications that leverage Langium DSLs" ,
55 "repository" : {
66 "type" : " git" ,
You can’t perform that action at this time.
0 commit comments