Skip to content

Commit

Permalink
Update egresspoint for spring-ai-chat
Browse files Browse the repository at this point in the history
  • Loading branch information
trisberg committed Nov 7, 2024
1 parent 365abe9 commit ea170fc
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ spec:
- hosts:
- api.openai.com
port:
number: 80
number: 443
protocol: HTTPS
22 changes: 22 additions & 0 deletions spring-ai-chat/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,28 @@ a PostgresSQL database instance before deploying the application. The PostgreSQL

Instructions TBD.

### Use port-forward to access an app instance

You can use the `app port-forward` command to access your app instance's endpoint.
Just select the instance you want when prompted.
Use the following command to start the port-forward:

```sh
tanzu app port-forward spring-ai-chat --port 8080
```

Then you can access the app using http://localhost:8080.

You'll be presented with a login page. You may login with either of the following sets
of credentials:

- buzz / infinity
- woody / bullseye

The security around the application is primarily so that each user will have their own,
distinct chat history and so that conversations with the LLM do not bleed into each
other.

# How to proceed from here?

Having the application locally running and deployed to a cluster you could add your domain logic, related persistence and new Spring MVC controllers.
Expand Down

0 comments on commit ea170fc

Please sign in to comment.