createNamespace
Create a new namespace by defining configurations for file storage, vector storage, and embedding models. Facilitates organized content management and semantic search capabilities within the SourceSync.ai MCP Server.
Instructions
Creates a new namespace with the provided configuration. Requires a name, file storage configuration, vector storage configuration, and embedding model configuration.
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| embeddingModelConfig | Yes | ||
| fileStorageConfig | Yes | ||
| name | Yes | ||
| tenantId | No | ||
| vectorStorageConfig | Yes | ||
| webScraperConfig | No | 
Input Schema (JSON Schema)
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false,
  "properties": {
    "embeddingModelConfig": {
      "anyOf": [
        {
          "additionalProperties": false,
          "properties": {
            "apiKey": {
              "type": "string"
            },
            "model": {
              "enum": [
                "text-embedding-3-small",
                "text-embedding-3-large",
                "text-embedding-ada-002"
              ],
              "type": "string"
            },
            "provider": {
              "const": "OPENAI",
              "type": "string"
            }
          },
          "required": [
            "provider",
            "model",
            "apiKey"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "apiKey": {
              "type": "string"
            },
            "model": {
              "enum": [
                "embed-english-v3.0",
                "embed-multilingual-v3.0",
                "embed-english-light-v3.0",
                "embed-multilingual-light-v3.0",
                "embed-english-v2.0",
                "embed-english-light-v2.0",
                "embed-multilingual-v2.0"
              ],
              "type": "string"
            },
            "provider": {
              "const": "COHERE",
              "type": "string"
            }
          },
          "required": [
            "provider",
            "model",
            "apiKey"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "apiKey": {
              "type": "string"
            },
            "model": {
              "enum": [
                "jina-embeddings-v3"
              ],
              "type": "string"
            },
            "provider": {
              "const": "JINA",
              "type": "string"
            }
          },
          "required": [
            "provider",
            "model",
            "apiKey"
          ],
          "type": "object"
        }
      ]
    },
    "fileStorageConfig": {
      "additionalProperties": false,
      "properties": {
        "bucket": {
          "type": "string"
        },
        "credentials": {
          "additionalProperties": false,
          "properties": {
            "accessKeyId": {
              "type": "string"
            },
            "secretAccessKey": {
              "type": "string"
            }
          },
          "required": [
            "accessKeyId",
            "secretAccessKey"
          ],
          "type": "object"
        },
        "endpoint": {
          "type": "string"
        },
        "region": {
          "type": "string"
        },
        "type": {
          "enum": [
            "S3_COMPATIBLE"
          ],
          "type": "string"
        }
      },
      "required": [
        "type",
        "bucket",
        "region",
        "endpoint",
        "credentials"
      ],
      "type": "object"
    },
    "name": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "vectorStorageConfig": {
      "additionalProperties": false,
      "properties": {
        "apiKey": {
          "type": "string"
        },
        "indexHost": {
          "type": "string"
        },
        "provider": {
          "enum": [
            "PINECONE"
          ],
          "type": "string"
        }
      },
      "required": [
        "provider",
        "apiKey",
        "indexHost"
      ],
      "type": "object"
    },
    "webScraperConfig": {
      "additionalProperties": false,
      "properties": {
        "apiKey": {
          "type": "string"
        },
        "provider": {
          "enum": [
            "FIRECRAWL",
            "JINA",
            "SCRAPINGBEE"
          ],
          "type": "string"
        }
      },
      "required": [
        "provider",
        "apiKey"
      ],
      "type": "object"
    }
  },
  "required": [
    "name",
    "fileStorageConfig",
    "vectorStorageConfig",
    "embeddingModelConfig"
  ],
  "type": "object"
}