diff --git a/README.md b/README.md index da1c440..4ec8fb6 100755 --- a/README.md +++ b/README.md @@ -104,9 +104,10 @@ Sometimes, the API may support other properties that are not yet supported in th you can attach them using the `putAdditionalProperty` method. ```java +import com.openlayer.api.models.core.JsonValue; InferencePipelineDataStreamParams params = InferencePipelineDataStreamParams.builder() // ... normal properties - .putAdditionalProperty("secret_param", "4242") + .putAdditionalProperty("secret_param", JsonValue.from("4242")) .build(); ```