Skip to content

Commit 394ac3e

Browse files
author
isabellapedraza
committed
prototype 1 done
1 parent 04da28e commit 394ac3e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

dist/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ function fetchOpenAI(apiKey, fieldValues, field) {
313313
},
314314
{
315315
"role": "user",
316-
"content": "Create a way of breaking down this data in a non-obvious way that includes the semantic meaning of the data with the following JSON format.\n Make sure the predicate can map directly to the earlier values and that the JSON you output is a valid JSON.\n {\n bins : [\n {\n bin_name: [insert bin name]\n \"pred\" : {insert predicate information}\n }\n ]\n }\n "
316+
"content": "Create a way of breaking down this data in a non-obvious way that includes the semantic meaning of the data with the following JSON format.\n Make sure the predicate can map directly to the earlier values, that you include your reasoning, and that the JSON you output is a valid JSON \n without comments.\n {\n bins : [\n {\n bin_name: [insert bin name]\n \"pred\" : {insert predicate information}\n }\n ]\n }\n "
317317
}
318318
]
319319
}

src/main.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,8 @@ async function fetchOpenAI(apiKey, fieldValues, field) {
360360
"role": "user",
361361
"content":
362362
`Create a way of breaking down this data in a non-obvious way that includes the semantic meaning of the data with the following JSON format.
363-
Make sure the predicate can map directly to the earlier values and that the JSON you output is a valid JSON.
363+
Make sure the predicate can map directly to the earlier values, that you include your reasoning, and that the JSON you output is a valid JSON
364+
without comments.
364365
{
365366
bins : [
366367
{

0 commit comments

Comments
 (0)