Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/edeandrea/non-deterministic-no-problem
Demo repo for my talk about testing non-deterministic things.
https://github.com/edeandrea/non-deterministic-no-problem
Last synced: 14 days ago
JSON representation
Demo repo for my talk about testing non-deterministic things.
- Host: GitHub
- URL: https://github.com/edeandrea/non-deterministic-no-problem
- Owner: edeandrea
- Created: 2024-12-17T16:23:47.000Z (25 days ago)
- Default Branch: main
- Last Pushed: 2024-12-17T17:15:15.000Z (25 days ago)
- Last Synced: 2024-12-17T17:33:13.612Z (25 days ago)
- Language: TypeScript
- Size: 3.72 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Using Ollama
If you would like to use [Ollama](https://ollama.com/) instead, first install/run Ollama on your machine. Then do one of the following:## Building the app
When building the app, run `./mvnw clean package -DskipTests -Pollama` (or `quarkus build --clean --no-tests -Dollama`)## Running dev mode
When running dev mode, run `./mvnw quarkus:dev -Pollama` (or `quarkus dev -Dollama`).## Running tests
When running tests, run `./mvnw verify -Pollama` (or `quarkus build --tests -Dollama`)## Running the app outside dev mode
If you want to run the app outside dev mode, first build the app as described above, then run `java -Dquarkus.profile=ollama,prod -jar target/quarkus-app/quarkus-run.jar`# Using Ollama via the OpenAI endpoint
If you would like to use [Ollama](https://ollama.com/) instead but using the OpenAI endpoint, first install/run Ollama on your machine. Then do one of the following:## Building the app
When building the app, run `./mvnw clean package -DskipTests -Pollama-openai` (or `quarkus build --clean --no-tests -Dollama-openai`)## Running dev mode
When running dev mode, run `./mvnw quarkus:dev -Pollama-openai` (or `quarkus dev -Dollama-openai`).## Running tests
When running tests, run `./mvnw verify -Pollama-openai` (or `quarkus build --tests -Dollama-openai`)## Running the app outside dev mode
If you want to run the app outside dev mode, first build the app as described above, then run `java -Dquarkus.profile=ollama-openai,prod -jar target/quarkus-app/quarkus-run.jar`