次の方法で共有


StreamUpdate Class

  • java.lang.Object
    • com.azure.ai.agents.persistent.models.StreamUpdate

public abstract class StreamUpdate

Parent class for all stream updates types.

Constructor Summary

Constructor Description
StreamUpdate(PersistentAgentStreamEvent kind)

We always want to know to which PersistentAgentStreamEvent this StreamUpdate is associated, therefore we enforce any deriving class to supply it upon construction of a new instance.

Method Summary

Modifier and Type Method and Description
PersistentAgentStreamEvent getKind()

Returns what kind of StreamUpdate this is.

Methods inherited from java.lang.Object

Constructor Details

StreamUpdate

public StreamUpdate(PersistentAgentStreamEvent kind)

We always want to know to which PersistentAgentStreamEvent this StreamUpdate is associated, therefore we enforce any deriving class to supply it upon construction of a new instance.

Parameters:

kind - The kind of stream update.

Method Details

getKind

public PersistentAgentStreamEvent getKind()

Returns what kind of StreamUpdate this is. See PersistentAgentStreamEvent for possible values.

Returns:

the kind of stream update.

Applies to