inference-apis.asciidoc 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. [role="xpack"]
  2. [[inference-apis]]
  3. == {infer-cap} APIs
  4. experimental[]
  5. IMPORTANT: The {infer} APIs enable you to use certain services, such as built-in
  6. {ml} models (ELSER, E5), models uploaded through Eland, Cohere, OpenAI, Azure, Google AI Studio or
  7. Hugging Face. For built-in models and models uploaded through Eland, the {infer}
  8. APIs offer an alternative way to use and manage trained models. However, if you
  9. do not plan to use the {infer} APIs to use these models or if you want to use
  10. non-NLP models, use the <<ml-df-trained-models-apis>>.
  11. The {infer} APIs enable you to create {infer} endpoints and use {ml} models of
  12. different providers - such as Cohere, OpenAI, or HuggingFace - as a service. Use
  13. the following APIs to manage {infer} models and perform {infer}:
  14. * <<delete-inference-api>>
  15. * <<get-inference-api>>
  16. * <<post-inference-api>>
  17. * <<put-inference-api>>
  18. include::delete-inference.asciidoc[]
  19. include::get-inference.asciidoc[]
  20. include::post-inference.asciidoc[]
  21. include::put-inference.asciidoc[]
  22. include::service-azure-ai-studio.asciidoc[]
  23. include::service-azure-openai.asciidoc[]
  24. include::service-cohere.asciidoc[]
  25. include::service-elasticsearch.asciidoc[]
  26. include::service-elser.asciidoc[]
  27. include::service-google-ai-studio.asciidoc[]
  28. include::service-google-vertex-ai.asciidoc[]
  29. include::service-hugging-face.asciidoc[]
  30. include::service-mistral.asciidoc[]
  31. include::service-openai.asciidoc[]