Giter Site home page Giter Site logo

amplifygpt's Introduction

AmplifyGPT

Customizable Auto-GPT library for Java

AmplifyGPT is a Java library version of Auto-GPT with customization and i18n support in mind. It can help you easily incorporate Auto-GPT like functionality into your new or existing project.

Feature roadmap

  • ๐Ÿง  Amplify JVM based project: Make your new or existing project more intelligent.
  • โšก Customization: Customization and extensibility is the core of AmplifyGPT.
  • ๐ŸŒ Internationalization: AmplifyGPT is i18n ready. You can use it in any language you want.
  • โžฟ GPT 3.5 and GPT 4 support: AmplifyGPT supports both GPT 3.5 and GPT 4.
  • ๐Ÿ—ƒ๏ธ Multi-model support: Architected to supports multiple models (GPTx, Bard, LLaMA, StableLM ...).
  • โŒš Prompt optimization: Prompt optimization to consume fewer tokens.
  • ๐ŸŒ€ Support Java 1.8 and above: For maximum compatibility.

Installation

  • Clone the repository
  • Build the project using gradle
gradle build
  • Add the jar file to your project

Running examples

  • Run the examples
gradle run
  • Export Open AI key
  • To run examples you need to export Open AI key
export OPENAI_API_KEY=<your-openai-api-key>

Requirements

Want to contribute?

  • We need A LOT of Help!
  • You want to contribute to the project?
  • Please open an issue or a PR if you'd like to contribute.

amplifygpt's People

Contributors

frazik-main avatar matkollar avatar spookysleeper avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

amplifygpt's Issues

Make chat work

Right now, we have basic chat working. We need to ensure chat looping is working.

There is opportunity to introduce Prompt object

Try re-factor by introducing Prompt object which will serve as prompt generation for various prompts types: Tool, header, etc. Maybe there is opportunity to create hierarchical structure.

Extract strings to resources

Currently prompts Strings are sprinkled through code base, we need to collect them for easy translations purposes.

Expand header prompt

Expand the first header prompt with a list of commands and a response format.

Fix LocalMemory funcionality

When memory.add is called it will create embeddings, but than it freezes on the line:

  •                                                                       INDArray emb = Nd4j.create(embeddings);
    

It is maybe some problem with Nd4j library

Make code base more maintainable/readable

There are several opportunities to make code-base batter.

  1. Decrease responsibility of Agent class
  2. Better and wider usage of Prompt and don't return exist format (String, Map<String, String>) until needed for OpeanAI API
  3. Re-factor response to better and re-usable format
  4. Decrease cognitive complexity in Agent object
  5. stagingTool in Agent.java have <String, Object> type, but sometimes it behaves as <String, String)>
  6. Each tool should handle it's own prompt creation

Fix stagingTool in Agent.java

stagingTool in Agent.java have <String, Object> type, but sometimes it behaves as <String, String)>
We need to investigate this and fix it.

Update README

README need to be more approachable and descriptive

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.