-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Dev Support]: No citation contents in activity.entities when context.sendActivity #2307
Comments
@frankqianms , Thank you for your inquiry about your Teams app development issue Could you please raise a bug on this repo - https://github.com/microsoft/botbuilder-python/issues. |
@sayali-MSFT sure. here is the related issue: microsoft/botbuilder-python#2208. |
Hi @frankqianms, This seems like a serialization issue. I noticed you are manually adding in the Entity
Instead, can you try using
|
@lilyydu No helpful of using |
@lilyydu Although AIEntity didn't work, things were different. When using AIEntity, a serializationError will occur for the azure.core.exceptions.SerializationError: (
"Attribute None in object dict cannot be serialized.\n{'@type': 'Claim', 'position': 1, 'appearance': {'@type': 'DigitalDocument', 'name': 'Contoso Electronics PerksPlus Program', 'url': None, 'abstract': 'Introducing PerksPlus - the ultimate benefits program designed to support the health and wellness of employees. With PerksPlus, employees have the opportunity to expense up to $1000 for fitness-related programs, making it easier and more affordable to maintain a healthy lifestyle.'}},
AttributeError: 'dict' object has no attribute '_attribute_map'",
AttributeError("'dict' object has no attribute '_attribute_map'")
) |
Language
Python
Version
latest
Description
I tried to rewrite SAY_COMMAND to add citations for my customized datasource RAG bot. I successfully got citation titles and contents in response. After formatting the contents and sending the activity, no citation contents included in the request body to Teams Channel.
Reproduction Steps
The text was updated successfully, but these errors were encountered: