File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
openai-java-example/src/main/java/com/openai/example Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 8
8
public final class AssistantExample {
9
9
private AssistantExample () {}
10
10
11
- public static void main (String [] args ) throws InterruptedException {
11
+ public static void main (String [] args ) throws Exception {
12
12
// Configures using one of:
13
13
// - The `OPENAI_API_KEY` environment variable
14
14
// - The `AZURE_OPENAI_ENDPOINT` and `AZURE_OPENAI_KEY` environment variables
Original file line number Diff line number Diff line change 10
10
public final class CompletionsStreamingAsyncExample {
11
11
private CompletionsStreamingAsyncExample () {}
12
12
13
- public static void main (String [] args ) throws Exception {
13
+ public static void main (String [] args ) {
14
14
// Configures using one of:
15
15
// - The `OPENAI_API_KEY` environment variable
16
16
// - The `AZURE_OPENAI_ENDPOINT` and `AZURE_OPENAI_KEY` environment variables
Original file line number Diff line number Diff line change 8
8
public final class CompletionsStreamingExample {
9
9
private CompletionsStreamingExample () {}
10
10
11
- public static void main (String [] args ) throws Exception {
11
+ public static void main (String [] args ) {
12
12
// Configures using one of:
13
13
// - The `OPENAI_API_KEY` environment variable
14
14
// - The `AZURE_OPENAI_ENDPOINT` and `AZURE_OPENAI_KEY` environment variables
You can’t perform that action at this time.
0 commit comments