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

Allow adding tags/metadata when adding a new connector #1374

Open
roy-armis opened this issue Apr 24, 2024 · 0 comments
Open

Allow adding tags/metadata when adding a new connector #1374

roy-armis opened this issue Apr 24, 2024 · 0 comments

Comments

@roy-armis
Copy link

Tags are very powerful for smart queries, and i do see they are supported in chat, but there is no option to control creation of tags when i add a new connector.

i do see the Confluence connector adds a space name tag:

backend/danswer/connectors/confluence/connector.py

                    Document(
                        id=page_url,
                        sections=[Section(link=page_url, text=page_text)],
                        source=DocumentSource.CONFLUENCE,
                        semantic_identifier=page["title"],
                        doc_updated_at=last_modified,
                        primary_owners=[BasicExpertInfo(email=author)]
                        if author
                        else None,
                        metadata={
                            "Wiki Space Name": self.space,
                        },
                    )

and i will be really helpful to be able to add a tag manually for every connector.
Thanks!

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

No branches or pull requests

1 participant