Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History

README.md

Outline

Running the examples

Prerequisites

  • Node.js (v18 or higher)
  • npm (comes with Node.js)
  • OpenAI API key

Setup & Running

  1. Install dependencies:

    npm install
  2. Build the project:

    npm run build
  3. Set your OpenAI API key:

    export OPENAI_API_KEY='your_api_key'
  4. Run the examples with npx ts-node <example-file>.ts:

    npx ts-node examples/simple-agent.ts
Morty Proxy This is a proxified and sanitized view of the page, visit original site.