Skip to content

Commit 80a6938

Browse files
committed
refactor: README file of the JVM sample
1 parent 8cd7d29 commit 80a6938

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

sample/jvm/README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,18 @@ This endpoint generates text based on the provided prompt and a specified topic.
4242

4343
##### Example:
4444

45-
`GET http://localhost:8080/api/ychat/chat-completions?input="Tell me an exercise plan"&topic=fitness`
45+
`GET http://localhost:8080/api/ychat/chat-completions?input="Tell me an exercise plan"&topic=fitness`
46+
47+
### Image Generations Endpoint
48+
49+
This endpoint generates images based on the provided prompt.
50+
51+
##### Endpoint: http://localhost:[port_number]/api/ychat/generations
52+
53+
##### Parameters:
54+
55+
- `prompt`: The prompt for generating images.
56+
57+
##### Example:
58+
59+
`GET http://localhost:8080/api/ychat/generations?prompt="ocean"

0 commit comments

Comments
 (0)