Skip to content

Tiny AI is a platform to create/modify AI powered chatbots. This repository contains ChatGPT plugin and API for talk, create and modify Tiny AI's.

Notifications You must be signed in to change notification settings

eraykeskinmac/tiny-ai-worker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tiny AI Example Worker: Todo List

TinyAI.id

Deploy to Cloudflare Workers

This is an example of a Cloudflare Worker that uses Cloudflare Workers KV to store a simple todo list. It is a part of the Tiny AI platform.

Try before you deploy

Visit tiny.technology and attach as Worker to your chat.

URL: https://tiny-ai-worker-todo-example.cagatay.workers.dev/openapi.json

Result should be similar: Tiny AI Worker Todo Example

Prerequisites

  • Node.js
  • Wrangler CLI
  • Cloudflare Workers account
  • Cloudflare Workers KV

Configuration

  • Create a new Cloudflare Workers KV namespace

https://developers.cloudflare.com/kv/reference/how-kv-works/

  • Update the wrangler.toml file with your Cloudflare account ID and KV namespace ID
kv_namespaces = [
  { binding = "TODO_LIST", id = "YOUR_KV_NAMESPACE_ID" }
]

Installation

git clone git@github.com:TinyAI-ID/tiny-ai-worker-todo-example.git;
cd tiny-ai-worker-todo-example;
npm install;

Usage

wrangler publish

Development

wrangler dev

License

MIT-0

About

Tiny AI is a platform to create/modify AI powered chatbots. This repository contains ChatGPT plugin and API for talk, create and modify Tiny AI's.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%