Giter Site home page Giter Site logo

jozef-javorsky-dodo / autogpt-wolframalpha Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gravelbridge/autogpt-wolframalpha

0.0 0.0 0.0 13 KB

An AutoGPT plugin to enable communication with WolframAlpha for solving math problems, and getting information.

License: MIT License

Python 100.00%

autogpt-wolframalpha's Introduction

AutoGPT-WolframAlpha Plugin ๐Ÿ”ข

An AutoGPT plugin to enable communication with WolframAlpha for solving math problems and getting information.

Screenshot 2023-05-03 at 7 45 54 PM

๐Ÿ“š Requirements

  1. Python Package: Install the WolframAlpha Python package:

pip install wolframalpha

  1. WolframAlpha API Key: Obtain a WolframAlpha API key by signing up for a free account at the WolframAlpha Developer Portal and creating an app. After creating the app, you will receive an APP_ID.

  2. Install Plugin: Install the plugin by running the following command:

Mac / Linux / WSL

cd plugins && git clone https://github.com/gravelBridge/AutoGPT-WolframAlpha.git && zip -r ./AutoGPT-WolframAlpha.zip ./AutoGPT-WolframAlpha && rm -rf ./AutoGPT-WolframAlpha && cd .. && ./run.sh --install-plugin-deps

Windows, Powershell

cd plugins; git clone https://github.com/gravelBridge/AutoGPT-WolframAlpha.git; Compress-Archive -Path .\AutoGPT-WolframAlpha -DestinationPath .\AutoGPT-WolframAlpha.zip; Remove-Item -Recurse -Force .\AutoGPT-WolframAlpha; cd ..

๐Ÿ”ง Configuration

  1. Update the .env file: Add the following lines to your .env file:
################################################################################
### WOLFRAM ALPHA PLUGIN SETTINGS
################################################################################

WOLFRAM_ALPHA_APP_ID = your_app_id
  1. Allowlist Plugin: In your .env file, search for ALLOWLISTED_PLUGINS and add this plugin:
################################################################################
ALLOWLISTED PLUGINS
################################################################################

#ALLOWLISTED_PLUGINS - Sets the listed plugins that are allowed (Example: plugin1,plugin2,plugin3)
ALLOWLISTED_PLUGINS=AutoGPTWolframAlpha

๐Ÿš€ Usage

After installing the package and configuring the settings, you can use the AutoGPT-WolframAlpha plugin to allow AutoGPT to solve math problems and obtain information from WolframAlpha.

Example:

  1. Configure Auto-GPT: Set up Auto-GPT with the following parameters:
  • Name: MathSolverGPT
  • Role: an ai designed to follow user instructions
  • Goals:
    1. Goal 1: Solve the integral of x^2 from 0 to 3
    2. Goal 2: Terminate
  1. Run Auto-GPT: Launch Auto-GPT, which should use the WolframAlpha plugin to solve the math problem and return the result.

autogpt-wolframalpha's People

Contributors

gravelbridge avatar peeeekay avatar vacuusumbra 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.