271 points · by bealuga · 3y ago · 130 comments
My name is Bea, I built a site called Libraria that uses GPT to do a few things
1. Let you spin up multiple assistants based on your own documents. You can make it public, private, or protected. It has its own subdomain and landing page. 2. Respond in full markdown always, so it can output images, links, code, and more 3. Let you upload articles on the fly within the Chat, so you can ask it questions 4. Make it embeddable in your site with one line of code 5. Let you update it for fun / with your branding 5. Enable syncing for any URLs you let us scrape, so that you can make sure it's always up to date 6. Let you upload multiple file types
I've been working on this for about a month now by myself and you can keep track of my feature updates here: https://libraria.dev/feature-updates
I would LOVE your feedback on anything, and If you're willing to try it out I'm looking for a few beta users that can provide me more continuous feedback that I would gladly waive the fee for!
1) could you please describe your data privacy considerations. Like what happens to my documents after they are uploaded ? Are they stored somewhere (encrypted or not) or deleted ?
2) could you please share more details on how this works “under the hood”. Specifically how do you ingest and digest the knowledge contained in my documents ?
Thanks !
“Step 1
Import or sync documents into Libraria, or add API integrations like Google and Shopify (beta). Bring the docs - let GPT-3.5 do the heavy lifting.”
I might be reading it wrong, or might have missed it on the website, but is it actually GPT-3.5 running over those imported documents? (As in, are you using OpenAI or another third party provider in the background?).
If you’re running a local LLM then the privacy implications are clearly pretty different than if you’re essentially sending people’s documents verbatim into an external LLM.
Tbh I have managed to build this minus the nicer interface using langchain. Was surprisingly easy as someone who doesn't dev daily.
Is it?
You are basically entering a contractual relationship with them regarding the propagation of your document and they are themselves entering a contractual relationship with their suppliers. It's not different from hosting in the cloud.
Do you expect every webapps you use to tell you if they use Azure, AWS or GCP?
In their privacy policies, yes. And I expect them to have signed a DPA with those and other vendors.
You are free to want to know the whole chain of companies involved in providing you a service but that’s very unusual.
> To turn a staircase into a slide, you can use the spell 'Tergeo' to remove any dirt or grime from the stairs, and then use the spell 'Lubricus' to make the stairs slippery. Lubricus is an incantation, which can be cast with a wand and by reciting the word 'Lubricus' while pointing the wand at the object in question. You can also use the spell 'Flagrante Curse', which can make a surface slippery by causing the target object to become extremely hot, in order to render the staircase slippery. However, this spell is considered one of the Unforgivable Curses and is strictly forbidden. It takes years of study and practice to become a proficient wizard, and performing spells can be dangerous, so it's important to learn and practice magic under the guidance of a skilled wizard or witch.
That's not surprising, it's just par for the course with LLMs.
This is the main concern for me with chatgpt bots: they make things up and can be prompt hacked to get outside their bounds.
So just some feedback that your demos should show how you tackle this too.
https://i.imgur.com/VKrfWYm.png
which would make me very wary of hooking it up with an API-key that I'm paying for, since I'd basically be paying for free GPT access for anyone who visits my site, while I would probably only be interesting in paying when they are asking questions related to my topics.
When you post Contributions, you grant us a license (including use of your name, trademarks, and logos): By posting any Contributions, you grant us an unrestricted, unlimited, irrevocable, perpetual, non-exclusive, transferable, royalty-free, fully-paid, worldwide right, and license to: use, copy, reproduce, distribute, sell, resell, publish, broadcast, retitle, store, publicly perform, publicly display, reformat, translate, excerpt (in whole or in part), and exploit your Contributions (including, without limitation, your image, name, and voice) for any purpose, commercial, advertising, or otherwise, to prepare derivative works of, or incorporate into other works, your Contributions, and to sublicense the licenses granted in this section. Our use and distribution may occur in any media formats and through any media channels.
* Summarize these papers on chimpanzee cooperation in the wild. What other papers should I be reading?
* Suggest an interesting master's thesis topic on the early modern economy.
* How good are polygenic scores at predicting educational attainment, and how has this developed over time?
Bonus: integrate it with e.g. google scholar, so it can go and find and read new papers.
Pricing: it is probably easier to start selling this to individual academics. Then when you've got a compelling product and the word is out, you could sell it to the whole lab (at a much higher price because people can put it in their grant budgets).
Gotchas: privacy. Nobody wants their hot unpublished paper to be scooped by a large language model.
I am not sure how the documents are handled in your product, since Chat GPT has a context limit that probably wont be able to hold longer papers in memory.
For me, I have a pdf[0] depicting a system that can be programmed, along with bits of pseudo-code and a lot of clarifications. Something that the Chat GPT could use to spit out an actual implementation, if it were able to "think" about the pdf as a whole. I would love to see if your product is capable of such feat.
[0]: https://arrow.tudublin.ie/cgi/viewcontent.cgi?article=1177&c...
Drive-Based Utility-Maximizing Computer Game Non-Player Characters by Colm Sloan (note that basically only chapter 3 is needed in this case, but its still over 40 pages long)
I broke it trying to upload a PDF but that is ok, I'll try it again at some point.
Retraining the whole Stable Diffusion base model costs a lot of money. But training a LORA on a few thousand images is totally doable with a single GPU.
1) I went through Stripe checkout to upgrade to the $10/month plan, but it's still showing me as on the free plan on the billing page.
2) I guess related to 1), but I want to show my business partner the results of a quick dump of a PDF plus scrape of our website; it's not clear how to supply him with the public chat/bot URL.
3) 'Last scraped' always shows 'invalid date'.
Feel free to reach out to me directly (email address is ***72@gmail.com for my account). Thanks, good luck with the product!
212);">(URL WITHOUT HTTPS)</span></div><div><span
I changed the url, but it seems something goes wrong in the https:// replacement - this prevents me to add more pages after the first 20 did work - I have already reloaded a few times, and it's strange that it did work for the first 20 pages (they are from the same list / url format)Second issue: When I enable "use only my library" I get a server error from the chat. And without that, the answer wasn't specific enough - it was literally answered in the content
Send me an email and I'll debug it for you https://libraria.dev/about
For example, https://trypromptly.com/app/9da10a4f-6d20-431e-98f7-048fab81... is a chatbot built on Coursera video transcript. Similarly https://trypromptly.com/app/d478594d-2082-46c9-bee7-f057f4bc... is a web app that generates resume based on user information and the position they are applying to. Both are powered by Open AI message completions API and built using Promptly's no-code builder. Another fun app we built allows end user to provide a audio file, pipe that to Whisper and use that in the chain below to extract summaries etc.
Ps: We are still updating our landing page with app builder videos and other content
Besides, I always bookmark threads for apps that look interesting and check back later when everyone else has posted their similar apps and been commented on, then I can compare and choose whichever one looks best (or whichever is open source).
Personally, if I find that my app is similar to an ongoing Show HN, I like to wait for an opening where I can respond with a plug for my own app.
I don't feel comfortable talking up my own app unprompted. Feels like making a big attention grabbing announcement at someone else's wedding.
1. Would there be any way to restrict the conversation with the customer to questions related to the products?
2. What strategies could be used to prevent malicious overuse / spamming / flooding the bot to cost the company money?
- What's the differences between Assistant and Chat mode?
- If I have GPT4 access is there anyway I can insert my API key and use it with your app? I assume you're using 3.5 turbo.
- What toolchain are you using for splitting / chunking?
- Nothing as of right now! Just an interface. I don't think I implemented snippets yet for Chat mode though - Not yet, although I plan to introduce this. I found that GPT4 is a little slow right now, and much more expensive, but it'll be awesome to enable this for users, then I could charge even less. - I recommend langchain, it's one of the few things that I didn't modify for my use case on their library.
I would love to have an AWS expert handy at all times, so I tried to upload all AWS documentation using this: https://docs.aws.amazon.com/sitemap_index.xml. I can no longer use the site, so I suspect that busted something.
In hindsight, that was not cool and I'm sorry about it.
I ask 'Dumbledore' the same thing, and I get (more-or-less) the same answer.
I think that I initially expected 'Dumbledore' to either feign ignorance on the topic, or at least output a 'flavored' answer in the style of his dialogue.
I guess what i'm saying is that assigning 'characters' to each of these pre-trained/biased prompts creates a user expectation of a character rather than just a pre-loaded knowledge-base.
I have a checkbox for you to enable or disable GPT. I enabled GPT for the Dumbledore one
How should I approach it? I think this product can't deal with that much text yet?
Isn’t publicly hosting some specific content on S3 and providing links to it risky though?
Would it be possible make your product access a historio.us instance?
(In my use case there would be no privacy concern because all the articles stored in Historio.us are already public... also it would be quite useful because search is quite limited)
I tried to import a .pdf but I got an error message about not having enough "credits" https://i.imgur.com/7za9FEn.png
Also, the google drive integration is not working (yet).
Can you give us a glimpse of what's coming down the road? How can I get more credits and when will Gdrive integration will be available?
Also: pricing?
Pricing: Feel free to send me an email bea@bogpad.io, I'll send you some credits to play around with. I'm still trying to figure out pricing!
The only way I would be convinced is if it is free/open source and self hosted, but that makes charging for it more difficult
Would your tool work in gated knowledge bases for example training courses behind logins?
https://bogpad.libraria.dev/ for an example of a protected one.
https://ibb.co/T8qjCgZ (strange, i tried again and got this! I'll work on improving stability)
Isn’t part of the point of GPT that it finds relationships without the training data having to be well-structured? So long as the text describes them in a way that a human, having read the books, could answer the question?
I don’t really understand how training works. This isn’t a jab.
Right now, I don't train anything, I've broken the text down to n characters and created embeddings for that subset of text -- then I search for the closest distance / relationships between the question asked. Then I add the text to the prompt, and tell gpt to use those paragraphs to answer the question (to ensure that it doesn't make anything up). This is one of the ways I can get around the token limit, but it comes at the cost of thinking it can only use the paragraphs I show it. I'm trying to improve the prompt to get more consistent results, and maybe 4 can help me give it larger bodies of text!
Hope that answers your question, let me know if you have any more!
Will there be an option for email, for those of us who don't use Google, or other large corporations?
Im excited to see what features we build on top of semantic search + chat.
I uploaded a public-domain copy of Meditations by Marcus Aurelius and now I feel like I can get direct knowledge from the man himself
It worked pretty well on the first attempt. Will try putting more authors in it now
Then through an API he/she can extract the knowledge he/she wants.
Q: Which piece did Hermione play in the chess game?
A: I'm sorry! I may not have the article in question yet. Please try again!
But this looks awesome.
I’d assume the right prompt by another user of the same underlying LLM on another platform could well expose your private information / content / passwords and would treat this with a lot of caution until you get satisfactory evidence otherwise.
It inserts them into the prompt?
How many documents do you need for it to be usable?
That being said, it seems like an almost inescapable consequence of the fact that the software itself is also data and as such subject to a similar problem: in times of ubiquitous high-speed internet access where you can't protect software (data) from being widely copied and shared over the network once anyone else gets hold of it, the only simple and reliable way for a software company to keep control over the distribution of their software (and thus its monetization) is to never share it in the first place but only provide access to it as a service.
So in the end, the shift from locally installed software to remote services kinda comes down to the fact that most users don't have the same level of awareness or care about their own data and keeping control over it as the software/internet service companies have for their data (e.g. software).