Skip to content

Commit 468f784

Browse files
AI support (#38)
1 parent c862850 commit 468f784

5 files changed

Lines changed: 36 additions & 2 deletions

File tree

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ repositories {
2828
}
2929

3030
group = 'com.testsigma'
31-
version = '1.2.20_cloud_beta-1'
31+
version = '1.2.21_cloud'
3232
description = 'Testsigma Java SDK'
3333
java.sourceCompatibility = JavaVersion.VERSION_11
3434

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ RELEASE_SIGNING_ENABLED=true
33

44
GROUP=com.testsigma
55
POM_ARTIFACT_ID=testsigma-java-sdk
6-
VERSION_NAME=1.2.20_cloud_beta-1
6+
VERSION_NAME=1.2.21_cloud
77

88
POM_NAME=Testsigma Java SDK
99
POM_DESCRIPTION=Testsigma Java SDK
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package com.testsigma.sdk;
2+
3+
public interface AI {
4+
String invokeAI(AIRequest request);
5+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package com.testsigma.sdk;
2+
3+
import lombok.Data;
4+
import lombok.RequiredArgsConstructor;
5+
6+
import java.io.File;
7+
import java.util.List;
8+
9+
10+
@RequiredArgsConstructor
11+
@Data
12+
public class AIRequest {
13+
List<File> files;
14+
15+
String model;
16+
17+
String prompt;
18+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package com.testsigma.sdk.annotation;
2+
3+
import java.lang.annotation.ElementType;
4+
import java.lang.annotation.Retention;
5+
import java.lang.annotation.RetentionPolicy;
6+
import java.lang.annotation.Target;
7+
8+
@Target(ElementType.FIELD)
9+
@Retention(RetentionPolicy.RUNTIME)
10+
public @interface AI {
11+
}

0 commit comments

Comments
 (0)