Skip to content
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

Fix Citation Format for Prompt Flow Endpoint Responses #1092

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

anushree1808
Copy link
Collaborator

Modify the format for citations field in the promptflow response post processing stage, so that citation shows up in UI.Fixing issue reported: https://portal.microsofticm.com/imp/v5/incidents/details/540126530/summary

Motivation and Context

  1. Why is this change required?
    Currently, when users point webapp to a promptflow endpoint instead of OYD, they are unable to see citations in the frontend and interact with them.
  2. What problem does it solve?
    Now citations show up and user can click and interact with them in Web App UI
  3. What scenario does it contribute to?
    Prompt flow endpoint integration
  4. If it fixes an open issue, please link to the issue here.
    Issue: https://portal.microsofticm.com/imp/v5/incidents/details/540126530/summary
  5. Does this solve an issue or add a feature that all users of this sample app can benefit from? Contributions will only be accepted that apply across all users of this app.
    All users who want to integrate with prompt flow endpoints that return citations,

Contribution Checklist

[X] I have built and tested the code locally and in a deployed app
[X] For frontend changes, I have pulled the latest code from main, built the frontend, and committed all static files.
[X] This is a change for all users of this app. No code or asset is specific to my use case or my organization.
[X] I didn't break any existing functionality 😄

@anushree1808 anushree1808 merged commit a11773a into main Sep 11, 2024
9 checks passed
@anushree1808 anushree1808 deleted the ankaipar/fix-promptflow-citation-format branch September 11, 2024 19:05
everettsouthwick pushed a commit to JEKA-Software/seren-chat that referenced this pull request Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants