tldraw-llm-starter

tldraw-llm-starter

A starter for working with tldraw and large language models.

Stars: 116

Visit
 screenshot

This repository is a collection of demos showcasing how to integrate tldraw with an LLM like GPT-4. It serves as a work in progress for inspiration and experimentation. Users can contribute new demos, prompts, strategies, and models. The installation process involves running 'npm install' to install dependencies. Usage instructions include creating OpenAI API keys and assistants on the platform.openai.com website, as well as setting up a '.env' file with necessary credentials. The server can be started with 'npm run dev'. The repository aims to demonstrate the potential synergy between tldraw and GPT-4 for various applications.

README:

This repository collects demos that show how you might use tldraw together with an LLM like GPT-4. It is very much a work in progress, please use it as inspiration and experimentation.

PRs welcome for new demos, prompts, strategies and models.

Installation

Run npm install to install dependencies.

Usage

  1. Create an OpenAI API key on the platform.openai.com website.
  2. Create an Assistant on the platform.openai.com website.
  3. Create a second Assistant on the platform.openai.com website.
  4. Create .env file at the root of this repo with both the key and the assistant's id.
OPENAI_API_KEY="sk-sk-etcetcetc"
OPENAI_ASSISTANT_ID="asst_etcetcetc"
OPENAI_FUNCTIONS_ASSISTANT_ID="asst_etcetcetc"

Run npm run dev to start the server.

See notes below on the different demos.

For Tasks:

Click tags to check more tools for each tasks

For Jobs:

Alternative AI tools for tldraw-llm-starter

Similar Open Source Tools

For similar tasks

For similar jobs