azure-search-openai-demo icon indicating copy to clipboard operation
azure-search-openai-demo copied to clipboard

Ability to link to the original document by including a link (under citations) in the uploaded document title

Open kcordoc opened this issue 2 years ago • 4 comments

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [X] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Ability to link to the original document by including a link (under citations) in the uploaded document title

Any log messages given by the failure

None

Expected/desired behavior

Show clickable links under citation so the user can access the entire document on the server

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

azd version?

run azd version and copy paste here.

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

kcordoc avatar May 27 '23 20:05 kcordoc

This would be really helpful if the original document source is in SharePoint or somewhere on an accessible for the enterprise.

vikramhn avatar May 29 '23 20:05 vikramhn

I would very much appreciate this ability too. If someone knows any steps to take towards a possible implementation of this, feel free to share. Thanks.

tickx-cegeka avatar May 30 '23 06:05 tickx-cegeka

I used the pymupdf library to insert url links on each page of the pdf before uploading the blobs. However, the links are not functional once uploaded to storage.

kcordoc avatar May 30 '23 11:05 kcordoc

@vikramhn and @tickx-cegeka : The best alternative may be to include the URL as part of the metadata while uploading blobs. We can include additional metadata as attribution etc. Let me know you are handling this.

kcordoc avatar Jun 10 '23 20:06 kcordoc

@kcordoc, how do you then get OpenAI/Chat GPT to reference the URL for citations?

kylgrn avatar Sep 27 '23 20:09 kylgrn

any update on it? we also want to link in the citation. and if we need to add SP link to blob how to have it?

gp-birender avatar Dec 07 '23 13:12 gp-birender