Giter Club home page Giter Club logo

spring-ai-examples's Introduction

Spring AI Examples

This repository is where I'll commit various examples of using Spring AI.

You can clone this project in its entirety and work with it like that. Or better, use the SpringCLI to select individual projects and create them locally.

This repository includes a project-catalog.yml, so you can add it as a project catalog to Spring CLI like this:

% spring project-catalog add spring-ai-examples https://github.com/habuma/spring-ai-examples

Then you will be able to see these projects when using spring project list and be able to create projects locally using spring boot new. For example, to create a new local copy of the "prompts-and-output-parsers" example, do this:

% spring boot new my-project output-parsers com.example.ai

This will create the project in a directory named "my-project" and will refactor the package names to be com.example.ai.

You can also mix a project's functionality into an existing project by using spring boot add. For example, let's say you already have a Spring Boot project and want to add the functionality of the "prompts-and-output-parsers" project to it. Here's how you would do that:

% spring boot add output-parsers

Be aware, however, that the Spring AI examples may build against newer versions of Spring Boot than your project. If so, your project's original Boot version will remain unchanged and you may get build or test errors. You'll need to update your Boot version to the version of the example project to fix the build.

Also note that the project catalog includes a few examples that are maintained in separate Git repositories:

Because they're in the project catalog, you can use the Spring CLI to create those projects as well.

spring-ai-examples's People

Contributors

habuma avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

spring-ai-examples's Issues

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.