GithubHelp home page GithubHelp logo

nick18201 / tool-creator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from joseph-crowley/tool-creator

0.0 0.0 0.0 10 KB

make tools and assistants to use them

License: MIT License

Shell 0.35% Python 99.65%

tool-creator's Introduction

Tool Creator and Tool User

The Tool Creator Assistant is an automation for the creation of tools for other assistants. This repository houses the core tool_creator script that serves as a meta-assistant, capable of crafting additional tools to enhance the capabilities of your chat-based systems. Additionally, we include a tool_user script that seamlessly integrates these tools into a chat assistant, allowing for an interactive experience where the assistant utilizes the newly created tools in real-time.

Features

  • Tool Creation: Generate new tools tailored for assistant-based applications using the OpenAI API.
  • Tool Integration: A ready-to-use tool_user script that incorporates tools into a chat interface.
  • Demo Video: Visual demonstration of the tool creation and usage process.

Video Demo

A video demonstration is available to showcase the capabilities and usage of the Tool Creator Assistant. You can view the video here.

Getting Started

Prerequisites

  • OpenAI API key

Installation

  1. Clone the repository:
    git clone https://github.com/joseph-crowley/tool-creator.git
  2. Navigate to the cloned directory:
    cd tool-creator
  3. Install the required packages:
    pip install -r requirements.txt
  4. Create a .env file in the root directory of the repository and add your OpenAI API key:
    cp .env.example .env
    # Add your OpenAI API key to the .env file

Usage

Environment Setup

  • Source the .env file:
    source .env

Tool Creation

  • Run the tool_creator script:
    python tool_creator.py
  • chat with the bot about what you want the tool to do, and it will create the tool for you.
  • The tool will be saved in the tools directory with both the .json and .py files
  • The assistant will be saved in the assistants directory as tool_creator.json.

Tool Usage

  • Execute the tool_user script to start the assistant:
    python tool_user.py
  • The assistant will use all the tools in the tools directory.
  • Interact with the assistant in the chat to use the integrated tools.
  • The assistant will be saved in the assistants directory as tool_user.json.

Contributing

We welcome contributions from the community. If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are welcome.

tool-creator's People

Contributors

joseph-crowley avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.