Sha256: a19cebf2b130537c7687007f449155ab2e8d8fedd297b8b4218ad9602c4cceb3
Contents?: true
Size: 601 Bytes
Versions: 3
Compression:
Stored size: 601 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' require 'bedrock_runtime/payload_builders/meta/llama213b_chat_v1' RSpec.describe RubyAmazonBedrock::PayloadBuilders::Meta::Llama213bChatV1 do let(:prompt) { 'example_prompt' } let(:options) { {} } let(:body) do { prompt: prompt, max_gen_len: 512, temperature: 0.5, top_p: 0.9 }.to_json end describe '#build' do it_should_behave_like 'a payload builder' context 'with custom parameters' do include_context 'meta parameters' it_should_behave_like 'a payload builder' end end end
Version data entries
3 entries across 3 versions & 1 rubygems