-
Notifications
You must be signed in to change notification settings - Fork 5k
Description
Hi!
Why is my citations not being rendered properly? I'm only getting the citationname in brackets showing in the answer instead of a clickable citation index number which triggers the documentviewer when clicked on.
Example:
bla bla bla .... [citationName1.docx] bla bla bla [citationName2.pdf] (see image
)
This is my deployment setup:
azd env set DEPLOYMENT_TARGET appservice
azd env set AZURE_USE_AUTHENTICATION true
azd env set AZURE_ENABLE_GLOBAL_DOCUMENT_ACCESS true
azd env set AZURE_AUTH_TENANT_ID <THE TENANT-ID>
azd env set USE_USER_UPLOAD true
azd up
python scripts/adlsgen2setup.py 'data' --data-access-control './scripts/acls.json' -v
python ./scripts/manageacl.py -v --acl-action enable_acls
python ./scripts/manageacl.py -v --acl-action update_storage_urls --url https://<NAME_OF_MAIN_STORAGE_ACCOUNT>.blob.core.windows.net/content/
I have seen that the citationPath is fetched from the following path:
BACKENDUri/content/citationName
What am I missing or doing wrong here?
Note: I have tried with documents that I have uploaded through user uploads with and without group acls and I have tried documents uploaded to the content container in main storage account. Both are providing the citation name in brackets. This happens when I chat through the azure hosted appservice. I have also tried with a new deployment setup where I only run azd env set DEPLOYMENT_TARGET appservice
then azd up
and still i'm getting the same issue.