Class LlmConnection
java.lang.Object
com.langfuse.client.resources.llmconnections.types.LlmConnection
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfacestatic final classstatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interface -
Method Summary
Modifier and TypeMethodDescriptionstatic LlmConnection.IdStagebuilder()booleangetId()booleaninthashCode()toString()
-
Method Details
-
getId
-
getProvider
- Returns:
- Provider name (e.g., 'openai', 'my-gateway'). Must be unique in project, used for upserting.
-
getAdapter
- Returns:
- The adapter used to interface with the LLM
-
getDisplaySecretKey
- Returns:
- Masked version of the secret key for display purposes
-
getBaseUrl
- Returns:
- Custom base URL for the LLM API
-
getCustomModels
- Returns:
- List of custom model names available for this connection
-
getWithDefaultModels
public boolean getWithDefaultModels()- Returns:
- Whether to include default models for this adapter
-
getExtraHeaderKeys
- Returns:
- Keys of extra headers sent with requests (values excluded for security)
-
getConfig
- Returns:
- Adapter-specific configuration. Required for Bedrock (
{"region":"us-east-1"}), optional for VertexAI ({"location":"us-central1"}), not used by other adapters.
-
getCreatedAt
-
getUpdatedAt
-
equals
-
getAdditionalProperties
-
hashCode
public int hashCode() -
toString
-
builder
-