Submitted by lhenault t3_122tddh in MachineLearning
lhenault OP t1_jdukg00 wrote
Reply to comment by HatsusenoRin in [P] SimpleAI : A self-hosted alternative to OpenAI API by lhenault
Hey thank you for the feedback! As r/ryanjkelly2 suggested, you could indeed use Postman, but I believe the easiest way is to use the already included Swagger UI, available at <base_url>/docs
.
If your goal is to have a slightly more friendly UI for end users, it should be relatively easy to build something custom, using the OpenAI clients (or requests
package) and something like Streamlit. Or even a notebook (you can use the OpenAI cookbook as a starting point).
HatsusenoRin t1_jduyliz wrote
Thanks for your help. I think I'll take a look at the /docs.
Viewing a single comment thread. View all comments