AINPC-Embedding
    AINPC-Embedding
    • tests
    • get_model_types
      GET
    • embeddings
      POST
    • get_collection_config
      GET

      get_collection_config

      Developing
      GET
      /v1/get_collection_config

      Request

      None

      Request samples

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request GET '/v1/get_collection_config'

      Responses

      🟢200OK
      application/json
      Body
      array of:
      embedding_model_type
      string 
      required
      knowledge_db_path
      string 
      required
      conversation_history_db_path
      string 
      required
      embedding_model_path
      string 
      required
      knowledge_collection
      object 
      required
      name
      string 
      required
      id
      string 
      required
      metadata
      null 
      required
      history_collection
      object 
      required
      name
      string 
      required
      id
      string 
      required
      metadata
      null 
      required
      model_index
      integer 
      required
      Example
      [{"embedding_model_type":"default","knowledge_db_path":"/workspace/embedding_server/databases/knowledge_default","conversation_history_db_path":"/workspace/embedding_server/databases/conversation_history_default","embedding_model_path":"/workspace/embedding_server/embedding_models/sentence-transformers_all-MiniLM-L6-v2","knowledge_collection":{"name":"knowledge_default","id":"c11bf9dc-527d-46ab-8d8f-d926bb8ee8b5","metadata":null},"history_collection":{"name":"conversation_history_default","id":"4b235ffd-c9d6-4158-aca8-d7db386ff981","metadata":null}},{"embedding_model_type":"custom","knowledge_db_path":"/workspace/embedding_server/databases/knowledge_all-mpnet-base-v2","conversation_history_db_path":"/workspace/embedding_server/databases/conversation_history_all-mpnet-base-v2","embedding_model_path":"/workspace/embedding_server/embedding_models/all-mpnet-base-v2","model_index":0,"knowledge_collection":{"name":"knowledge_all-mpnet-base-v2","id":"1b9ec83e-68bc-4c9b-826f-12039030aa13","metadata":null},"history_collection":{"name":"conversation_history_all-mpnet-base-v2","id":"d1bed4a3-6d08-4dc9-891a-ce96df2ebb99","metadata":null}},{"embedding_model_type":"custom","knowledge_db_path":"/workspace/embedding_server/databases/knowledge_all-MiniLM-L12-v2","conversation_history_db_path":"/workspace/embedding_server/databases/conversation_history_all-MiniLM-L12-v2","embedding_model_path":"/workspace/embedding_server/embedding_models/all-MiniLM-L12-v2","model_index":1,"knowledge_collection":{"name":"knowledge_all-MiniLM-L12-v2","id":"b55f80e7-5bab-4e9e-b273-08f272352b57","metadata":null},"history_collection":{"name":"conversation_history_all-MiniLM-L12-v2","id":"3e21923d-5943-40e2-b4a8-fee4b11700b3","metadata":null}}]
      Modified at 2024-04-13 14:42:47
      Previous
      embeddings
      Built with