summaryrefslogtreecommitdiffstats
path: root/linguistics/abi-spec.json
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@yahooinc.com>2023-08-04 13:33:13 +0200
committerBjørn Christian Seime <bjorncs@yahooinc.com>2023-08-04 13:52:27 +0200
commit3ddce3c158941cb8eabdb391d207fe004095c434 (patch)
treedb8121fe016fa7bb5a0ad345af9f1bd58fbbfb6d /linguistics/abi-spec.json
parent0f46015e498ecb622473cd3e2403283c99f9f5d5 (diff)
Add generic metrics for embedders
Diffstat (limited to 'linguistics/abi-spec.json')
-rw-r--r--linguistics/abi-spec.json20
1 files changed, 19 insertions, 1 deletions
diff --git a/linguistics/abi-spec.json b/linguistics/abi-spec.json
index dc85a2e6f0b..680aec3ff57 100644
--- a/linguistics/abi-spec.json
+++ b/linguistics/abi-spec.json
@@ -338,10 +338,13 @@
],
"methods" : [
"public void <init>(java.lang.String)",
+ "public com.yahoo.language.process.Embedder$Context copy()",
"public com.yahoo.language.Language getLanguage()",
"public com.yahoo.language.process.Embedder$Context setLanguage(com.yahoo.language.Language)",
"public java.lang.String getDestination()",
- "public com.yahoo.language.process.Embedder$Context setDestination(java.lang.String)"
+ "public com.yahoo.language.process.Embedder$Context setDestination(java.lang.String)",
+ "public java.lang.String getEmbedderId()",
+ "public com.yahoo.language.process.Embedder$Context setEmbedderId(java.lang.String)"
],
"fields" : [ ]
},
@@ -361,6 +364,21 @@
],
"fields" : [ ]
},
+ "com.yahoo.language.process.Embedder$Runtime" : {
+ "superClass" : "java.lang.Object",
+ "interfaces" : [ ],
+ "attributes" : [
+ "public",
+ "interface",
+ "abstract"
+ ],
+ "methods" : [
+ "public abstract void sampleEmbeddingLatency(java.time.Duration, com.yahoo.language.process.Embedder$Context)",
+ "public abstract void sampleSequenceLength(long, com.yahoo.language.process.Embedder$Context)",
+ "public static com.yahoo.language.process.Embedder$Runtime testInstance()"
+ ],
+ "fields" : [ ]
+ },
"com.yahoo.language.process.Embedder" : {
"superClass" : "java.lang.Object",
"interfaces" : [ ],