Skip to content

Commit

Permalink
Update multimodality examples
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasVitale committed Aug 26, 2024
1 parent abf121c commit 7b059f2
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@AutoConfigureWebTestClient(timeout = "120s")
@Import(TestcontainersConfiguration.class)
@Disabled
class PromptsMultimodalityOllamaApplicationTests {
class MultimodalityOllamaApplicationTests {

@Autowired
WebTestClient webTestClient;
Expand Down
Original file line number Diff line number Diff line change
@@ -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);
}

}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7b059f2

Please sign in to comment.