-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
RunStepCodeInterpreterLogOutput.cs
44 lines (36 loc) · 1.87 KB
/
RunStepCodeInterpreterLogOutput.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
namespace Azure.AI.OpenAI.Assistants
{
/// <summary> A representation of a log output emitted by a code interpreter tool in response to a tool call by the model. </summary>
public partial class RunStepCodeInterpreterLogOutput : RunStepCodeInterpreterToolCallOutput
{
/// <summary> Initializes a new instance of <see cref="RunStepCodeInterpreterLogOutput"/>. </summary>
/// <param name="logs"> The serialized log output emitted by the code interpreter. </param>
/// <exception cref="ArgumentNullException"> <paramref name="logs"/> is null. </exception>
internal RunStepCodeInterpreterLogOutput(string logs)
{
Argument.AssertNotNull(logs, nameof(logs));
Type = "logs";
Logs = logs;
}
/// <summary> Initializes a new instance of <see cref="RunStepCodeInterpreterLogOutput"/>. </summary>
/// <param name="type"> The object type. </param>
/// <param name="serializedAdditionalRawData"> Keeps track of any properties unknown to the library. </param>
/// <param name="logs"> The serialized log output emitted by the code interpreter. </param>
internal RunStepCodeInterpreterLogOutput(string type, IDictionary<string, BinaryData> serializedAdditionalRawData, string logs) : base(type, serializedAdditionalRawData)
{
Logs = logs;
}
/// <summary> Initializes a new instance of <see cref="RunStepCodeInterpreterLogOutput"/> for deserialization. </summary>
internal RunStepCodeInterpreterLogOutput()
{
}
/// <summary> The serialized log output emitted by the code interpreter. </summary>
public string Logs { get; }
}
}