{
    "P1_INITIALIZATION_ERROR": {
      "errorCode": "P1_INITIALIZATION_ERROR",
      "statusCode": 500,
      "errorMessage": "Error during initialization"
    },
    "P1_DATABASE_CONNECTION_ERROR": {
      "errorCode": "P1_DATABASE_CONNECTION_ERROR",
      "statusCode": 500,
      "errorMessage": "Unable to Connect Databases"
    },
    "P1_QDRANT_CONNECTION_ERROR": {
      "errorCode": "P1_QDRANT_CONNECTION_ERROR",
      "statusCode": 500,
      "errorMessage": "Unable to Connect qdrant"
    },
    "P1_REDIS_CONNECTION_ERROR": {
      "errorCode": "P1_REDIS_CONNECTION_ERROR",
      "statusCode": 500,
      "errorMessage": "Unable to Connect redis"
    },
    "P2_INVALID_URL_PARAMETER": {
      "errorCode": "P2_INVALID_URL_PARAMETER",
      "statusCode": 400,
      "errorMessage": "Bad Request: Invalid URL parameter"
    },
    "P1_INTERNAL_SERVER_ERROR": {
      "errorCode": "P1_INTERNAL_SERVER_ERROR",
      "statusCode": 500,
      "errorMessage": "Internal Server Error"
    },
    "P1_TOKEN_NOT_PRESENT_OR_NOT_VALID": {
      "errorCode": "P1_TOKEN_NOT_PRESENT_OR_NOT_VALID",
      "statusCode": 401,
      "errorMessage": "Token is not present/invalid for origin"
    },
    "P1_FAILED_DELETE_COLLECTION":{
      "errorCode": "P1_FAILED_DELETE_COLLECTION",
      "statusCode": 500,
      "errorMessage": "Collection did not exist or failed to delete."
  },
  "P1_FAILED_INSERT_COLLECTION":{
      "errorCode": "P1_FAILED_INSERT_COLLECTION",
      "statusCode": 500,
      "errorMessage": "Failed to insert collection "
  },
"P1_INPUT_VALIDATION_ERROR": {
      "errorCode": "P1_INPUT_VALIDATION_ERROR",
      "statusCode": 400,
      "errorMessage": "Input Validation Error"
    },
  "P3_INVALID_BRAND ":{
      "errorCode": "P3_INVALID_BRAND",
      "statusCode": 400,
      "errorMessage": "Invalid Brand"
  },
  "P1_CONFIGURATION_ERROR":{
      "errorCode": "P1_CONFIGURATION_ERROR",
      "statusCode": 500,
      "errorMessage": "Error in configuring"
  },
   "P1_ERROR_FETCHING_TRACE_DATA": {
    "errorCode": "P1_ERROR_FETCHING_TRACE_DATA",
    "statusCode": 500,
    "errorMessage": "Error while fetching trace data"
  },
  "P1_ERROR_GENERATING_EMBEDDINGS": {
    "errorCode": "P1_ERROR_GENERATING_EMBEDDINGS",
    "statusCode": 500,
    "errorMessage": "Error generating embeddings"
  },
  "P1_ERROR_SIMILARITY_SCORE": {
    "errorCode": "P1_ERROR_SIMILARITY_SCORE",
    "statusCode": 500,
    "errorMessage": "Error while computing similarity score"
  }
  }