https://github.com/ollls/quartz-h2-gptapi
https://github.com/ollls/quartz-h2-gptapi
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ollls/quartz-h2-gptapi
- Owner: ollls
- Created: 2023-03-20T02:20:27.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-16T23:00:20.000Z (about 2 years ago)
- Last Synced: 2025-08-09T23:31:22.293Z (11 months ago)
- Language: Scala
- Size: 17.6 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple example with http/2 quartz-h2 server/client with jsoniter-scala json codec accessing Chat GPT API.
quartz-h2 http2 server.
https://github.com/ollls/quartz-h2
JSON library.
https://github.com/plokhotnyuk/jsoniter-scala
## Commands:
- ```sbt run```
http POST english text to https://127.0.0.1:8443/token.
- ```sbt assembly```
```java -jar qh2-http-run.jar```
- ```sbt test```
Make sure you have proper path for
```scala
val FOLDER_PATH = "...."
val BIG_FILE = "img_0278.jpeg"
```
Options for logging level.
```
sbt "run --debug"
sbt "run --error"
sbt "run --off"
```