Skip to content

Commit 5c632a9

Browse files
Update E2E response caches
1 parent 9cf7df7 commit 5c632a9

13 files changed

+25
-19
lines changed

src/SmartComponents.Inference/SmartPasteInference.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace SmartComponents.Inference;
1212

1313
public class SmartPasteInference
1414
{
15-
private readonly static JsonSerializerOptions jsonSerializerOptions
15+
private static readonly JsonSerializerOptions jsonSerializerOptions
1616
= new JsonSerializerOptions(JsonSerializerDefaults.Web);
1717

1818
public class SmartPasteRequestData

test/CachedResponses/119dd4a8fd01639c_USERDATA_AI_Artificial_Intelli.request.json

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

test/CachedResponses/119dd4a8fd01639c_USERDATA_AI_Artificial_Intelli.response.txt

Lines changed: 0 additions & 7 deletions
This file was deleted.

test/CachedResponses/136e674e3cd78590_USERDATA_Rahul_Mandal.request.json

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

test/CachedResponses/136e674e3cd78590_USERDATA_Rahul_Mandal.response.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"Messages":[{"Role":0,"Text":"\nCurrent date: Friday, 09 February 2024\n\nRespond with a JSON object with ONLY the following keys. For each key, infer a value from USER_DATA:\n\n{\n \u0022explicitly-annotated\u0022: /* The City of type string */,\n \u0022labelled-field\u0022: /* The Metal band of type string */,\n \u0022inferred-from-nearby-text\u0022: /* The Hairstyle of type string */,\n \u0022shoe-size\u0022: /* The shoe-size of type string */,\n \u0022philosophy\u0022: /* The philosophy of type string */\n}\n\n\nDo not explain how the values were determined.\nFor fields without any corresponding information in USER_DATA, use the value null."},{"Role":1,"Text":"\nUSER_DATA: \n Hairstyle: Tonsure\n Metal band: Sad Iron\n Philosophy: Nihilism\n City: Cairns\n Shoe size: 55\n \n"}],"Temperature":0,"TopP":1,"MaxTokens":2000,"FrequencyPenalty":0.1,"PresencePenalty":0,"StopSequences":null,"RespondJson":true}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"explicitly-annotated": "Cairns",
3+
"labelled-field": "Sad Iron",
4+
"inferred-from-nearby-text": "Tonsure",
5+
"shoe-size": "55",
6+
"philosophy": "Nihilism"
7+
}

test/CachedResponses/88464ce5ed318ff3_USERDATA_____________Hairstyle.request.json

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

test/CachedResponses/88464ce5ed318ff3_USERDATA_____________Hairstyle.response.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"Messages":[{"Role":0,"Text":"\nCurrent date: Friday, 09 February 2024\n\nRespond with a JSON object with ONLY the following keys. For each key, infer a value from USER_DATA:\n\n{\n \u0022movie.title\u0022: /* The Title: of type string */,\n \u0022movie.release_year\u0022: /* The Release year: of type number */,\n \u0022movie.description\u0022: /* The Description: of type string */,\n \u0022movie_genre\u0022: /* The Genre: Action Comedy Sci-fi Drama (multiple choice, with allowed values: \u0022Action\u0022,\u0022Comedy\u0022,\u0022Sci-fi\u0022,\u0022Drama\u0022) */,\n \u0022movie.for_kids\u0022: /* The Recommended for kids of type boolean */,\n \u0022movie.can_stream\u0022: /* The Available for streaming of type boolean */,\n \u0022movie.starring\u0022: /* (multiple choice, with allowed values: \u0022Joaquin Phoenix\u0022,\u0022Haley Joel Osment\u0022,\u0022Alicia Vikander\u0022,\u0022Arnold Schwarzenegger\u0022) */\n}\n\n\nDo not explain how the values were determined.\nFor fields without any corresponding information in USER_DATA, use the value null."},{"Role":1,"Text":"\nUSER_DATA: AI: Artificial Intelligence (2001, director: Steven Spielberg) is a sci-fi movie about a robot boy who desperately wants to be human. The tragedy at the heart of the film, though, is star Haley Joel Osment\u2019s immortality. He was designed as a child, but outlives everyone he ever loves. Available now through streaming services.\n"}],"Temperature":0,"TopP":1,"MaxTokens":2000,"FrequencyPenalty":0.1,"PresencePenalty":0,"StopSequences":null,"RespondJson":true}

0 commit comments

Comments
 (0)