This commit is contained in:
2023-02-24 22:52:41 +01:00
parent 0acba2b807
commit 7e2d3bd1f2
3 changed files with 16 additions and 1 deletions

View File

@@ -22,4 +22,11 @@ server.createEndpoint(
"GET",
new DataGenerator(prompt1, null, llm).set({doFormat: false}));
let prompt2 =`Give me a 3 ideas what I should eat for breakfast and clearly start every of them with \"---\" so I can programatically split them. Please consider the following food intolarence: Gluten free. Make sure not to include complex or hard cooking recipes only easy ones that don't require advanced cooking skills. Concatenate the food names in hungarian after the english name inside brackets. The users name is: {param}`
server.createEndpoint(
"/food/:param",
"GET",
new DataGenerator(prompt2, null, llm).set({doFormat: false}));
server.start(3042);