![JAR search and dependency download from the Maven repository](/logo.png)
com.mtnfog.idyl.e3.sdk.model.StreamingClient Maven / Gradle / Ivy
package com.mtnfog.idyl.e3.sdk.model;
import java.io.IOException;
/**
* Interface for a streaming client.
*
* @author Mountain Fog, Inc.
*
*/
public interface StreamingClient {
/**
* Sends text to Idyl E3's streaming endpoint.
* @param text The text to end.
* @return An {@link EntityExtractionResponse}.
* @throws IOException Thrown if the text cannot be streamed to Idyl E3.
*/
EntityExtractionResponse stream(String text) throws IOException;
/**
* Closes the underlying connection.
*/
void close();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy