Skip to content

embabel/modernizer

Repository files navigation

Build

Java Spring Apache Maven ChatGPT JSON GitHub Actions IntelliJ IDEA

    

    

Project modernizer

Modernizes codebases.

Running

Run the shell script to start Embabel under Spring Shell:

./scripts/shell.sh

When the Embabel shell comes up, invoke the story agent like this:

x "Tell me a story about...[your topic]"

Try the following other shell commands:

  • demo: Runs the same agent, invoked programmatically, instead of dynamically based on user input. See DemoCommands.java for the implementation.
  • animal: Runs a simple demo using an Embabel injected Ai instance to call an LLM. See InjectedDemo.

Suggested Next Steps

To get a feel for working with Embabel, try the following:

  • Modify the prompts in WriteAndReviewAgent and InjectedDemo.
  • Experiment with different models and hyperparameters by modifying withLlm calls.
  • Integrate your own services, injecting them with Spring. All Embabel @Agent classes are Spring beans.
  • Run the tests with mvn test and modify them to experiment with prompt verification.

To see tool support, check out the more complex Embabel Agent API Examples repository.

Model support

Embabel integrates with any LLM supported by Spring AI.

See LLM integration guide (work in progress).

Also see Spring AI models.

A2A support

Embabel integrates with Google A2a. See A2A integration.

Contributors

Embabel contributors

About

Project modernizer

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published