Skip to content

embabel/kotlin-agent-template

Repository files navigation

Build

Kotlin Spring Apache Tomcat Apache Maven ChatGPT JSON GitHub Actions Docker IntelliJ IDEA

    

    

Generated agent

Agent repository generated by the Embabel project creator.

Add your magic here!

To run

Create at least one of the following in your env pointing to a valid key:

export OPENAI_API_KEY=YOUR_OPENAI_KEY
export ANTHROPIC_API_KEY=YOUR_ANTHROPIC_API_KEY

Run the shell script to start Embabel under Spring Shell:

./scripts/shell.sh

There is a single example agent, WriteAndReviewAgent. It will be under your package name. It uses one LLM with a high temperature and creative persona to write a story based on your input, then another LLM with a low temperature and different persona to review the story.

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

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

Contributors

Embabel contributors

About

Kotlin agent template

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5