# Using Elasticsearch Inference API along with Hugging Face models

DevFeed: [Using Elasticsearch Inference API along with Hugging Face models](<https://devfeed.tech/articles/using-elasticsearch-inference-api-along-with-hugging-face-models-78849.md>)

Original publisher: [Read original article](<https://www.elastic.co/search-labs/blog/hugging-face-elasticsearch-inference-api>)

Author: Jeffrey Rengifo

Published: 2026-03-23T00:00:00Z

Content type: tutorial

Language: en

Sources: [Elasticsearch Labs](<https://devfeed.tech/sources/elasticsearch-labs.md>)

Topics: [elasticsearch](<https://devfeed.tech/topics/elasticsearch.md>), [hugging face](<https://devfeed.tech/topics/hugging-face.md>), [inference-endpoints](<https://devfeed.tech/topics/inference-endpoints.md>), [smolvlm](<https://devfeed.tech/topics/smolvlm.md>), [Google Chat](<https://devfeed.tech/topics/google-chat.md>)

Tags: [agentic-ai](<https://devfeed.tech/tags/agentic-ai.md>), [ai-recommendations](<https://devfeed.tech/tags/ai-recommendations.md>), [connect](<https://devfeed.tech/tags/connect.md>), [elasticsearch](<https://devfeed.tech/tags/elasticsearch.md>), [hugging-face](<https://devfeed.tech/tags/hugging-face.md>), [inference](<https://devfeed.tech/tags/inference.md>), [inference-endpoints](<https://devfeed.tech/tags/inference-endpoints.md>), [integrations](<https://devfeed.tech/tags/integrations.md>), [models](<https://devfeed.tech/tags/models.md>), [semantic-search](<https://devfeed.tech/tags/semantic-search.md>)

## AI overview

This tutorial shows how to connect Elasticsearch to Hugging Face inference endpoints and use SmolLM3-3B with semantic search to recommend multilingual blog articles. It walks through configuring the inference endpoint, indexing content, retrieving relevant articles, and generating recommendation text with chat completions.

## Source excerpt

Learn how to connect Elasticsearch to Hugging Face models using inference endpoints, and build a multilingual blog recommendation system with semantic search and chat completions.