Skip to content

Commit 6d9af32

Browse files
committed
updates
Signed-off-by: Mandana Vaziri <[email protected]>
1 parent f72f2bb commit 6d9af32

File tree

6 files changed

+11
-7
lines changed

6 files changed

+11
-7
lines changed

examples/cldk/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ wget https://github.com/apache/commons-cli/archive/refs/tags/rel/commons-cli-1.7
1212

1313
To run the CLDK assistant:
1414
```
15-
pdl examples/cldk/cldk-assistant.pdl
15+
pdl cldk-assistant.pdl
1616
```
1717

1818
Enter the path to the above Java project when prompted. Then you can make queries such as "what are all the classes?".

examples/code/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public static Map<String, String> deserializeOffsetMap(String lastSourceOffset)
1515
}
1616
```
1717

18-
We have some information about the repository for this code stored in a JSON [file](examples/code/data.json), such as repository name, path and filename. Using that data, we wish to formulate a prompt as follows:
18+
We have some information about the repository for this code stored in a JSON [file](./data.yaml), such as repository name, path and filename. Using that data, we wish to formulate a prompt as follows:
1919

2020
```
2121
Here is some info about the location of the function in the repo.
@@ -38,5 +38,5 @@ public static Map<String, String> deserializeOffsetMap(String lastSourceOffset)
3838
}
3939
```
4040

41-
The PDL program for this example can be found [here](examples/code/code.yaml). This example also contains a comparison with some ground truth for evaluation and outputs a text similarity metric ([code-eval.pdl](examples/code/code-eval.yaml)).
42-
The program [code-json.pdl](examples/code/code-json.yaml) outputs its results in JSON format.
41+
The PDL program for this example can be found [here](code.pdl). This example also contains a comparison with some ground truth for evaluation and outputs a text similarity metric ([code-eval.pdl](code-eval.pdl)).
42+
The program [code-json.pdl](code-json.pdl) outputs its results in JSON format.

examples/input/input_test1.pdl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@ text:
44
- read:
55
message: "Please provide an input: "
66
def: STDIN
7-
- get: STDIN
7+
contribute: []
8+
- ${ STDIN }
9+

examples/rag/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
This example requires you to install:
2+
```
3+
pip install scikit-learn
4+
```

examples/talk/out.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

out.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)