diff --git a/04-multimodality/multimodality-openai/src/main/java/com/thomasvitale/ai/spring/PromptMultimodalityOpenAiApplication.java b/04-multimodality/multimodality-ollama/src/main/java/com/thomasvitale/ai/spring/MultimodalityOllamaApplication.java similarity index 63% rename from 04-multimodality/multimodality-openai/src/main/java/com/thomasvitale/ai/spring/PromptMultimodalityOpenAiApplication.java rename to 04-multimodality/multimodality-ollama/src/main/java/com/thomasvitale/ai/spring/MultimodalityOllamaApplication.java index 7f07511..464d634 100644 --- a/04-multimodality/multimodality-openai/src/main/java/com/thomasvitale/ai/spring/PromptMultimodalityOpenAiApplication.java +++ b/04-multimodality/multimodality-ollama/src/main/java/com/thomasvitale/ai/spring/MultimodalityOllamaApplication.java @@ -4,10 +4,10 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication -public class PromptMultimodalityOpenAiApplication { +public class MultimodalityOllamaApplication { public static void main(String[] args) { - SpringApplication.run(PromptMultimodalityOpenAiApplication.class, args); + SpringApplication.run(MultimodalityOllamaApplication.class, args); } } diff --git a/04-multimodality/multimodality-ollama/src/test/java/com/thomasvitale/ai/spring/PromptsMultimodalityOllamaApplicationTests.java b/04-multimodality/multimodality-ollama/src/test/java/com/thomasvitale/ai/spring/MultimodalityOllamaApplicationTests.java similarity index 95% rename from 04-multimodality/multimodality-ollama/src/test/java/com/thomasvitale/ai/spring/PromptsMultimodalityOllamaApplicationTests.java rename to 04-multimodality/multimodality-ollama/src/test/java/com/thomasvitale/ai/spring/MultimodalityOllamaApplicationTests.java index 8be8aee..95ee894 100644 --- a/04-multimodality/multimodality-ollama/src/test/java/com/thomasvitale/ai/spring/PromptsMultimodalityOllamaApplicationTests.java +++ b/04-multimodality/multimodality-ollama/src/test/java/com/thomasvitale/ai/spring/MultimodalityOllamaApplicationTests.java @@ -14,7 +14,7 @@ @AutoConfigureWebTestClient(timeout = "120s") @Import(TestcontainersConfiguration.class) @Disabled -class PromptsMultimodalityOllamaApplicationTests { +class MultimodalityOllamaApplicationTests { @Autowired WebTestClient webTestClient; diff --git a/04-multimodality/multimodality-ollama/src/test/java/com/thomasvitale/ai/spring/TestMultimodalityOllamaApplication.java b/04-multimodality/multimodality-ollama/src/test/java/com/thomasvitale/ai/spring/TestMultimodalityOllamaApplication.java new file mode 100644 index 0000000..ccd9465 --- /dev/null +++ b/04-multimodality/multimodality-ollama/src/test/java/com/thomasvitale/ai/spring/TestMultimodalityOllamaApplication.java @@ -0,0 +1,11 @@ +package com.thomasvitale.ai.spring; + +import org.springframework.boot.SpringApplication; + +public class TestMultimodalityOllamaApplication { + + public static void main(String[] args) { + SpringApplication.from(MultimodalityOllamaApplication::main).with(TestcontainersConfiguration.class).run(args); + } + +} diff --git a/04-multimodality/multimodality-ollama/src/test/java/com/thomasvitale/ai/spring/TestPromptsMultimodalityOllamaApplication.java b/04-multimodality/multimodality-ollama/src/test/java/com/thomasvitale/ai/spring/TestPromptsMultimodalityOllamaApplication.java deleted file mode 100644 index 303d49b..0000000 --- a/04-multimodality/multimodality-ollama/src/test/java/com/thomasvitale/ai/spring/TestPromptsMultimodalityOllamaApplication.java +++ /dev/null @@ -1,11 +0,0 @@ -package com.thomasvitale.ai.spring; - -import org.springframework.boot.SpringApplication; - -public class TestPromptsMultimodalityOllamaApplication { - - public static void main(String[] args) { - SpringApplication.from(PromptsMultimodalityOllamaApplication::main).with(TestcontainersConfiguration.class).run(args); - } - -} diff --git a/04-multimodality/multimodality-ollama/src/main/java/com/thomasvitale/ai/spring/PromptsMultimodalityOllamaApplication.java b/04-multimodality/multimodality-openai/src/main/java/com/thomasvitale/ai/spring/MultimodalityOpenAiApplication.java similarity index 63% rename from 04-multimodality/multimodality-ollama/src/main/java/com/thomasvitale/ai/spring/PromptsMultimodalityOllamaApplication.java rename to 04-multimodality/multimodality-openai/src/main/java/com/thomasvitale/ai/spring/MultimodalityOpenAiApplication.java index d070945..72cfe5e 100644 --- a/04-multimodality/multimodality-ollama/src/main/java/com/thomasvitale/ai/spring/PromptsMultimodalityOllamaApplication.java +++ b/04-multimodality/multimodality-openai/src/main/java/com/thomasvitale/ai/spring/MultimodalityOpenAiApplication.java @@ -4,10 +4,10 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication -public class PromptsMultimodalityOllamaApplication { +public class MultimodalityOpenAiApplication { public static void main(String[] args) { - SpringApplication.run(PromptsMultimodalityOllamaApplication.class, args); + SpringApplication.run(MultimodalityOpenAiApplication.class, args); } } diff --git a/04-multimodality/multimodality-openai/src/test/java/com/thomasvitale/ai/spring/PromptMultimodalityOpenAiApplicationTests.java b/04-multimodality/multimodality-openai/src/test/java/com/thomasvitale/ai/spring/MultimodalityOpenAiApplicationTests.java similarity index 96% rename from 04-multimodality/multimodality-openai/src/test/java/com/thomasvitale/ai/spring/PromptMultimodalityOpenAiApplicationTests.java rename to 04-multimodality/multimodality-openai/src/test/java/com/thomasvitale/ai/spring/MultimodalityOpenAiApplicationTests.java index edea502..1c979c3 100644 --- a/04-multimodality/multimodality-openai/src/test/java/com/thomasvitale/ai/spring/PromptMultimodalityOpenAiApplicationTests.java +++ b/04-multimodality/multimodality-openai/src/test/java/com/thomasvitale/ai/spring/MultimodalityOpenAiApplicationTests.java @@ -12,7 +12,7 @@ @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT) @AutoConfigureWebTestClient(timeout = "60s") @EnabledIfEnvironmentVariable(named = "SPRING_AI_OPENAI_API_KEY", matches = ".*") -class PromptMultimodalityOpenAiApplicationTests { +class MultimodalityOpenAiApplicationTests { @Autowired WebTestClient webTestClient;