AWS SDK for C++
AWS SDK for C++ Version 1.11.744
Main Page
Related Pages
Namespaces
Classes
Modules
Search
Loading...
Searching...
No Matches
generated
src
aws-cpp-sdk-bedrock-runtime
include
aws
bedrock-runtime
model
StopReason.h
1
6
#pragma once
7
#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8
#include <aws/core/utils/memory/stl/AWSString.h>
9
10
namespace
Aws
{
11
namespace
BedrockRuntime {
12
namespace
Model {
13
enum class
StopReason
{
14
NOT_SET
,
15
end_turn
,
16
tool_use
,
17
max_tokens
,
18
stop_sequence
,
19
guardrail_intervened
,
20
content_filtered
,
21
malformed_model_output
,
22
malformed_tool_use
,
23
model_context_window_exceeded
24
};
25
26
namespace
StopReasonMapper {
27
AWS_BEDROCKRUNTIME_API
StopReason
GetStopReasonForName
(
const
Aws::String
&
name
);
28
29
AWS_BEDROCKRUNTIME_API
Aws::String
GetNameForStopReason
(
StopReason
value);
30
}
// namespace StopReasonMapper
31
}
// namespace Model
32
}
// namespace BedrockRuntime
33
}
// namespace Aws
Aws::BedrockRuntime::Model::StopReasonMapper::GetNameForStopReason
AWS_BEDROCKRUNTIME_API Aws::String GetNameForStopReason(StopReason value)
Aws::BedrockRuntime::Model::StopReasonMapper::GetStopReasonForName
AWS_BEDROCKRUNTIME_API StopReason GetStopReasonForName(const Aws::String &name)
Aws::BedrockRuntime::Model::StopReason
StopReason
Definition
StopReason.h:13
Aws::BedrockRuntime::Model::StopReason::malformed_tool_use
@ malformed_tool_use
Aws::BedrockRuntime::Model::StopReason::tool_use
@ tool_use
Aws::BedrockRuntime::Model::StopReason::end_turn
@ end_turn
Aws::BedrockRuntime::Model::StopReason::stop_sequence
@ stop_sequence
Aws::BedrockRuntime::Model::StopReason::guardrail_intervened
@ guardrail_intervened
Aws::BedrockRuntime::Model::StopReason::malformed_model_output
@ malformed_model_output
Aws::BedrockRuntime::Model::StopReason::model_context_window_exceeded
@ model_context_window_exceeded
Aws::BedrockRuntime::Model::StopReason::max_tokens
@ max_tokens
Aws::BedrockRuntime::Model::StopReason::content_filtered
@ content_filtered
Aws::BedrockRuntime::Model::AsyncInvokeStatus::NOT_SET
@ NOT_SET
Aws
Aws::MakeShared
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Generated by
1.9.8
Privacy |
Site terms |
Cookie preferences