TinyAI-ID / tiny-ai-worker

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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.git;
cd tiny-ai-worker;
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.


Languages

Language:TypeScript 100.0%