Guess the hidden message.
Each guess is scored by the semantic relatedness (defined by the cosine similarity of text embeddings).
- install deno and deployctl
- set the following environment variables
ADMIN_API_KEY
: any secret stringEMBEDDING_API_ENDPOINT
: a text embedding API endpoint (https://api.openai.com/v1/embeddings or a compatible deployment on Azure)EMBEDDING_API_KEY
: a text embedding API key
- run
deno task dev
for local development - run
deno task prod
for production deployment on Deno Deploy (your account must have access to Deno KV)
TEG is a Deno KV hackathon entry created by Zhen Wang.
It's a runner-up in the "most fun" category.