

Terjemahan disediakan oleh mesin penerjemah. Jika konten terjemahan yang diberikan bertentangan dengan versi bahasa Inggris aslinya, utamakan versi bahasa Inggris.

# Contoh kode untuk Amazon Bedrock Runtime menggunakan AWS SDK

Contoh kode berikut menunjukkan cara menggunakan Amazon Bedrock Runtime dengan AWS kit pengembangan perangkat lunak (SDK). 

*Skenario* adalah contoh kode yang menunjukkan kepada Anda cara menyelesaikan tugas tertentu dengan memanggil beberapa fungsi dalam layanan atau digabungkan dengan yang lain Layanan AWS.

Untuk daftar lengkap AWS Panduan pengembang SDK dan contoh kode, lihat [Menggunakan Amazon Bedrock dengan AWS SDK](sdk-general-information-section.md). Topik ini juga mencakup informasi tentang memulai dan detail tentang versi SDK sebelumnya.

**Contents**
+ [Hal-hal mendasar](service_code_examples_bedrock-runtime_basics.md)
  + [Halo Amazon Bedrock Runtime](bedrock-runtime_example_bedrock-runtime_Hello_section.md)
+ [Skenario](service_code_examples_bedrock-runtime_scenarios.md)
  + [Buat aplikasi taman bermain untuk berinteraksi dengan model pondasi Amazon Bedrock](bedrock-runtime_example_cross_FMPlayground_section.md)
  + [Membuat dan memanggil prompt terkelola](bedrock-runtime_example_bedrock-agent_GettingStartedWithBedrockPrompts_section.md)
  + [Hasilkan video dari prompt teks menggunakan Amazon Bedrock](bedrock-runtime_example_bedrock-runtime_Scenario_GenerateVideos_NovaReel_section.md)
  + [Mengatur aplikasi AI generatif dengan Fungsi Langkah](bedrock-runtime_example_cross_ServerlessPromptChaining_section.md)
  + [Penggunaan alat dengan API Converse](bedrock-runtime_example_bedrock-runtime_Scenario_ToolUse_section.md)
+ [Amazon Nova](service_code_examples_bedrock-runtime_amazon_nova.md)
  + [Converse](bedrock-runtime_example_bedrock-runtime_Converse_AmazonNovaText_section.md)
  + [ConverseStream](bedrock-runtime_example_bedrock-runtime_ConverseStream_AmazonNovaText_section.md)
  + [Pemahaman dokumen](bedrock-runtime_example_bedrock-runtime_DocumentUnderstanding_AmazonNova_section.md)
  + [Skenario: Penggunaan alat dengan API Converse](bedrock-runtime_example_bedrock-runtime_Scenario_ToolUseDemo_AmazonNova_section.md)
+ [Kanvas Amazon Nova](service_code_examples_bedrock-runtime_amazon_nova_canvas.md)
  + [InvokeModel](bedrock-runtime_example_bedrock-runtime_InvokeModel_AmazonNovaImageGeneration_section.md)
+ [Gulungan Amazon Nova](service_code_examples_bedrock-runtime_amazon_nova_reel.md)
  + [Text-to-video](bedrock-runtime_example_bedrock-runtime_Scenario_AmazonNova_TextToVideo_section.md)
+ [Pembuat Gambar Amazon Titan](service_code_examples_bedrock-runtime_amazon_titan_image_generator.md)
  + [InvokeModel](bedrock-runtime_example_bedrock-runtime_InvokeModel_TitanImageGenerator_section.md)
+ [Teks Amazon Titan](service_code_examples_bedrock-runtime_amazon_titan_text.md)
  + [InvokeModel](bedrock-runtime_example_bedrock-runtime_InvokeModel_TitanText_section.md)
+ [Penyematan Teks Amazon Titan](service_code_examples_bedrock-runtime_amazon_titan_text_embeddings.md)
  + [InvokeModel](bedrock-runtime_example_bedrock-runtime_InvokeModelWithResponseStream_TitanTextEmbeddings_section.md)
+ [Antropik Claude](service_code_examples_bedrock-runtime_anthropic_claude.md)
  + [Converse](bedrock-runtime_example_bedrock-runtime_Converse_AnthropicClaude_section.md)
  + [ConverseStream](bedrock-runtime_example_bedrock-runtime_ConverseStream_AnthropicClaude_section.md)
  + [Pemahaman dokumen](bedrock-runtime_example_bedrock-runtime_DocumentUnderstanding_AnthropicClaude_section.md)
  + [Penalaran](bedrock-runtime_example_bedrock-runtime_Converse_AnthropicClaudeReasoning_section.md)
  + [Penalaran dengan respons streaming](bedrock-runtime_example_bedrock-runtime_ConverseStream_AnthropicClaudeReasoning_section.md)
  + [Skenario: Penggunaan alat dengan API Converse](bedrock-runtime_example_bedrock-runtime_Scenario_ToolUseDemo_AnthropicClaude_section.md)
+ [DeepSeek](service_code_examples_bedrock-runtime_deepseek.md)
  + [Pemahaman dokumen](bedrock-runtime_example_bedrock-runtime_DocumentUnderstanding_DeepSeek_section.md)
+ [Meta Lama](service_code_examples_bedrock-runtime_meta_llama.md)
  + [Converse](bedrock-runtime_example_bedrock-runtime_Converse_MetaLlama_section.md)
  + [ConverseStream](bedrock-runtime_example_bedrock-runtime_ConverseStream_MetaLlama_section.md)
  + [Pemahaman dokumen](bedrock-runtime_example_bedrock-runtime_DocumentUnderstanding_MetaLlama_section.md)
+ [Mistral AI](service_code_examples_bedrock-runtime_mistral_ai.md)
  + [Converse](bedrock-runtime_example_bedrock-runtime_Converse_Mistral_section.md)
  + [ConverseStream](bedrock-runtime_example_bedrock-runtime_ConverseStream_Mistral_section.md)
  + [Pemahaman dokumen](bedrock-runtime_example_bedrock-runtime_DocumentUnderstanding_Mistral_section.md)
+ [Inti Gambar Stabil](service_code_examples_bedrock-runtime_stable_image_core.md)
  + [InvokeModel](bedrock-runtime_example_bedrock-runtime_InvokeModel_StableDiffusion_section.md)