frazik-main / AmplifyGPT

Java library to amplify your project with Auto-GPT like features
MIT License
4 stars 0 forks source link

Make code base more maintainable/readable #25

Closed frazik-main closed 1 year ago

frazik-main commented 1 year ago

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