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
However the URLs do not work, and it also seems like the title and content fields might be misplaced?
Reproduction Steps
1. Inside a message handler `app.activity(ActivityTypes.Message,`2. Initialize a `let streamer = new StreamingResponse(context);`3. Format citations and set them on the streamer like so:let stream_citations: Citation[] = docs.map((doc) => { return { title: doc.title || '', url: doc.url || '', content: truncLong(doc.text || ''), filepath: '', }; }); streamer.setCitations(stream_citations);
The text was updated successfully, but these errors were encountered:
@sayali-MSFT I've looked at the docs for the StreamingResponse class directly. Here there is a setCitations() method which I've called with correctly formatted Citation objects
When using context.sendActivity(..) to send a message directly with citations attached this seems to work for the URL, however I need citations to work for my streamed response. Let me know if my approach with setCitations() is not correct, otherwise there's likely a bug.
Language
Javascript/Typescript
Version
latest - 1.7.3
Description
Using the StreamingResponse with
.setCitation()
, I have added an array of citations that are all formatted like soThe citations appear:
However the URLs do not work, and it also seems like the title and content fields might be misplaced?
Reproduction Steps
The text was updated successfully, but these errors were encountered: