- CALL_OPTIONS - Static variable in class com.coze.loop.spec.tracespec.SpanKeys
-
- CALL_TYPE - Static variable in class com.coze.loop.spec.tracespec.SpanKeys
-
- close() - Method in interface com.coze.loop.client.CozeLoopClient
-
Close the client (alias for shutdown).
- close() - Method in class com.coze.loop.client.CozeLoopClientImpl
-
- close() - Method in class com.coze.loop.http.HttpClient
-
Close the HTTP client and release resources.
- close() - Method in class com.coze.loop.stream.SSEDecoder
-
Close the decoder and release resources.
- close() - Method in class com.coze.loop.stream.StreamReader
-
- close() - Method in class com.coze.loop.trace.CozeLoopSpan
-
End the span and close the scope.
- com.coze.loop.auth - package com.coze.loop.auth
-
- com.coze.loop.client - package com.coze.loop.client
-
- com.coze.loop.config - package com.coze.loop.config
-
- com.coze.loop.entity - package com.coze.loop.entity
-
- com.coze.loop.exception - package com.coze.loop.exception
-
- com.coze.loop.http - package com.coze.loop.http
-
- com.coze.loop.internal - package com.coze.loop.internal
-
- com.coze.loop.prompt - package com.coze.loop.prompt
-
- com.coze.loop.spec.tracespec - package com.coze.loop.spec.tracespec
-
- com.coze.loop.stream - package com.coze.loop.stream
-
- com.coze.loop.trace - package com.coze.loop.trace
-
- config(CozeLoopConfig) - Method in class com.coze.loop.client.CozeLoopClientBuilder
-
Set configuration (optional).
- ConfigUtils - Class in com.coze.loop.internal
-
Utility class for loading configuration from system properties and environment variables.
- connectTimeoutSeconds(int) - Method in class com.coze.loop.http.HttpConfig.Builder
-
- Constants - Class in com.coze.loop.internal
-
- Constants() - Constructor for class com.coze.loop.internal.Constants
-
- content(String) - Method in class com.coze.loop.entity.Message.Builder
-
- ContentPart - Class in com.coze.loop.entity
-
Content part in a message.
- ContentPart() - Constructor for class com.coze.loop.entity.ContentPart
-
- ContentPart(ContentType) - Constructor for class com.coze.loop.entity.ContentPart
-
- ContentPart.Builder - Class in com.coze.loop.entity
-
- ContentType - Enum in com.coze.loop.entity
-
Content part type enum.
- COZELOOP_ERROR - Static variable in class com.coze.loop.spec.tracespec.SpanKeys
-
- COZELOOP_INPUT - Static variable in class com.coze.loop.spec.tracespec.SpanKeys
-
- COZELOOP_LOGID - Static variable in class com.coze.loop.spec.tracespec.SpanKeys
-
- COZELOOP_OUTPUT - Static variable in class com.coze.loop.spec.tracespec.SpanKeys
-
- COZELOOP_SPAN_TYPE - Static variable in class com.coze.loop.spec.tracespec.SpanKeys
-
- COZELOOP_STATUS_CODE - Static variable in class com.coze.loop.spec.tracespec.SpanKeys
-
- COZELOOP_SYSTEM_TAG_RUNTIME - Static variable in class com.coze.loop.spec.tracespec.SpanKeys
-
- COZELOOP_TIME_TO_FIRST_TOKEN - Static variable in class com.coze.loop.spec.tracespec.SpanKeys
-
- CozeLoopClient - Interface in com.coze.loop.client
-
Main interface for CozeLoop SDK client.
- CozeLoopClientBuilder - Class in com.coze.loop.client
-
Builder for creating CozeLoopClient instances.
- CozeLoopClientBuilder() - Constructor for class com.coze.loop.client.CozeLoopClientBuilder
-
- CozeLoopClientImpl - Class in com.coze.loop.client
-
Implementation of CozeLoopClient.
- CozeLoopClientImpl(String, CozeLoopTracerProvider, PromptProvider, HttpClient) - Constructor for class com.coze.loop.client.CozeLoopClientImpl
-
- CozeLoopConfig - Class in com.coze.loop.config
-
Main configuration for CozeLoop Client.
- CozeLoopConfig() - Constructor for class com.coze.loop.config.CozeLoopConfig
-
- CozeLoopConfig.Builder - Class in com.coze.loop.config
-
- CozeLoopContext - Class in com.coze.loop.trace
-
Wrapper for OpenTelemetry Context to shield internal implementation.
- CozeLoopContext(Context) - Constructor for class com.coze.loop.trace.CozeLoopContext
-
Create a new CozeLoopContext wrapping an OpenTelemetry Context.
- CozeLoopException - Exception in com.coze.loop.exception
-
Base exception for CozeLoop SDK.
- CozeLoopException(ErrorCode) - Constructor for exception com.coze.loop.exception.CozeLoopException
-
- CozeLoopException(ErrorCode, String) - Constructor for exception com.coze.loop.exception.CozeLoopException
-
- CozeLoopException(ErrorCode, Throwable) - Constructor for exception com.coze.loop.exception.CozeLoopException
-
- CozeLoopException(ErrorCode, String, Throwable) - Constructor for exception com.coze.loop.exception.CozeLoopException
-
- CozeLoopLogger - Class in com.coze.loop.internal
-
- CozeLoopSpan - Class in com.coze.loop.trace
-
Wrapper for OpenTelemetry Span that provides CozeLoop-specific methods.
- CozeLoopSpan(Span, Scope, ContextPropagators, CozeLoopContext, String, FinishEventProcessor) - Constructor for class com.coze.loop.trace.CozeLoopSpan
-
Create a new CozeLoopSpan wrapper.
- CozeLoopSpanExporter - Class in com.coze.loop.trace
-
- CozeLoopSpanExporter.Builder - Class in com.coze.loop.trace
-
- CozeLoopTracerProvider - Class in com.coze.loop.trace
-
CozeLoop TracerProvider that wraps OpenTelemetry TracerProvider.
- CozeLoopTracerProvider.TraceConfig - Class in com.coze.loop.trace
-
Trace configuration for OpenTelemetry BatchSpanProcessor.
- CozeLoopTracerProvider.TraceConfig.Builder - Class in com.coze.loop.trace
-
- create(Auth, String, String, String, CozeLoopTracerProvider.TraceConfig) - Static method in class com.coze.loop.trace.CozeLoopTracerProvider
-
Create a new CozeLoopTracerProvider.
- current() - Static method in class com.coze.loop.trace.CozeLoopContext
-
Get the current context from thread-local storage.
- GEN_AI_PROVIDER_NAME - Static variable in class com.coze.loop.spec.tracespec.SpanKeys
-
- GEN_AI_REQUEST_FREQUENCY_PENALTY - Static variable in class com.coze.loop.spec.tracespec.SpanKeys
-
- GEN_AI_REQUEST_MAX_TOKENS - Static variable in class com.coze.loop.spec.tracespec.SpanKeys
-
- GEN_AI_REQUEST_PRESENCE_PENALTY - Static variable in class com.coze.loop.spec.tracespec.SpanKeys
-
- GEN_AI_REQUEST_STOP_SEQUENCES - Static variable in class com.coze.loop.spec.tracespec.SpanKeys
-
- GEN_AI_REQUEST_TEMPERATURE - Static variable in class com.coze.loop.spec.tracespec.SpanKeys
-
- GEN_AI_REQUEST_TOP_K - Static variable in class com.coze.loop.spec.tracespec.SpanKeys
-
- GEN_AI_REQUEST_TOP_P - Static variable in class com.coze.loop.spec.tracespec.SpanKeys
-
- GEN_AI_USAGE_INPUT_TOKENS - Static variable in class com.coze.loop.spec.tracespec.SpanKeys
-
- GEN_AI_USAGE_OUTPUT_TOKENS - Static variable in class com.coze.loop.spec.tracespec.SpanKeys
-
- get(String) - Method in class com.coze.loop.http.HttpClient
-
Execute a GET request.
- get(String) - Static method in class com.coze.loop.internal.ConfigUtils
-
Get a configuration value from system properties or environment variables.
- get(String) - Method in class com.coze.loop.prompt.PromptCache
-
Get prompt from cache, loading if necessary.
- get(ContextKey<V>) - Method in class com.coze.loop.trace.CozeLoopContext
-
- getAndFormat(GetPromptParam, Map<String, Object>) - Method in class com.coze.loop.prompt.PromptProvider
-
Get and format prompt in one call.
- getAndFormatPrompt(GetPromptParam, Map<String, Object>) - Method in interface com.coze.loop.client.CozeLoopClient
-
Get and format a prompt in one call.
- getAndFormatPrompt(GetPromptParam, Map<String, Object>) - Method in class com.coze.loop.client.CozeLoopClientImpl
-
- getArguments() - Method in class com.coze.loop.entity.ToolCall.FunctionCall
-
- getArguments() - Method in class com.coze.loop.spec.tracespec.ModelToolCallFunction
-
- getArguments() - Method in class com.coze.loop.spec.tracespec.PromptInput
-
- getAudioURL() - Method in class com.coze.loop.spec.tracespec.ModelMessagePart
-
- getBaggage() - Method in class com.coze.loop.trace.CozeLoopSpan
-
Get all baggage items.
- getBase64Data() - Method in class com.coze.loop.entity.ContentPart
-
- getBaseUrl() - Method in class com.coze.loop.config.CozeLoopConfig
-
- getBatchSize() - Method in class com.coze.loop.trace.CozeLoopTracerProvider.TraceConfig
-
- getChoices() - Method in class com.coze.loop.spec.tracespec.ModelOutput
-
- getClientUserAgent() - Static method in class com.coze.loop.internal.UserAgentUtils
-
Get the Coze-specific client User-Agent JSON string.
- getCode() - Method in exception com.coze.loop.exception.CozeLoopException
-
- getCode() - Method in enum com.coze.loop.exception.ErrorCode
-
- getConnectTimeoutSeconds() - Method in class com.coze.loop.http.HttpConfig
-
- getContent() - Method in class com.coze.loop.entity.Message
-
- getContent() - Method in class com.coze.loop.spec.tracespec.ModelMessage
-
- getContent() - Method in class com.coze.loop.spec.tracespec.RetrieverDocument
-
- getContext() - Method in class com.coze.loop.trace.CozeLoopSpan
-
Get the CozeLoop Context associated with this span.
- getData() - Method in class com.coze.loop.stream.ServerSentEvent
-
- getDesc() - Method in class com.coze.loop.entity.VariableDef
-
- getDescription() - Method in class com.coze.loop.entity.Tool.Function
-
- getDescription() - Method in class com.coze.loop.spec.tracespec.ModelToolFunction
-
- getDetail() - Method in class com.coze.loop.spec.tracespec.ModelFileURL
-
- getDetail() - Method in class com.coze.loop.spec.tracespec.ModelImageURL
-
- getDetailMsg() - Method in class com.coze.loop.trace.FinishEventInfo
-
- getDocuments() - Method in class com.coze.loop.spec.tracespec.RetrieverOutput
-
- getErrorCode() - Method in exception com.coze.loop.exception.CozeLoopException
-
- getEvent() - Method in class com.coze.loop.stream.ServerSentEvent
-
- getEventType() - Method in class com.coze.loop.trace.FinishEventInfo
-
- getExecutePromptEndpoint() - Method in class com.coze.loop.config.CozeLoopConfig
-
Get prompt execution endpoint URL.
- getExecuteStreamingPromptEndpoint() - Method in class com.coze.loop.config.CozeLoopConfig
-
Get streaming prompt execution endpoint URL.
- getExpireAfterWriteMinutes() - Method in class com.coze.loop.prompt.PromptCache.PromptCacheConfig
-
- getExportTimeoutMillis() - Method in class com.coze.loop.trace.CozeLoopTracerProvider.TraceConfig
-
- getExtra() - Method in class com.coze.loop.spec.tracespec.Runtime
-
- getExtraParams() - Method in class com.coze.loop.trace.FinishEventInfo
-
- getFileURL() - Method in class com.coze.loop.spec.tracespec.ModelMessagePart
-
- getFilter() - Method in class com.coze.loop.spec.tracespec.RetrieverCallOption
-
- getFinishEventProcessor() - Method in class com.coze.loop.trace.CozeLoopTracerProvider
-
- getFinishEventProcessor() - Method in class com.coze.loop.trace.CozeLoopTracerProvider.TraceConfig
-
- getFinishReason() - Method in class com.coze.loop.entity.ExecuteResult
-
- getFinishReason() - Method in class com.coze.loop.spec.tracespec.ModelChoice
-
- getFrequencyPenalty() - Method in class com.coze.loop.entity.LLMConfig
-
- getFrequencyPenalty() - Method in class com.coze.loop.spec.tracespec.ModelCallOption
-
- getFunction() - Method in class com.coze.loop.entity.Tool
-
- getFunction() - Method in class com.coze.loop.spec.tracespec.ModelTool
-
- getFunction() - Method in class com.coze.loop.spec.tracespec.ModelToolCall
-
- getFunction() - Method in class com.coze.loop.spec.tracespec.ModelToolChoice
-
- getFunctionCall() - Method in class com.coze.loop.entity.ToolCall
-
- getHttpConfig() - Method in class com.coze.loop.config.CozeLoopConfig
-
- getId() - Method in class com.coze.loop.entity.ToolCall
-
- getId() - Method in class com.coze.loop.spec.tracespec.ModelOutput
-
- getId() - Method in class com.coze.loop.spec.tracespec.ModelToolCall
-
- getId() - Method in class com.coze.loop.spec.tracespec.RetrieverDocument
-
- getId() - Method in class com.coze.loop.stream.ServerSentEvent
-
- getImageUrl() - Method in class com.coze.loop.entity.ContentPart
-
- getImageURL() - Method in class com.coze.loop.spec.tracespec.ModelMessagePart
-
- getIndex() - Method in class com.coze.loop.entity.ToolCall
-
- getIndex() - Method in class com.coze.loop.spec.tracespec.ModelChoice
-
- getIndex() - Method in class com.coze.loop.spec.tracespec.RetrieverDocument
-
- getInputTokens() - Method in class com.coze.loop.entity.TokenUsage
-
- getItemNum() - Method in class com.coze.loop.trace.FinishEventInfo
-
- getJsonMode() - Method in class com.coze.loop.entity.LLMConfig
-
- getKeepAliveDurationMinutes() - Method in class com.coze.loop.http.HttpConfig
-
- getKey() - Method in class com.coze.loop.entity.VariableDef
-
- getKey() - Method in class com.coze.loop.prompt.VariableVal
-
- getKey() - Method in class com.coze.loop.spec.tracespec.PromptArgument
-
- getLabel() - Method in class com.coze.loop.entity.ExecuteParam
-
- getLabel() - Method in class com.coze.loop.prompt.GetPromptParam
-
- getLanguage() - Method in class com.coze.loop.spec.tracespec.Runtime
-
- getLatencyMs() - Method in class com.coze.loop.trace.FinishEventInfo.FinishEventInfoExtra
-
- getLibrary() - Method in class com.coze.loop.spec.tracespec.Runtime
-
- getLibraryVersion() - Method in class com.coze.loop.spec.tracespec.Runtime
-
- getLlmConfig() - Method in class com.coze.loop.entity.Prompt
-
- getLogger(Class<?>) - Static method in class com.coze.loop.internal.CozeLoopLogger
-
- getLogger(String) - Static method in class com.coze.loop.internal.CozeLoopLogger
-
- getLoopSDKVersion() - Method in class com.coze.loop.spec.tracespec.Runtime
-
- getMapper() - Static method in class com.coze.loop.internal.JsonUtils
-
Get the ObjectMapper instance.
- getMaxIdleConnections() - Method in class com.coze.loop.http.HttpConfig
-
- getMaxQueueSize() - Method in class com.coze.loop.trace.CozeLoopTracerProvider.TraceConfig
-
- getMaxRetries() - Method in class com.coze.loop.http.HttpConfig
-
- getMaxSize() - Method in class com.coze.loop.prompt.PromptCache.PromptCacheConfig
-
- getMaxTokens() - Method in class com.coze.loop.entity.LLMConfig
-
- getMaxTokens() - Method in class com.coze.loop.spec.tracespec.ModelCallOption
-
- getMessage() - Method in class com.coze.loop.entity.ExecuteResult
-
- getMessage() - Method in enum com.coze.loop.exception.ErrorCode
-
- getMessage() - Method in class com.coze.loop.spec.tracespec.ModelChoice
-
- getMessages() - Method in class com.coze.loop.entity.ExecuteParam
-
- getMessages() - Method in class com.coze.loop.entity.PromptTemplate
-
- getMessages() - Method in class com.coze.loop.spec.tracespec.ModelInput
-
- getMetadata() - Method in class com.coze.loop.spec.tracespec.ModelMessage
-
- getMinScore() - Method in class com.coze.loop.spec.tracespec.RetrieverCallOption
-
- getModelToolChoice() - Method in class com.coze.loop.spec.tracespec.ModelInput
-
- getMultiPartValues() - Method in class com.coze.loop.prompt.VariableVal
-
- getN() - Method in class com.coze.loop.spec.tracespec.ModelCallOption
-
- getName() - Method in class com.coze.loop.entity.Tool.Function
-
- getName() - Method in class com.coze.loop.entity.ToolCall.FunctionCall
-
- getName() - Method in class com.coze.loop.internal.CozeLoopLogger
-
- getName() - Method in class com.coze.loop.spec.tracespec.ModelAudioURL
-
- getName() - Method in class com.coze.loop.spec.tracespec.ModelFileURL
-
- getName() - Method in class com.coze.loop.spec.tracespec.ModelImageURL
-
- getName() - Method in class com.coze.loop.spec.tracespec.ModelMessage
-
- getName() - Method in class com.coze.loop.spec.tracespec.ModelToolCallFunction
-
- getName() - Method in class com.coze.loop.spec.tracespec.ModelToolFunction
-
- getName() - Method in class com.coze.loop.spec.tracespec.ModelVideoURL
-
- getOutputTokens() - Method in class com.coze.loop.entity.TokenUsage
-
- getParameters() - Method in class com.coze.loop.entity.Tool.Function
-
- getParameters() - Method in class com.coze.loop.spec.tracespec.ModelToolFunction
-
- getParts() - Method in class com.coze.loop.entity.Message
-
- getParts() - Method in class com.coze.loop.spec.tracespec.ModelMessage
-
- getPlaceholderMessages() - Method in class com.coze.loop.prompt.VariableVal
-
- getPresencePenalty() - Method in class com.coze.loop.entity.LLMConfig
-
- getPresencePenalty() - Method in class com.coze.loop.spec.tracespec.ModelCallOption
-
- getPreviousResponseID() - Method in class com.coze.loop.spec.tracespec.ModelInput
-
- getPrompt(GetPromptParam) - Method in interface com.coze.loop.client.CozeLoopClient
-
Get a prompt from the platform.
- getPrompt(GetPromptParam) - Method in class com.coze.loop.client.CozeLoopClientImpl
-
- getPrompt(GetPromptParam) - Method in class com.coze.loop.prompt.PromptProvider
-
Get a prompt (with caching).
- getPromptCacheConfig() - Method in class com.coze.loop.config.CozeLoopConfig
-
- getPromptEndpoint() - Method in class com.coze.loop.config.CozeLoopConfig
-
Get prompt endpoint URL for fetching prompts (mget).
- getPromptKey() - Method in class com.coze.loop.entity.ExecuteParam
-
- getPromptKey() - Method in class com.coze.loop.entity.Prompt
-
- getPromptKey() - Method in class com.coze.loop.prompt.GetPromptParam
-
- GetPromptParam - Class in com.coze.loop.prompt
-
Parameters for getting a prompt.
- GetPromptParam() - Constructor for class com.coze.loop.prompt.GetPromptParam
-
- GetPromptParam.Builder - Class in com.coze.loop.prompt
-
- getPrompts() - Method in class com.coze.loop.spec.tracespec.PromptOutput
-
- getPromptTemplate() - Method in class com.coze.loop.entity.Prompt
-
- getPropagators() - Method in class com.coze.loop.trace.CozeLoopTracerProvider
-
Get the ContextPropagators configured for this SDK.
- getQuery() - Method in class com.coze.loop.spec.tracespec.RetrieverInput
-
- getReadTimeoutSeconds() - Method in class com.coze.loop.http.HttpConfig
-
- getReasoningContent() - Method in class com.coze.loop.entity.Message
-
- getReasoningContent() - Method in class com.coze.loop.spec.tracespec.ModelMessage
-
- getReasoningEffort() - Method in class com.coze.loop.spec.tracespec.ModelCallOption
-
- getRefreshAfterWriteMinutes() - Method in class com.coze.loop.prompt.PromptCache.PromptCacheConfig
-
- getRetry() - Method in class com.coze.loop.stream.ServerSentEvent
-
- getRole() - Method in class com.coze.loop.entity.Message
-
- getRole() - Method in class com.coze.loop.spec.tracespec.ModelMessage
-
- getScene() - Method in class com.coze.loop.spec.tracespec.Runtime
-
- getSceneVersion() - Method in class com.coze.loop.spec.tracespec.Runtime
-
- getScheduleDelayMillis() - Method in class com.coze.loop.trace.CozeLoopTracerProvider.TraceConfig
-
- getScore() - Method in class com.coze.loop.spec.tracespec.RetrieverDocument
-
- getServiceName() - Method in class com.coze.loop.config.CozeLoopConfig
-
- getSignature() - Method in class com.coze.loop.spec.tracespec.ModelMessage
-
- getSignature() - Method in class com.coze.loop.spec.tracespec.ModelMessagePart
-
- getSignature() - Method in class com.coze.loop.spec.tracespec.ModelToolCall
-
- getSource() - Method in class com.coze.loop.spec.tracespec.PromptArgument
-
- getSpanEndpoint() - Method in class com.coze.loop.config.CozeLoopConfig
-
Get span endpoint URL.
- getSpanID() - Method in class com.coze.loop.trace.CozeLoopSpan
-
Get the span ID for this span.
- getStop() - Method in class com.coze.loop.spec.tracespec.ModelCallOption
-
- getSuffix() - Method in class com.coze.loop.spec.tracespec.ModelFileURL
-
- getSync(String) - Method in class com.coze.loop.prompt.PromptCache
-
Get prompt from cache synchronously.
- getTemperature() - Method in class com.coze.loop.entity.LLMConfig
-
- getTemperature() - Method in class com.coze.loop.spec.tracespec.ModelCallOption
-
- getTemplates() - Method in class com.coze.loop.spec.tracespec.PromptInput
-
- getTemplateType() - Method in class com.coze.loop.entity.PromptTemplate
-
- getText() - Method in class com.coze.loop.entity.ContentPart
-
- getText() - Method in class com.coze.loop.spec.tracespec.ModelMessagePart
-
- getToken() - Method in interface com.coze.loop.auth.Auth
-
Get the authentication token.
- getToken() - Method in class com.coze.loop.auth.JWTOAuthAuth
-
- getToken() - Method in class com.coze.loop.auth.TokenAuth
-
- getToolCallConfig() - Method in class com.coze.loop.entity.Prompt
-
- getToolCallId() - Method in class com.coze.loop.entity.Message
-
- getToolCallID() - Method in class com.coze.loop.spec.tracespec.ModelMessage
-
- getToolCalls() - Method in class com.coze.loop.entity.Message
-
- getToolCalls() - Method in class com.coze.loop.spec.tracespec.ModelMessage
-
- getToolChoice() - Method in class com.coze.loop.entity.ToolCallConfig
-
- getTools() - Method in class com.coze.loop.entity.Prompt
-
- getTools() - Method in class com.coze.loop.spec.tracespec.ModelInput
-
- getTopK() - Method in class com.coze.loop.entity.LLMConfig
-
- getTopK() - Method in class com.coze.loop.spec.tracespec.ModelCallOption
-
- getTopK() - Method in class com.coze.loop.spec.tracespec.RetrieverCallOption
-
- getTopP() - Method in class com.coze.loop.entity.LLMConfig
-
- getTopP() - Method in class com.coze.loop.spec.tracespec.ModelCallOption
-
- getTraceConfig() - Method in class com.coze.loop.config.CozeLoopConfig
-
- getTraceID() - Method in class com.coze.loop.trace.CozeLoopSpan
-
Get the trace ID for this span.
- getTracePath() - Method in class com.coze.loop.config.CozeLoopConfig
-
- getTracer(String, String) - Method in class com.coze.loop.trace.CozeLoopTracerProvider
-
Get a Tracer for creating spans.
- getTracerProvider() - Method in class com.coze.loop.trace.CozeLoopTracerProvider
-
Get the underlying OpenTelemetry TracerProvider.
- getType() - Method in interface com.coze.loop.auth.Auth
-
Get the authentication type (e.g., "Bearer", "JWT").
- getType() - Method in class com.coze.loop.auth.JWTOAuthAuth
-
- getType() - Method in class com.coze.loop.auth.TokenAuth
-
- getType() - Method in class com.coze.loop.entity.ContentPart
-
- getType() - Method in class com.coze.loop.entity.Tool
-
- getType() - Method in class com.coze.loop.entity.ToolCall
-
- getType() - Method in class com.coze.loop.entity.VariableDef
-
- getType() - Method in class com.coze.loop.spec.tracespec.ModelMessagePart
-
- getType() - Method in class com.coze.loop.spec.tracespec.ModelTool
-
- getType() - Method in class com.coze.loop.spec.tracespec.ModelToolCall
-
- getType() - Method in class com.coze.loop.spec.tracespec.ModelToolChoice
-
- getUrl() - Method in class com.coze.loop.spec.tracespec.ModelAudioURL
-
- getUrl() - Method in class com.coze.loop.spec.tracespec.ModelFileURL
-
- getUrl() - Method in class com.coze.loop.spec.tracespec.ModelImageURL
-
- getUrl() - Method in class com.coze.loop.spec.tracespec.ModelVideoURL
-
- getUsage() - Method in class com.coze.loop.entity.ExecuteResult
-
- getUserAgent() - Static method in class com.coze.loop.internal.UserAgentUtils
-
Get the standard User-Agent string.
- getValue() - Method in enum com.coze.loop.entity.ContentType
-
- getValue() - Method in enum com.coze.loop.entity.Role
-
- getValue() - Method in enum com.coze.loop.entity.TemplateType
-
- getValue() - Method in enum com.coze.loop.entity.VariableType
-
- getValue() - Method in class com.coze.loop.prompt.VariableVal
-
- getValue() - Method in class com.coze.loop.spec.tracespec.PromptArgument
-
- getValue() - Method in enum com.coze.loop.trace.SpanFinishEvent
-
- getValueType() - Method in class com.coze.loop.spec.tracespec.PromptArgument
-
- getVariableDefs() - Method in class com.coze.loop.entity.PromptTemplate
-
- getVariableVals() - Method in class com.coze.loop.entity.ExecuteParam
-
- getVector() - Method in class com.coze.loop.spec.tracespec.RetrieverDocument
-
- getVersion() - Method in class com.coze.loop.entity.ExecuteParam
-
- getVersion() - Method in class com.coze.loop.entity.Prompt
-
- getVersion() - Method in class com.coze.loop.prompt.GetPromptParam
-
- getVideoURL() - Method in class com.coze.loop.spec.tracespec.ModelMessagePart
-
- getWorkspaceId() - Method in interface com.coze.loop.client.CozeLoopClient
-
Get the workspace ID.
- getWorkspaceId() - Method in class com.coze.loop.client.CozeLoopClientImpl
-
- getWorkspaceId() - Method in class com.coze.loop.config.CozeLoopConfig
-
- getWorkspaceId() - Method in class com.coze.loop.entity.Prompt
-
- getWriteTimeoutSeconds() - Method in class com.coze.loop.http.HttpConfig
-
- scheduleDelayMillis(long) - Method in class com.coze.loop.trace.CozeLoopTracerProvider.TraceConfig.Builder
-
- ServerSentEvent - Class in com.coze.loop.stream
-
Represents a Server-Sent Event (SSE).
- ServerSentEvent() - Constructor for class com.coze.loop.stream.ServerSentEvent
-
- ServerSentEvent(String, String, String, Integer) - Constructor for class com.coze.loop.stream.ServerSentEvent
-
- SERVICE_NAME - Static variable in class com.coze.loop.spec.tracespec.SpanKeys
-
- serviceName(String) - Method in class com.coze.loop.client.CozeLoopClientBuilder
-
Set service name (optional, default: "cozeloop-java-app").
- serviceName(String) - Method in class com.coze.loop.config.CozeLoopConfig.Builder
-
- SESSION_ID - Static variable in class com.coze.loop.spec.tracespec.SpanKeys
-
- setArguments(String) - Method in class com.coze.loop.entity.ToolCall.FunctionCall
-
- setArguments(String) - Method in class com.coze.loop.spec.tracespec.ModelToolCallFunction
-
- setArguments(List<PromptArgument>) - Method in class com.coze.loop.spec.tracespec.PromptInput
-
- setAudioURL(ModelAudioURL) - Method in class com.coze.loop.spec.tracespec.ModelMessagePart
-
- setBaggage(String, String) - Method in class com.coze.loop.trace.CozeLoopSpan
-
Set baggage for this span and future child spans.
- setBaggage(Map<String, String>) - Method in class com.coze.loop.trace.CozeLoopSpan
-
Set multiple baggage items.
- setBase64Data(String) - Method in class com.coze.loop.entity.ContentPart
-
- setBaseUrl(String) - Method in class com.coze.loop.auth.JWTOAuthAuth
-
Set the base URL for token refresh.
- setBaseUrl(String) - Method in class com.coze.loop.config.CozeLoopConfig
-
- setBatchSize(int) - Method in class com.coze.loop.trace.CozeLoopTracerProvider.TraceConfig
-
- setChoices(List<ModelChoice>) - Method in class com.coze.loop.spec.tracespec.ModelOutput
-
- setClient(CozeLoopClient) - Method in class com.coze.loop.prompt.PromptProvider
-
Set the client for tracing.
- setConnectTimeout(long, TimeUnit) - Method in class com.coze.loop.trace.CozeLoopSpanExporter.Builder
-
- setConnectTimeoutSeconds(int) - Method in class com.coze.loop.http.HttpConfig
-
- setContent(String) - Method in class com.coze.loop.entity.Message
-
- setContent(String) - Method in class com.coze.loop.spec.tracespec.ModelMessage
-
- setContent(String) - Method in class com.coze.loop.spec.tracespec.RetrieverDocument
-
- setData(String) - Method in class com.coze.loop.stream.ServerSentEvent
-
- setDeploymentEnv(String) - Method in class com.coze.loop.trace.CozeLoopSpan
-
Set deployment environment (e.g., "prod", "staging").
- setDesc(String) - Method in class com.coze.loop.entity.VariableDef
-
- setDescription(String) - Method in class com.coze.loop.entity.Tool.Function
-
- setDescription(String) - Method in class com.coze.loop.spec.tracespec.ModelToolFunction
-
- setDetail(String) - Method in class com.coze.loop.spec.tracespec.ModelFileURL
-
- setDetail(String) - Method in class com.coze.loop.spec.tracespec.ModelImageURL
-
- setDetailMsg(String) - Method in class com.coze.loop.trace.FinishEventInfo
-
- setDocuments(List<RetrieverDocument>) - Method in class com.coze.loop.spec.tracespec.RetrieverOutput
-
- setEndpoint(String) - Method in class com.coze.loop.trace.CozeLoopSpanExporter.Builder
-
- setError(Throwable) - Method in class com.coze.loop.trace.CozeLoopSpan
-
Set the error for this span.
- setEvent(String) - Method in class com.coze.loop.stream.ServerSentEvent
-
- setEventFail(boolean) - Method in class com.coze.loop.trace.FinishEventInfo
-
- setEventType(SpanFinishEvent) - Method in class com.coze.loop.trace.FinishEventInfo
-
- setExpireAfterWriteMinutes(long) - Method in class com.coze.loop.prompt.PromptCache.PromptCacheConfig
-
- setExportTimeoutMillis(long) - Method in class com.coze.loop.trace.CozeLoopTracerProvider.TraceConfig
-
- setExtra(Map<String, Object>) - Method in class com.coze.loop.spec.tracespec.Runtime
-
- setExtraParams(FinishEventInfo.FinishEventInfoExtra) - Method in class com.coze.loop.trace.FinishEventInfo
-
- setFileURL(ModelFileURL) - Method in class com.coze.loop.spec.tracespec.ModelMessagePart
-
- setFilter(String) - Method in class com.coze.loop.spec.tracespec.RetrieverCallOption
-
- setFinishEventProcessor(FinishEventProcessor) - Method in class com.coze.loop.trace.CozeLoopSpanExporter.Builder
-
- setFinishEventProcessor(FinishEventProcessor) - Method in class com.coze.loop.trace.CozeLoopTracerProvider.TraceConfig
-
- setFinishReason(String) - Method in class com.coze.loop.entity.ExecuteResult
-
- setFinishReason(String) - Method in class com.coze.loop.spec.tracespec.ModelChoice
-
- setFrequencyPenalty(Double) - Method in class com.coze.loop.entity.LLMConfig
-
- setFrequencyPenalty(Float) - Method in class com.coze.loop.spec.tracespec.ModelCallOption
-
- setFunction(Tool.Function) - Method in class com.coze.loop.entity.Tool
-
- setFunction(ModelToolFunction) - Method in class com.coze.loop.spec.tracespec.ModelTool
-
- setFunction(ModelToolCallFunction) - Method in class com.coze.loop.spec.tracespec.ModelToolCall
-
- setFunction(ModelToolCallFunction) - Method in class com.coze.loop.spec.tracespec.ModelToolChoice
-
- setFunctionCall(ToolCall.FunctionCall) - Method in class com.coze.loop.entity.ToolCall
-
- setHeaders(Supplier<Map<String, String>>) - Method in class com.coze.loop.trace.CozeLoopSpanExporter.Builder
-
- setHttpClient(HttpClient) - Method in class com.coze.loop.auth.JWTOAuthAuth
-
Set the HttpClient for token refresh.
- setHttpConfig(HttpConfig) - Method in class com.coze.loop.config.CozeLoopConfig
-
- setId(String) - Method in class com.coze.loop.entity.ToolCall
-
- setId(String) - Method in class com.coze.loop.spec.tracespec.ModelOutput
-
- setId(String) - Method in class com.coze.loop.spec.tracespec.ModelToolCall
-
- setId(String) - Method in class com.coze.loop.spec.tracespec.RetrieverDocument
-
- setId(String) - Method in class com.coze.loop.stream.ServerSentEvent
-
- setImageUrl(String) - Method in class com.coze.loop.entity.ContentPart
-
- setImageURL(ModelImageURL) - Method in class com.coze.loop.spec.tracespec.ModelMessagePart
-
- setIndex(int) - Method in class com.coze.loop.entity.ToolCall
-
- setIndex(Long) - Method in class com.coze.loop.spec.tracespec.ModelChoice
-
- setIndex(String) - Method in class com.coze.loop.spec.tracespec.RetrieverDocument
-
- setInput(Object) - Method in class com.coze.loop.trace.CozeLoopSpan
-
Set the input for this span.
- setInputTokens(int) - Method in class com.coze.loop.entity.TokenUsage
-
- setInputTokens(long) - Method in class com.coze.loop.trace.CozeLoopSpan
-
Set input tokens.
- setItemNum(int) - Method in class com.coze.loop.trace.FinishEventInfo
-
- setJsonMode(Boolean) - Method in class com.coze.loop.entity.LLMConfig
-
- setKeepAliveDurationMinutes(int) - Method in class com.coze.loop.http.HttpConfig
-
- setKey(String) - Method in class com.coze.loop.entity.VariableDef
-
- setKey(String) - Method in class com.coze.loop.prompt.VariableVal
-
- setKey(String) - Method in class com.coze.loop.spec.tracespec.PromptArgument
-
- setLabel(String) - Method in class com.coze.loop.entity.ExecuteParam
-
- setLabel(String) - Method in class com.coze.loop.prompt.GetPromptParam
-
- setLanguage(String) - Method in class com.coze.loop.spec.tracespec.Runtime
-
- setLatencyMs(long) - Method in class com.coze.loop.trace.FinishEventInfo.FinishEventInfoExtra
-
- setLibrary(String) - Method in class com.coze.loop.spec.tracespec.Runtime
-
- setLibraryVersion(String) - Method in class com.coze.loop.spec.tracespec.Runtime
-
- setLlmConfig(LLMConfig) - Method in class com.coze.loop.entity.Prompt
-
- setLogID(String) - Method in class com.coze.loop.trace.CozeLoopSpan
-
Set log ID for this span.
- setLoopSDKVersion(String) - Method in class com.coze.loop.spec.tracespec.Runtime
-
- setMaxIdleConnections(int) - Method in class com.coze.loop.http.HttpConfig
-
- setMaxQueueSize(int) - Method in class com.coze.loop.trace.CozeLoopTracerProvider.TraceConfig
-
- setMaxRetries(int) - Method in class com.coze.loop.http.HttpConfig
-
- setMaxSize(long) - Method in class com.coze.loop.prompt.PromptCache.PromptCacheConfig
-
- setMaxTokens(Integer) - Method in class com.coze.loop.entity.LLMConfig
-
- setMaxTokens(Long) - Method in class com.coze.loop.spec.tracespec.ModelCallOption
-
- setMessage(Message) - Method in class com.coze.loop.entity.ExecuteResult
-
- setMessage(ModelMessage) - Method in class com.coze.loop.spec.tracespec.ModelChoice
-
- setMessageID(String) - Method in class com.coze.loop.trace.CozeLoopSpan
-
Set message_id for this span.
- setMessageIDBaggage(String) - Method in class com.coze.loop.trace.CozeLoopSpan
-
Set message_id baggage for this span and future child spans.
- setMessages(List<Message>) - Method in class com.coze.loop.entity.ExecuteParam
-
- setMessages(List<Message>) - Method in class com.coze.loop.entity.PromptTemplate
-
- setMessages(List<ModelMessage>) - Method in class com.coze.loop.spec.tracespec.ModelInput
-
- setMetadata(Map<String, String>) - Method in class com.coze.loop.spec.tracespec.ModelMessage
-
- setMinScore(Double) - Method in class com.coze.loop.spec.tracespec.RetrieverCallOption
-
- setModelFrequencyPenalty(Double) - Method in class com.coze.loop.trace.CozeLoopSpan
-
Set model frequency_penalty.
- setModelMaxTokens(Integer) - Method in class com.coze.loop.trace.CozeLoopSpan
-
Set model max_tokens.
- setModelName(String) - Method in class com.coze.loop.trace.CozeLoopSpan
-
Set model name.
- setModelPresencePenalty(Double) - Method in class com.coze.loop.trace.CozeLoopSpan
-
Set model presence_penalty.
- setModelProvider(String) - Method in class com.coze.loop.trace.CozeLoopSpan
-
Set model provider (e.g., "openai", "anthropic").
- setModelStopSequences(List<String>) - Method in class com.coze.loop.trace.CozeLoopSpan
-
Set model stop_sequences.
- setModelTemperature(Double) - Method in class com.coze.loop.trace.CozeLoopSpan
-
Set model temperature.
- setModelToolChoice(ModelToolChoice) - Method in class com.coze.loop.spec.tracespec.ModelInput
-
- setModelTopK(Integer) - Method in class com.coze.loop.trace.CozeLoopSpan
-
Set model top_k.
- setModelTopP(Double) - Method in class com.coze.loop.trace.CozeLoopSpan
-
Set model top_p.
- setMultiPartValues(List<ContentPart>) - Method in class com.coze.loop.prompt.VariableVal
-
- setN(Long) - Method in class com.coze.loop.spec.tracespec.ModelCallOption
-
- setName(String) - Method in class com.coze.loop.entity.Tool.Function
-
- setName(String) - Method in class com.coze.loop.entity.ToolCall.FunctionCall
-
- setName(String) - Method in class com.coze.loop.spec.tracespec.ModelAudioURL
-
- setName(String) - Method in class com.coze.loop.spec.tracespec.ModelFileURL
-
- setName(String) - Method in class com.coze.loop.spec.tracespec.ModelImageURL
-
- setName(String) - Method in class com.coze.loop.spec.tracespec.ModelMessage
-
- setName(String) - Method in class com.coze.loop.spec.tracespec.ModelToolCallFunction
-
- setName(String) - Method in class com.coze.loop.spec.tracespec.ModelToolFunction
-
- setName(String) - Method in class com.coze.loop.spec.tracespec.ModelVideoURL
-
- setOutput(Object) - Method in class com.coze.loop.trace.CozeLoopSpan
-
Set the output for this span.
- setOutputTokens(int) - Method in class com.coze.loop.entity.TokenUsage
-
- setOutputTokens(long) - Method in class com.coze.loop.trace.CozeLoopSpan
-
Set output tokens.
- setParameters(String) - Method in class com.coze.loop.entity.Tool.Function
-
- setParameters(Object) - Method in class com.coze.loop.spec.tracespec.ModelToolFunction
-
- setParts(List<ContentPart>) - Method in class com.coze.loop.entity.Message
-
- setParts(List<ModelMessagePart>) - Method in class com.coze.loop.spec.tracespec.ModelMessage
-
- setPlaceholderMessages(List<Message>) - Method in class com.coze.loop.prompt.VariableVal
-
- setPresencePenalty(Double) - Method in class com.coze.loop.entity.LLMConfig
-
- setPresencePenalty(Float) - Method in class com.coze.loop.spec.tracespec.ModelCallOption
-
- setPreviousResponseID(String) - Method in class com.coze.loop.spec.tracespec.ModelInput
-
- setPromptCacheConfig(PromptCache.PromptCacheConfig) - Method in class com.coze.loop.config.CozeLoopConfig
-
- setPromptKey(String) - Method in class com.coze.loop.entity.ExecuteParam
-
- setPromptKey(String) - Method in class com.coze.loop.entity.Prompt
-
- setPromptKey(String) - Method in class com.coze.loop.prompt.GetPromptParam
-
- setPrompts(List<ModelMessage>) - Method in class com.coze.loop.spec.tracespec.PromptOutput
-
- setPromptTemplate(PromptTemplate) - Method in class com.coze.loop.entity.Prompt
-
- setQuery(String) - Method in class com.coze.loop.spec.tracespec.RetrieverInput
-
- setReadTimeout(long, TimeUnit) - Method in class com.coze.loop.trace.CozeLoopSpanExporter.Builder
-
- setReadTimeoutSeconds(int) - Method in class com.coze.loop.http.HttpConfig
-
- setReasoningContent(String) - Method in class com.coze.loop.entity.Message
-
- setReasoningContent(String) - Method in class com.coze.loop.spec.tracespec.ModelMessage
-
- setReasoningEffort(String) - Method in class com.coze.loop.spec.tracespec.ModelCallOption
-
- setRefreshAfterWriteMinutes(long) - Method in class com.coze.loop.prompt.PromptCache.PromptCacheConfig
-
- setRetry(Integer) - Method in class com.coze.loop.stream.ServerSentEvent
-
- setRole(Role) - Method in class com.coze.loop.entity.Message
-
- setRole(String) - Method in class com.coze.loop.spec.tracespec.ModelMessage
-
- setRootSpan(boolean) - Method in class com.coze.loop.trace.FinishEventInfo.FinishEventInfoExtra
-
- setRuntime(Runtime) - Method in class com.coze.loop.trace.CozeLoopSpan
-
Set runtime data.
- setScene(String) - Method in class com.coze.loop.spec.tracespec.Runtime
-
- setSceneVersion(String) - Method in class com.coze.loop.spec.tracespec.Runtime
-
- setScheduleDelayMillis(long) - Method in class com.coze.loop.trace.CozeLoopTracerProvider.TraceConfig
-
- setScore(Double) - Method in class com.coze.loop.spec.tracespec.RetrieverDocument
-
- setServiceName(String) - Method in class com.coze.loop.config.CozeLoopConfig
-
- setServiceName(String) - Method in class com.coze.loop.trace.CozeLoopSpan
-
Set service name for this span.
- setSignature(String) - Method in class com.coze.loop.spec.tracespec.ModelMessage
-
- setSignature(String) - Method in class com.coze.loop.spec.tracespec.ModelMessagePart
-
- setSignature(String) - Method in class com.coze.loop.spec.tracespec.ModelToolCall
-
- setSource(String) - Method in class com.coze.loop.spec.tracespec.PromptArgument
-
- setStartTimeFirstResp(long) - Method in class com.coze.loop.trace.CozeLoopSpan
-
Set start time (Not duration!)
- setStatusCode(int) - Method in class com.coze.loop.trace.CozeLoopSpan
-
Set status code (0=OK, other=ERROR).
- setStop(List<String>) - Method in class com.coze.loop.spec.tracespec.ModelCallOption
-
- setSuffix(String) - Method in class com.coze.loop.spec.tracespec.ModelFileURL
-
- setTag(String, String) - Method in class com.coze.loop.trace.CozeLoopSpan
-
Set custom attribute (string).
- setTag(String, long) - Method in class com.coze.loop.trace.CozeLoopSpan
-
Set custom attribute (long).
- setTag(String, double) - Method in class com.coze.loop.trace.CozeLoopSpan
-
Set custom attribute (double).
- setTag(String, boolean) - Method in class com.coze.loop.trace.CozeLoopSpan
-
Set custom attribute (boolean).
- setTags(Map<String, String>) - Method in class com.coze.loop.trace.CozeLoopSpan
-
Set multiple tags/attributes at once.
- setTemperature(Double) - Method in class com.coze.loop.entity.LLMConfig
-
- setTemperature(Float) - Method in class com.coze.loop.spec.tracespec.ModelCallOption
-
- setTemplates(List<ModelMessage>) - Method in class com.coze.loop.spec.tracespec.PromptInput
-
- setTemplateType(TemplateType) - Method in class com.coze.loop.entity.PromptTemplate
-
- setText(String) - Method in class com.coze.loop.entity.ContentPart
-
- setText(String) - Method in class com.coze.loop.spec.tracespec.ModelMessagePart
-
- setThreadID(String) - Method in class com.coze.loop.trace.CozeLoopSpan
-
Set thread_id for this span.
- setThreadIDBaggage(String) - Method in class com.coze.loop.trace.CozeLoopSpan
-
Set thread_id baggage for this span and future child spans.
- setToolCallConfig(ToolCallConfig) - Method in class com.coze.loop.entity.Prompt
-
- setToolCallId(String) - Method in class com.coze.loop.entity.Message
-
- setToolCallID(String) - Method in class com.coze.loop.spec.tracespec.ModelMessage
-
- setToolCalls(List<ToolCall>) - Method in class com.coze.loop.entity.Message
-
- setToolCalls(List<ModelToolCall>) - Method in class com.coze.loop.spec.tracespec.ModelMessage
-
- setToolChoice(String) - Method in class com.coze.loop.entity.ToolCallConfig
-
- setTools(List<Tool>) - Method in class com.coze.loop.entity.Prompt
-
- setTools(List<ModelTool>) - Method in class com.coze.loop.spec.tracespec.ModelInput
-
- setTopK(Integer) - Method in class com.coze.loop.entity.LLMConfig
-
- setTopK(Long) - Method in class com.coze.loop.spec.tracespec.ModelCallOption
-
- setTopK(Long) - Method in class com.coze.loop.spec.tracespec.RetrieverCallOption
-
- setTopP(Double) - Method in class com.coze.loop.entity.LLMConfig
-
- setTopP(Float) - Method in class com.coze.loop.spec.tracespec.ModelCallOption
-
- setTraceConfig(CozeLoopTracerProvider.TraceConfig) - Method in class com.coze.loop.config.CozeLoopConfig
-
- setTracePath(String) - Method in class com.coze.loop.config.CozeLoopConfig
-
- setType(ContentType) - Method in class com.coze.loop.entity.ContentPart
-
- setType(String) - Method in class com.coze.loop.entity.Tool
-
- setType(String) - Method in class com.coze.loop.entity.ToolCall
-
- setType(VariableType) - Method in class com.coze.loop.entity.VariableDef
-
- setType(String) - Method in class com.coze.loop.spec.tracespec.ModelMessagePart
-
- setType(String) - Method in class com.coze.loop.spec.tracespec.ModelTool
-
- setType(String) - Method in class com.coze.loop.spec.tracespec.ModelToolCall
-
- setType(String) - Method in class com.coze.loop.spec.tracespec.ModelToolChoice
-
- setUrl(String) - Method in class com.coze.loop.spec.tracespec.ModelAudioURL
-
- setUrl(String) - Method in class com.coze.loop.spec.tracespec.ModelFileURL
-
- setUrl(String) - Method in class com.coze.loop.spec.tracespec.ModelImageURL
-
- setUrl(String) - Method in class com.coze.loop.spec.tracespec.ModelVideoURL
-
- setUsage(TokenUsage) - Method in class com.coze.loop.entity.ExecuteResult
-
- setUserID(String) - Method in class com.coze.loop.trace.CozeLoopSpan
-
Set user_id for this span.
- setUserIDBaggage(String) - Method in class com.coze.loop.trace.CozeLoopSpan
-
Set user_id baggage for this span and future child spans.
- setValue(String) - Method in class com.coze.loop.prompt.VariableVal
-
- setValue(Object) - Method in class com.coze.loop.spec.tracespec.PromptArgument
-
- setValueType(String) - Method in class com.coze.loop.spec.tracespec.PromptArgument
-
- setVariableDefs(List<VariableDef>) - Method in class com.coze.loop.entity.PromptTemplate
-
- setVariableVals(Map<String, Object>) - Method in class com.coze.loop.entity.ExecuteParam
-
- setVector(List<Double>) - Method in class com.coze.loop.spec.tracespec.RetrieverDocument
-
- setVersion(String) - Method in class com.coze.loop.entity.ExecuteParam
-
- setVersion(String) - Method in class com.coze.loop.entity.Prompt
-
- setVersion(String) - Method in class com.coze.loop.prompt.GetPromptParam
-
- setVideoURL(ModelVideoURL) - Method in class com.coze.loop.spec.tracespec.ModelMessagePart
-
- setWorkspaceId(String) - Method in class com.coze.loop.config.CozeLoopConfig
-
- setWorkspaceId(String) - Method in class com.coze.loop.entity.Prompt
-
- setWriteTimeout(long, TimeUnit) - Method in class com.coze.loop.trace.CozeLoopSpanExporter.Builder
-
- setWriteTimeoutSeconds(int) - Method in class com.coze.loop.http.HttpConfig
-
- shutdown() - Method in interface com.coze.loop.client.CozeLoopClient
-
Shutdown the client and release resources.
- shutdown() - Method in class com.coze.loop.client.CozeLoopClientImpl
-
- shutdown() - Method in class com.coze.loop.trace.CozeLoopSpanExporter
-
- shutdown() - Method in class com.coze.loop.trace.CozeLoopTracerProvider
-
Shutdown the tracer provider and flush all pending spans.
- SPAN_TYPE - Static variable in class com.coze.loop.spec.tracespec.SpanKeys
-
- spanExportScheduleDelay(long) - Method in class com.coze.loop.client.CozeLoopClientBuilder
-
Set schedule delay between batch exports in milliseconds (default: 1000).
- spanExportTimeout(long) - Method in class com.coze.loop.client.CozeLoopClientBuilder
-
Set span exporter timeout in milliseconds (default: 3000).
- SpanFinishEvent - Enum in com.coze.loop.trace
-
- SpanKeys - Class in com.coze.loop.spec.tracespec
-
SpanKeys contains constant keys for span tags.
- SpanValues - Class in com.coze.loop.spec.tracespec
-
SpanValues contains constant values for span tags.
- SSEDecoder - Class in com.coze.loop.stream
-
Decoder for Server-Sent Events (SSE).
- SSEDecoder(InputStream) - Constructor for class com.coze.loop.stream.SSEDecoder
-
- SSEParser<T> - Interface in com.coze.loop.stream
-
Parser interface for converting SSE events into specific types.
- startSpan(String) - Method in interface com.coze.loop.client.CozeLoopClient
-
Start a new span with default type "custom".
- startSpan(String, String) - Method in interface com.coze.loop.client.CozeLoopClient
-
Start a new span with specified type.
- startSpan(String, String, String) - Method in interface com.coze.loop.client.CozeLoopClient
-
- startSpan(String, String, CozeLoopSpan) - Method in interface com.coze.loop.client.CozeLoopClient
-
Start a new span with specified type.
- startSpan(String, String, CozeLoopSpan, String) - Method in interface com.coze.loop.client.CozeLoopClient
-
- startSpan(String, String, CozeLoopContext) - Method in interface com.coze.loop.client.CozeLoopClient
-
Start a new span with specified type and parent context.
- startSpan(String, String, CozeLoopContext, String) - Method in interface com.coze.loop.client.CozeLoopClient
-
- startSpan(String) - Method in class com.coze.loop.client.CozeLoopClientImpl
-
- startSpan(String, String) - Method in class com.coze.loop.client.CozeLoopClientImpl
-
- startSpan(String, String, String) - Method in class com.coze.loop.client.CozeLoopClientImpl
-
- startSpan(String, String, CozeLoopSpan) - Method in class com.coze.loop.client.CozeLoopClientImpl
-
- startSpan(String, String, CozeLoopSpan, String) - Method in class com.coze.loop.client.CozeLoopClientImpl
-
- startSpan(String, String, CozeLoopContext) - Method in class com.coze.loop.client.CozeLoopClientImpl
-
- startSpan(String, String, CozeLoopContext, String) - Method in class com.coze.loop.client.CozeLoopClientImpl
-
- stats() - Method in class com.coze.loop.prompt.PromptCache
-
Get cache statistics.
- STREAM - Static variable in class com.coze.loop.spec.tracespec.SpanKeys
-
- StreamReader<T> - Class in com.coze.loop.stream
-
Stream reader for reading typed objects from an SSE stream.
- StreamReader(SSEDecoder, SSEParser<T>) - Constructor for class com.coze.loop.stream.StreamReader
-
- V_ERR_DEFAULT - Static variable in class com.coze.loop.spec.tracespec.SpanValues
-
- V_LANG_GO - Static variable in class com.coze.loop.spec.tracespec.SpanValues
-
- V_LANG_JAVA - Static variable in class com.coze.loop.spec.tracespec.SpanValues
-
- V_LANG_PYTHON - Static variable in class com.coze.loop.spec.tracespec.SpanValues
-
- V_LANG_TYPE_SCRIPT - Static variable in class com.coze.loop.spec.tracespec.SpanValues
-
- V_LIB_EINO - Static variable in class com.coze.loop.spec.tracespec.SpanValues
-
- V_LIB_LANG_CHAIN - Static variable in class com.coze.loop.spec.tracespec.SpanValues
-
- V_LIB_OPENTELEMETRY - Static variable in class com.coze.loop.spec.tracespec.SpanValues
-
- V_MODEL_SPAN_TYPE - Static variable in class com.coze.loop.spec.tracespec.SpanValues
-
- V_PROMPT_ARG_SOURCE_INPUT - Static variable in class com.coze.loop.spec.tracespec.SpanValues
-
- V_PROMPT_ARG_SOURCE_PARTIAL - Static variable in class com.coze.loop.spec.tracespec.SpanValues
-
- V_PROMPT_EXECUTE_SPAN_TYPE - Static variable in class com.coze.loop.spec.tracespec.SpanValues
-
- V_PROMPT_EXECUTE_STREAMING_SPAN_TYPE - Static variable in class com.coze.loop.spec.tracespec.SpanValues
-
- V_PROMPT_HUB_SPAN_TYPE - Static variable in class com.coze.loop.spec.tracespec.SpanValues
-
- V_PROMPT_TEMPLATE_SPAN_TYPE - Static variable in class com.coze.loop.spec.tracespec.SpanValues
-
- V_RETRIEVER_SPAN_TYPE - Static variable in class com.coze.loop.spec.tracespec.SpanValues
-
- V_ROLE_ASSISTANT - Static variable in class com.coze.loop.spec.tracespec.SpanValues
-
- V_ROLE_SYSTEM - Static variable in class com.coze.loop.spec.tracespec.SpanValues
-
- V_ROLE_TOOL - Static variable in class com.coze.loop.spec.tracespec.SpanValues
-
- V_ROLE_USER - Static variable in class com.coze.loop.spec.tracespec.SpanValues
-
- V_SCENE_CUSTOM - Static variable in class com.coze.loop.spec.tracespec.SpanValues
-
- V_SCENE_INTEGRATION - Static variable in class com.coze.loop.spec.tracespec.SpanValues
-
- V_SCENE_PROMPT_EXECUTE - Static variable in class com.coze.loop.spec.tracespec.SpanValues
-
- V_SCENE_PROMPT_EXECUTE_STREAMING - Static variable in class com.coze.loop.spec.tracespec.SpanValues
-
- V_SCENE_PROMPT_HUB - Static variable in class com.coze.loop.spec.tracespec.SpanValues
-
- V_SCENE_PROMPT_TEMPLATE - Static variable in class com.coze.loop.spec.tracespec.SpanValues
-
- V_TOOL_CHOICE_AUTO - Static variable in class com.coze.loop.spec.tracespec.SpanValues
-
- V_TOOL_CHOICE_FUNCTION - Static variable in class com.coze.loop.spec.tracespec.SpanValues
-
- V_TOOL_CHOICE_NONE - Static variable in class com.coze.loop.spec.tracespec.SpanValues
-
- V_TOOL_CHOICE_REQUIRED - Static variable in class com.coze.loop.spec.tracespec.SpanValues
-
- V_TOOL_SPAN_TYPE - Static variable in class com.coze.loop.spec.tracespec.SpanValues
-
- validate(Map<String, Object>, List<VariableDef>) - Method in class com.coze.loop.prompt.VariableValidator
-
Validate variables against their definitions.
- ValidationUtils - Class in com.coze.loop.internal
-
Validation utility class.
- value(String) - Method in class com.coze.loop.prompt.VariableVal.Builder
-
- valueOf(String) - Static method in enum com.coze.loop.entity.ContentType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.coze.loop.entity.Role
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.coze.loop.entity.TemplateType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.coze.loop.entity.VariableType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.coze.loop.exception.ErrorCode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.coze.loop.trace.SpanFinishEvent
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.coze.loop.entity.ContentType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.coze.loop.entity.Role
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.coze.loop.entity.TemplateType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.coze.loop.entity.VariableType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.coze.loop.exception.ErrorCode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.coze.loop.trace.SpanFinishEvent
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- VariableDef - Class in com.coze.loop.entity
-
Variable definition in a prompt template.
- VariableDef() - Constructor for class com.coze.loop.entity.VariableDef
-
- VariableDef(String, VariableType) - Constructor for class com.coze.loop.entity.VariableDef
-
- VariableType - Enum in com.coze.loop.entity
-
Variable type enum.
- VariableVal - Class in com.coze.loop.prompt
-
Variable value for Execute request.
- VariableVal() - Constructor for class com.coze.loop.prompt.VariableVal
-
- VariableVal(String) - Constructor for class com.coze.loop.prompt.VariableVal
-
- VariableVal.Builder - Class in com.coze.loop.prompt
-
- VariableValidator - Class in com.coze.loop.prompt
-
Validator for prompt variables.
- VariableValidator() - Constructor for class com.coze.loop.prompt.VariableValidator
-
- variableVals(Map<String, Object>) - Method in class com.coze.loop.entity.ExecuteParam.Builder
-
- version(String) - Method in class com.coze.loop.entity.ExecuteParam.Builder
-
- version(String) - Method in class com.coze.loop.entity.Prompt.Builder
-
- Version - Static variable in class com.coze.loop.internal.Constants
-
- version(String) - Method in class com.coze.loop.prompt.GetPromptParam.Builder
-
- VIKING_DB_NAME - Static variable in class com.coze.loop.spec.tracespec.SpanKeys
-
- VIKING_DB_REGION - Static variable in class com.coze.loop.spec.tracespec.SpanKeys
-