Get startedGet started for free

Creating text embeddings

This exercise is part of the course

End-to-End RAG with Weaviate

View Course

Exercise instructions

  • Embed the text string provided and view its length and the first five numbers in the embedding vector.
  • Embed the strings in the texts list in a single embedding API request, and compare the length and numbers of each embedding vector.
  • Embed the texts list again, but this time, change the model output dimensions to 512.


Note: If you’re running DataLab in Restricted Mode, this exercise isn’t supported yet. We’re actively working on making it available in the future.


Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise