1
0

inference-apis.asciidoc 995 B

123456789101112131415161718192021222324252627
  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 or
  7. Hugging Face. For built-in models and models uploaded though 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[]