-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: test incorrect response file type
- Loading branch information
Showing
5 changed files
with
76 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
35 changes: 35 additions & 0 deletions
35
grader/tests/events/lawrence-mcdaniel-homework1-incorrect-response-type.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
"{ | ||
"isBase64Encoded": false, | ||
"statusCode": 200, | ||
"body": { | ||
"chat_memory": { | ||
"messages": [ | ||
{ | ||
"content": "Marv, I'd like to introduce you to all the nice YouTube viewers.", | ||
"additional_kwargs": {}, | ||
"type": "human", | ||
"example": false | ||
}, | ||
{ | ||
"content": "Oh, how delightful. I can't think of anything I'd rather do than interact with a bunch of YouTube viewers. Just kidding, I'd rather be doing literally anything else. But go ahead, introduce me to your lovely audience. I'm sure they'll be absolutely thrilled to meet me.", | ||
"additional_kwargs": {}, | ||
"type": "ai", | ||
"example": false | ||
} | ||
] | ||
}, | ||
"output_key": null, | ||
"input_key": null, | ||
"return_messages": true, | ||
"human_prefix": "Human", | ||
"ai_prefix": "AI", | ||
"memory_key": "chat_history", | ||
"request_meta_data": { | ||
"lambda": "lambda_langchain", | ||
"model": "gpt-3.5-turbo", | ||
"end_point": "ChatCompletion", | ||
"temperature": 0.5, | ||
"max_tokens": 256 | ||
} | ||
} | ||
}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters