Learn practical skills, build real-world projects, and advance your career

UseLLM Embed

Here's an example usage of the usellm.embed function to embed an input string or list of texts.

Step 1: Installing and Importing usellm

!pip install usellm --quiet

from usellm import UseLLM, Options

Step 2: Initialize a Service (required from usellm)

service = UseLLM(service_url="https://usellm.org/api/llm")