You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How do I pass a file into the InlineBedrockAgent.
When using an InlineBedrockAgent directly I can do the following.
constparams: InvokeInlineAgentRequest={sessionId: "unique-session-id",inlineSessionState: {files: [{name: "dataset.csv",source: {sourceType: FileSourceType.BYTE_CONTENT,byteContent: {mediaType: "text/csv",data: newTextEncoder().encode(csvString),},},useCase: FileUseCase.CODE_INTERPRETER,},],},inputText: cocktailInsightsAgentPrompt,actionGroups: [{actionGroupName: "CodeInterpreterAction",parentActionGroupSignature: ActionGroupSignature.AMAZON_CODEINTERPRETER,},],enableTrace: true,foundationModel: "anthropic.claude-3-5-sonnet-20240620-v1:0",instruction: `You are an AI assistant tasked with analyzing a CSV (Comma-Separated Values) file. Your goal is to provide insights and answer questions based on the data contained in the CSV. You have access to python coding environment that helps you extend your capabilities. `,}
How do I do this through multi agent orchestrator?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
How do I pass a file into the InlineBedrockAgent.
When using an InlineBedrockAgent directly I can do the following.
How do I do this through multi agent orchestrator?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions