class Builder {
        private String prompt;
        private Boolean stream;
        private String userId;

        private  Double temperature;
        private  Integer topK;

        private  Double topP;
        private  Double penaltyScore;

        private  List<String> stop;
        private Builder() {

        }

        public Builder from(
                CompletionRequest request) {<FILL_FUNCTION_BODY>}

        public Builder temperature(Double temperature) {
            this.temperature = temperature;
            return this;
        }

        public Builder topK(Integer topK) {
            this.topK = topK;
            return this;
        }


        public Builder topP(Double topP) {
            this.topP = topP;
            return this;
        }

        public Builder penaltyScore(Double penaltyScore) {
            this.penaltyScore = penaltyScore;
            return this;
        }
        public Builder prompt(String prompt) {
            this.prompt = prompt;
            return this;
        }

        public Builder stream(Boolean stream) {
            this.stream = stream;
            return this;
        }

        public Builder user(String userId) {
            this.userId = userId;
            return this;
        }

        public CompletionRequest build() {
            return new CompletionRequest(this);
        }
    }

            this.prompt(request.prompt);
            this.stream(request.stream);
            this.user(request.userId);
            this.prompt(request.prompt);
            this.stream(request.stream);
            this.user(request.userId);
            this.temperature(request.temperature);
            this.topK(request.topK);
            this.topP(request.topP);
            this.penaltyScore(request.penaltyScore);

            return this;
        
<no_super_class>