Notebooks
E
Elastic
Load Hugging Face Model

Load Hugging Face Model

openai-chatgptlangchain-pythonchatgptgenaielasticsearchelasticopenaiAIchatlogvectordatabasevector-search-implementation-guide-apiPythonsearchgenaistacksupporting-blog-contentvectorelasticsearch-labslangchainapplications

Load Huggingface Model

This code will use Eland to load an embedding model into Elasticsearch

Blog Vector Search (kNN) Implementation Guide - API Edition

[ ]
[2]

Set Connection and Model information

  • Cloud ID can be retrieved from the Elastic Cloud console
  • Elastic API Key can be generated in Elasticsearch Kibana under Stack Management
  • Model ID is the Model Card Name from Hugging Face
[ ]

Load the model

If you want to also start the model, uncomment the --start line

[ ]