I hereby claim:
- I am k33g on github.
- I am k33g (https://keybase.io/k33g) on keybase.
- I have a public key ASAvVVJc_l0qLskykv6CDC9l0gvGedBfs_msgZg0T8pznwo
To claim this, I am signing this object:
| curl -s http://localhost:12434/engines/v1/chat/completions \ | |
| -H "Content-Type: application/json" \ | |
| -d '{ | |
| "model": "huggingface.co/typeunsafe/hawaiian-pizza-expert-0.5b", | |
| "stream": true, | |
| "messages": [ | |
| {"role": "system", "content": "You are hawaiian pizza expert."}, | |
| {"role": "user", "content": "who created the hawaiian pizza?"} | |
| ] | |
| }' | while IFS= read -r line; do |
| FROM --platform=$BUILDPLATFORM gitpod/openvscode-server:latest | |
| LABEL maintainer="@k33g_org" | |
| ARG TARGETOS | |
| ARG TARGETARCH | |
| ARG USER_NAME=openvscode-server | |
| USER root |
| module github.com/bots-garden/capsule/capsule-http | |
| go 1.20 | |
| require github.com/tetratelabs/wazero v1.1.0 // indirect | |
| require ( | |
| github.com/bots-garden/capsule-host-sdk v0.0.1 | |
| github.com/gofiber/fiber/v2 v2.44.0 | |
| ) |
I hereby claim:
To claim this, I am signing this object:
| FROM node:12.7.0-alpine | |
| WORKDIR /home/app | |
| COPY . . | |
| RUN npm install | |
| RUN addgroup -S app \ | |
| && adduser app -S -G app | |
| RUN chown app:app -R /home/app | |
| WORKDIR /home/app |
| package garden.bots; | |
| import net.redpipe.engine.core.Server; | |
| import io.vertx.core.json.JsonObject; | |
| import java.util.Optional; | |
| public class Main { | |
| public static void main(String[] args) { | |
| JsonObject config = new JsonObject(); | |
| config.put("http_port", 8080); |
| package garden.bots; | |
| import net.redpipe.engine.resteasy.FileResource; | |
| import javax.ws.rs.GET; | |
| import javax.ws.rs.Path; | |
| import javax.ws.rs.PathParam; | |
| import javax.ws.rs.core.Response; | |
| import java.io.IOException; | |
| @Path("/{path:(.*)?}") |
| <!doctype html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="x-ua-compatible" content="ie=edge"> | |
| <title>Hello World!</title> | |
| <meta name="description" content=""> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <style> | |
| .container { min-height: 100vh; display: flex; justify-content: center; align-items: center; text-align: center; } |
| package garden.bots; | |
| import net.redpipe.engine.core.Server; | |
| import io.vertx.core.json.JsonObject; | |
| import java.util.Optional; | |
| public class Main { | |
| public static void main(String[] args) { | |
| JsonObject config = new JsonObject(); | |
| config.put("http_port", 8080); |
| package garden.bots; | |
| import io.vertx.core.json.JsonObject; | |
| import javax.ws.rs.Produces; | |
| import javax.ws.rs.GET; | |
| import javax.ws.rs.Path; | |
| @Path("/hello") | |
| public class HelloResource { |