Samaipata
What is Samaipata
Samaipata is a custom, full-stack, local-first AI client interface. That works using ollama and Hackclub AI.
Devlog
Long time no see was pretty ocupied in my final exams honestly.
So what did i do?
So i did atonnnnn of stuff in the past few days heres a some of the stuff i did
Marketplace
Did some marketplace endpoints for integrating a marketplace later on.
Some of them are:
Hackclub AI
- getHackClubModels() Gets all of the hackclub ai models
- /api/hackclub/models uses the function and delivers them into the frontend
Ollama models
- /api/models/ shows which models you have installed
Ollama marketplace
- /api/marketplace/models
Uses 2 apis to try get the ollama models if it fails or you dont have wifi it uses a json backup file. - DELETE /api/models/:name deletes a model(:name)
Admin stuff
- /api/admin/users Gets all of the users and its info
- POST /api/admin/users/:id/update
- POST /api/admin/users/:id/suspend
Feedback
- POST /api/feedback Sends feedback to the administrator about the model
- GET /api/admin/evaluations Generates a table(leaderboard) showing the best models and worst models for the admins.
Other stuff
- Bare-bones image generation /api/images/generate
Testing
Coded a test using Antigravity Cli and it look that it works good.
Olama skipped but i am sure it works because i was using a trashy laptop.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.