-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Description
Using the file connector and the metadata as described here https://docs.danswer.dev/connectors/file , the links are not working.
In the html of the page, the value of the href property is an empty string, and not the value of the link specified. For comparison, the value specified for the file_display_name is working as expected.
Here is the test file I uploaded to Danswer:
#DANSWER_METADATA={"link": "https://docs.danswer.dev/connectors/file", "file_display_name": "Danswer can index files, too", "primary_owners": ["abc@123.xyz", "def@456.xyz"], "test_tag":"test_value"}
# File Connector
## Access knowledge from Local Files
How it works
The File Connector indexes user uploaded files. - Currently supports .txt, .pdf, .md and .mdx files - Can also upload a .zip containing these files - If there are other file types in the zip, the other file types are ignored - Optional metadata line that supports links, document owners, and time updated as metadata for Danswer’s retrieval and AI Answer
Adding Metadata
The metadata line should be placed at the very top of the file and can take one of two formats:
These screenshots show what appears in the search results, and in the page html. Notice the blue highlighted line has href="" instead of the expected href="https://docs.danswer.dev/connectors/file"


Metadata
Metadata
Assignees
Labels
No labels