OpenAICompatibleEmbedding
- model_type (str): The model type to be used for text embeddings.
- api_key (str): The API key for authenticating with the model service.
- url (str): The url to the model service.
- output_dim (Optional[int]): The dimensionality of the embedding vectors. If None, it will be determined during the first embedding call.
init
embed_list
- objs (list[str]): The texts for which to generate the embeddings. **kwargs (Any): Extra kwargs passed to the embedding API.