Skip to content

Citations not being rendered #2352

@moelk-atea

Description

@moelk-atea

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

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions