All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.agentsflex.spring.boot.llm.moonshot.MoonshotProperties Maven / Gradle / Ivy

There is a newer version: 1.0.0-rc.2
Show newest version
package com.agentsflex.spring.boot.llm.moonshot;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author lidong
 * @since 2024-06-25
 */
@ConfigurationProperties(prefix = "agents-flex.llm.moonshot")
public class MoonshotProperties {

    private String model = "moonshot-v1-8k";
    private String endpoint = "https://api.moonshot.cn";
    private String apiKey;

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getEndpoint() {
        return endpoint;
    }

    public void setEndpoint(String endpoint) {
        this.endpoint = endpoint;
    }

    public String getApiKey() {
        return apiKey;
    }

    public void setApiKey(String apiKey) {
        this.apiKey = apiKey;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy