Skip to content

Ingesting documents with Azure inference fails with "Invalid value [ingest] received #127519

@prwhelan

Description

@prwhelan

Looks to be the same issue as #126709

PUT _inference/text_embedding/myopenai
{
    "service": "azureopenai",
    "service_settings": {
        "api_key": "XXXX",
        "resource_name": "XXXXX",
        "deployment_id": "text-embedding-ada-002",
        "api_version": "2023-07-01-preview"
    }
}

PUT test-index-e5
{
  "mappings": {
    "properties": {
      "description": {
        "type": "text",
        "fields": {
          "semantic": {
            "type": "semantic_text",
            "inference_id": "myopenai"
          }
        }
      }
    }
  }
}

POST test-index-e5/_doc/
{
  "description": "Hello"
} 
  "error": {
    "root_cause": [
      {
        "type": "inference_exception",
        "reason": "Error loading inference for inference id [myopenai] on field [description.semantic]"
      }
    ],
    "type": "inference_exception",
    "reason": "Error loading inference for inference id [myopenai] on field [description.semantic]",
    "caused_by": {
      "type": "validation_exception",
      "reason": "Validation Failed: 1: Invalid input_type [ingest]. The input_type option is not supported by this service;"
    }
  },
  "status": 400
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions