content: /*
   *  Copyright (c) 2023-2025, Agents-Flex (fuhai999@gmail.com).
   *  <p>
   *  Licensed under the Apache License, Version 2.0 (the "License");
   *  you may not use this file except in compliance with the License.
   *  You may obtain a copy of the License at
   *  <p>
   *  http://www.apache.org/licenses/LICENSE-2.0
   *  <p>
   *  Unless required by applicable law or agreed to in writing, software
   *  distributed under the License is distributed on an "AS IS" BASIS,
   *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   *  See the License for the specific language governing permissions and
   *  limitations under the License.
   */
  package com.agentsflex.spring.boot.store.chroma;
  
  import org.springframework.boot.context.properties.ConfigurationProperties;
  
  /**
   * Chroma配置属性类
   *
   * @author agents-flex
   */
  @ConfigurationProperties(prefix = "agents-flex.store.chroma")
  public class ChromaProperties {
  
      private String host = "localhost";
      
      private int port = 8000;
      
      private String collectionName = "default_collection";
      
      private boolean autoCreateCollection = true;
      
      private String apiKey;
      
      private String tenant = "default_tenant";
      
      private String database = "default_database";
  
      public String getHost() {
          return host;
      }
  
      public void setHost(String host) {
          this.host = host;
      }
  
      public int getPort() {
          return port;
      }
  
      public void setPort(int port) {
          this.port = port;
      }
  
      public String getCollectionName() {
          return collectionName;
      }
  
      public void setCollectionName(String collectionName) {
          this.collectionName = collectionName;
      }
  
      public boolean isAutoCreateCollection() {
          return autoCreateCollection;
      }
  
      public void setAutoCreateCollection(boolean autoCreateCollection) {
          this.autoCreateCollection = autoCreateCollection;
      }
  
      public String getApiKey() {
          return apiKey;
      }
  
      public void setApiKey(String apiKey) {
          this.apiKey = apiKey;
      }
  
      public String getTenant() {
          return tenant;
      }
  
      public void setTenant(String tenant) {
          this.tenant = tenant;
      }
  
      public String getDatabase() {
          return database;
      }
  
      public void setDatabase(String database) {
          this.database = database;
      }
  }