Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 73cd45a

Browse files
author
Stainless Bot
committedOct 28, 2024·
feat: fix: update stream data example
1 parent 75f7a19 commit 73cd45a

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed
 

‎examples/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ examples.forEach { example ->
1515
group = "Examples"
1616
description = "Run $example"
1717
classpath = sourceSets.getByName("main").runtimeClasspath
18-
mainClass.set("com.langsmith.example.$example")
18+
mainClass.set("com.openlayer.api.example.$example")
1919
}
2020
}

‎examples/src/main/java/com/openlayer/api/example/StreamData.java

-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ public static void main(String[] args) {
3535
.putAdditionalProperty("output", JsonString.of("42"))
3636
.putAdditionalProperty("tokens", JsonNumber.of(7))
3737
.putAdditionalProperty("cost", JsonNumber.of(0.02))
38-
.putAdditionalProperty("timestamp", JsonNumber.of(1620000000))
3938
.build();
4039

4140
// Create Inference Pipeline Data Stream Parameters
@@ -48,7 +47,6 @@ public static void main(String[] args) {
4847
.costColumnName("cost")
4948
.inputVariableNames(Arrays.asList("user_query"))
5049
.numOfTokenColumnName("tokens")
51-
.timestampColumnName("timestamp")
5250
.build()))
5351
.build();
5452

0 commit comments

Comments
 (0)
Please sign in to comment.