HF RL Explorer

We need a feature that allows generating vector embeddings from text content using OpenAI’s embedding…

We need a feature that allows generating vector embeddings from text content using OpenAI’s embedding…: a task in LegoFlow-SWE (Harbor dataset). The public API must be accessible through the embedding module. It should provide an OpenAI struct that can be instantiated with an API key and a model…

The task

The public API must be accessible through the `embedding` module. It should provide an `OpenAI` struct that can be instantiated with an API key and a model name (e.g., `"text-embedding-3-small"`). The struct must expose a `create_vector` method that accepts a string and returns a `vector` representing the embedding,…

Part of Lego-X/LegoFlow-SWE.