Skip to content

How send an initial message to Orchestrator without input from user in magentic-one? #4186

Closed Answered by michalmar
michalmar asked this question in Q&A
Discussion options

You must be logged in to vote

I found the way as:

await runtime.send_message(
            BroadcastMessage(
                content=UserMessage(
                    content="generate three random words beging with 'A'", source="user"
                )
            ),
            recipient=orchestrator.id,
            sender=user_proxy.id,
        )

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by michalmar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant