Skip to content

Demo repo for my talk about testing non-deterministic things.

Notifications You must be signed in to change notification settings

edeandrea/non-deterministic-no-problem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using Ollama

If you would like to use Ollama 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 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

About

Demo repo for my talk about testing non-deterministic things.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published