Skip to content

Commit

Permalink
streaming true in example
Browse files Browse the repository at this point in the history
  • Loading branch information
cornelcroi committed Aug 29, 2024
1 parent 27f005f commit a8a9801
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,8 @@ This example demonstrates how to use the `ComprehendFilterAgent` as part of a `C
// Create a BedrockLLMAgent (or any other agent you want to use after filtering)
const llmAgent = new BedrockLLMAgent({
name: 'LLMProcessor',
description: 'Processes filtered content using a language model'
description: 'Processes filtered content using a language model',
streaming: true
});

// Create a ChainAgent that combines the filter and LLM agents
Expand Down Expand Up @@ -369,7 +370,8 @@ This example demonstrates how to use the `ComprehendFilterAgent` as part of a `C
# Create a BedrockLLMAgent (or any other agent you want to use after filtering)
llm_agent = BedrockLLMAgent(BedrockLLMAgentOptions(
name='LLMProcessor',
description='Processes filtered content using a language model'
description='Processes filtered content using a language model',
streaming=True
))

# Create a ChainAgent that combines the filter and LLM agents
Expand Down

0 comments on commit a8a9801

Please sign in to comment.