mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-04-07 11:28:09 +02:00
added collection and collection type to Guru metadata (#2187)
* added collection and collection type to metadata * removed collection type
This commit is contained in:
parent
f77b1ebd87
commit
075eacdd91
@ -103,6 +103,10 @@ class GuruConnector(LoadConnector, PollConnector):
|
||||
# In UI it's called Folders
|
||||
metadata_dict["folders"] = boards
|
||||
|
||||
collection = card.get("collection", {})
|
||||
if collection:
|
||||
metadata_dict["collection_name"] = collection.get("name", "")
|
||||
|
||||
owner = card.get("owner", {})
|
||||
author = None
|
||||
if owner:
|
||||
|
Loading…
x
Reference in New Issue
Block a user