File tree Expand file tree Collapse file tree 1 file changed +1
-32
lines changed
java-ai/src/main/java/oracleai Expand file tree Collapse file tree 1 file changed +1
-32
lines changed Original file line number Diff line number Diff line change 1- package oracleai ;
2-
3- import com .oracle .bmc .retrier .RetryConfiguration ;
4- import org .springframework .boot .SpringApplication ;
5- import org .springframework .boot .autoconfigure .SpringBootApplication ;
6-
7- import java .io .File ;
8- import java .io .FileWriter ;
9- import java .io .IOException ;
10-
11- @ SpringBootApplication
12- public class AIApplication {
13-
14-
15- public static final String COMPARTMENT_ID = System .getenv ("COMPARTMENT_ID" );
16- public static final String OBJECTSTORAGE_NAMESPACE = System .getenv ("OBJECTSTORAGE_NAMESPACE" );
17- public static final String OBJECTSTORAGE_BUCKETNAME = System .getenv ("OBJECTSTORAGE_BUCKETNAME" );
18- public static final String ORDS_ENDPOINT_URL = System .getenv ("ORDS_ENDPOINT_URL" );
19- public static final String OCI_VISION_SERVICE_ENDPOINT = System .getenv ("OCI_VISION_SERVICE_ENDPOINT" );
20- public static final String OCI_SPEECH_SERVICE_ENDPOINT = System .getenv ("OCI_SPEECH_SERVICE_ENDPOINT" );
21- public static final String OCI_GENAI_SERVICE_ENDPOINT = System .getenv ("OCI_GENAI_SERVICE_ENDPOINT" );
22- public static final String OCICONFIG_FILE = System .getenv ("OCICONFIG_FILE" );
23- public static final String OCICONFIG_PROFILE = System .getenv ("OCICONFIG_PROFILE" );
24-
25- public static void main (String [] args ) {
26- // RetryConfiguration retryConfiguration = RetryConfiguration.builder()
27- // .terminationStrategy(RetryUtils.createExponentialBackoffStrategy(500, 5)) // Configure limits
28- // .build();
29- SpringApplication .run (AIApplication .class , args );
30- }
31-
32- }
1+ asdf
You can’t perform that action at this time.
0 commit comments