dglazkov / polymath

MIT License
132 stars 9 forks source link

Ensure that the HTML at endpoints is clear #45

Closed jkomoros closed 1 year ago

jkomoros commented 1 year ago

Right now if someone doesn't know how to use polymath, and someone says "My endpoint is at https://polymath.komoroske.com", the default thing to do is visit it. But right now you get a confusing form without explanation about what to do. In reality very very few people will interact with an endpoint directly, and this (accidental) first interaction is a point of friction for people new to polymath.

We should clean up the HTML from those endpoints to maximize clarity for users to find themselves there.

dglazkov commented 1 year ago

I have a crazy idea. I am going to build a tiny web app that acts as a simple endpoint client. And we serve it as the default HTML.

jkomoros commented 1 year ago

Yeah I love that. As in, it serves the content from #41.

One downside is that the host then has to implicitly allow access to their OPENAI_API_KEY (or I guess it could open a little dialog that says "Paste your Openai_key here, it won't be transmitted except to OpenAI's servers')

dglazkov commented 1 year ago

Made a ton of progress on this. Remaining items: