Skip to content

Commit

Permalink
Merge pull request #5 from arey/feature/update-screenshot
Browse files Browse the repository at this point in the history
Update the screenshot of the main page
  • Loading branch information
odedia authored Oct 11, 2024
2 parents 319f53d + 371a4f2 commit 82bf578
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
File renamed without changes
Binary file added docs/find-owners-screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/spring-projects/spring-petclinic) [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://github.com/codespaces/new?hide_repo_select=true&ref=main&repo=7517918)

## Understanding the Spring Petclinic application with a few diagrams
## Understanding the Spring Petclinic AI application

Thanks to the work of [Oded Shopen](https://github.com/odedia), a chatbot using **Generative AI** has been added to the famous Spring Petclinic application.
This fork uses the **[Spring AI project](https://spring.io/projects/spring-ai)** and currently supports **OpenAI** or **Azure's OpenAI** as the **LLM provider**. This is a fork from the `spring-ai` branch of the `spring-petclinic` repo available [here](https://github.com/spring-projects/spring-petclinic/tree/spring-ai).
Expand All @@ -19,7 +19,7 @@ Spring Petclinic integrates a Chatbot that allows you to interact with the appli
4. Which owners have dogs?
5. Add a dog for Betty. Its name is Moopsie.

![alt text](spring-ai.png)
![Screenshot of the chat dialog](docs/chat-dialog.png)

Spring Petclinic currently supports **OpenAI** or **Azure's OpenAI** as the LLM provider.
In order to start `spring-petlinic-springai` perform the following steps:
Expand Down Expand Up @@ -51,7 +51,7 @@ java -jar target/*.jar

You can then access the Petclinic at <http://localhost:8080/>.

<img width="1042" alt="petclinic-screenshot" src="https://cloud.githubusercontent.com/assets/838318/19727082/2aee6d6c-9b8e-11e6-81fe-e889a5ddfded.png">
![Screenshot of the Find Owners menu](docs/find-owners-screenshot.png)

Or you can run it from Maven directly using the Spring Boot Maven plugin. If you do this, it will pick up changes that you make in the project immediately (changes to Java source files require a compile as well - most people use an IDE for this):

Expand Down

0 comments on commit 82bf578

Please sign in to comment.