Skip to content

Binding teams conversationId to Azure Ai Agent threadId - incompatible identifiers #187

@Banchio

Description

@Banchio

Hi all,
I'm using teams.net AI v2 to build a teams bot that forwards messages to an Azure Ai Agent Service (this agent is able to invoke tool to perform query on application insights and can generate diagrams as well using Code Interpreter tool).
I would like to leverage thread feature of the AzAi Agent Service so that a conversationId in teams maps to a threadId in Foundry, possibly without maintaining this association in an external database.
ConversationId in Teams is a GUID, threadId in Foundry is a string that must start with thread_ followed by 24 alphanumeric chars.

So far I tried to create a thread with metadata (using PersistentAgentClient).
Unfortunately, when I call the GetThreadsAsync I do not have a way to search for a thread by metadata.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions