feat: implement GetMessageBatchResultsAsync method
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
namespace AnthropicClient.Tests.Files;
|
||||
|
||||
static class TestFileHelper
|
||||
{
|
||||
public static string GetTestFilePath(string fileName) =>
|
||||
Path.Combine(Directory.GetCurrentDirectory(), "Files", fileName);
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{"custom_id":"my-fifth-request","result":{"type":"errored","error":{"type":"error","error":{"type":"not_found_error","message":"The requested resource could not be found."}}}}
|
||||
{"custom_id":"my-fourth-request","result":{"type":"expired"}}
|
||||
{"custom_id":"my-third-request","result":{"type":"canceled"}}
|
||||
{"custom_id":"my-second-request","result":{"type":"succeeded","message":{"id":"msg_014VwiXbi91y3JMjcpyGBHX5","type":"message","role":"assistant","model":"claude-3-5-sonnet-20240620","content":[{"type":"text","text":"Hello again! It's nice to see you. How can I assist you today? Is there anything specific you'd like to chat about or any questions you have?"}],"stop_reason":"end_turn","stop_sequence":null,"usage":{"input_tokens":11,"output_tokens":36}}}}
|
||||
{"custom_id":"my-first-request","result":{"type":"succeeded","message":{"id":"msg_01FqfsLoHwgeFbguDgpz48m7","type":"message","role":"assistant","model":"claude-3-5-sonnet-20240620","content":[{"type":"text","text":"Hello! How can I assist you today? Feel free to ask me any questions or let me know if there's anything you'd like to chat about."}],"stop_reason":"end_turn","stop_sequence":null,"usage":{"input_tokens":10,"output_tokens":34}}}}
|
||||
Reference in New Issue
Block a user