langfuse-docs icon indicating copy to clipboard operation
langfuse-docs copied to clipboard

Missing requirements.txt and unresolved core module in Bedrock agents integration example

Open aboavent opened this issue 8 months ago • 3 comments

Hi Langfuse team,

I was following the example from the Bedrock agents integration guide here: 👉 https://langfuse.com/docs/integrations/bedrock/example-bedrock-agents

While trying to reproduce the example, I noticed two issues that are currently blocking usage:

  1. Missing requirements.txt: The documentation mentions installing dependencies via requirements.txt, but this file is not present in the referenced GitHub repo.

  2. Missing core module. The code uses: from core import instrument_agent_invocation, flush_telemetry However, there is no core.py module or package available in the repository, nor do these functions exist elsewhere in the project.

Could you please add the missing files or clarify where these components are defined?

Thanks

aboavent avatar Apr 16 '25 17:04 aboavent

add the config.json which is missed as well. These libs and config files can be found at https://github.com/awslabs/amazon-bedrock-agent-samples/tree/main/examples/agent_observability/OpenTelemetry-Agent-Instrumentation

aboavent avatar Apr 16 '25 18:04 aboavent

thanks, we will have a look into this!

marcklingen avatar Apr 16 '25 20:04 marcklingen

Just created this PR to address all the issues mentioned above and to improve the example notebook.

aboavent avatar Apr 17 '25 20:04 aboavent