Vibecoded a variant of the previous perplexity-export-convert that converted into markdowns, this one exports chats into a json compatible file that can be imported into , so you can go full self-hosting without loosing access to your previous queries ^^

github.com/FraYoshi/perplexity

Hope it will help some of you! ^^
P.s. It's necessary to issue a export request first, so I'm afraid it's an only option..

@Emma_Wilson It was not that difficult, the export of is indeed quite good, if not that we loose some important information, like the pair collection UUID-name, the reference links, and I think the model used too... at the time of the last export I only ever used Research (was unlimited at the time) and the normal search... But I need to update my GDPR export now that half a year has passed, and I started using the individual models a lot, so I will find it out relatively soon (1/2 months for the delivery) ^^ At the moment I only have the "mode" which is either "COPILOT" or "CONCISE", not sure if it is the Research vs. Pro Search or something else ^^"

For the collections, we can post-process them, as the UUID is exported, but there's no mapping to the name used on the webapp, so there's some manual digging to do, and I could not get to import the collections to without having to use the API, loosing the timings. AI suggested me to go edit the database to achieve it, and I'm sure that we can script a way to move the conversation into the relative folder, for this reason have added an option to add the collction UUID as part of the title, which then could be stripped so it is no longer part of the title, but haven't dug deeper :)

The threads are retained, so I have my query, the answer, and the next query I made, and so on.. also, the creation and update time are provided, so they are timed correctly on the chats list on OWUI ^^

Overall, I am sufficiently happy with the export they've provided me, I only wished I didn't need to appeal to the to have it... and having to do it again, and wait months to have the exports 😅 Also, this cuts out anyone else not being an European Citizen, and it's sad..

Follow

Yes, the threading is definitely a big win
@Emma_Wilson :)

For the UUID-in-title, It's a temporary patch, but messes up the title.. and that's bad.. BUT, you gave me an idea just about now... I could move it to the end of the title, so it does not get in the way, but can be easily parsed at a later date!
Saying this, because I've already dedicated a good chunk of yesterday in making it to the actual state, so I'm happy with the current situation for the moment. I might try to sort this out at some point.. maybe when I'll receive my next export batch ^^
For now, my imports are living in a separate account, will merge them with the main one maybe after finding a way to handle the collections..

I've also published a script that does that successfully, but it was to convert into markdown, so no database handling needed, and I've mapped the UUID to the respective name manually in the toml configuration file, and the script would save the markdowns into the relative directory.

github.com/FraYoshi/perplexity

Maybe I should merge them into a single repository, and let the user decide if they want to export into owui json, or markdown 🤔

That... I wouldn't know @Emma_Wilson ..
But I like to export markdowns for use in Obsidian for my digital brain.. I add the LLM answers in a specific folder, and add the file as reference, so I know I used LLM for part of the answer, and might be an hallucination :)

I like instead the json export because this way I can archive my queries locally, and continue/reference the conversation if needed ^^ Also, it's easily searchable inside owui.

Do you prefer json, markdown, or other formats?

On owui in particular never have done that, as till yesterday I didn't have the means @Emma_Wilson .. But Perplexity convs, yes.. Have continued them after months sometimes :)
It's useful to maintain the context!
The good part of owui is that we can start a completely new one, but use the context from the old one :ablobbass:

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.