Model name to use
Model name to use
Alias for model
OptionalapiSecret key to use when making requests. Defaults to the value of
MINIMAX_API_KEY environment variable.
OptionalbatchThe maximum number of documents to embed in a single request. This is limited by the Minimax API to a maximum of 4096.
OptionalminimaxSecret key to use when making requests. Defaults to the value of
MINIMAX_API_KEY environment variable.
Alias for apiKey
OptionalminimaxAPI key to use when making requests. Defaults to the value of
MINIMAX_GROUP_ID environment variable.
OptionalstripWhether to strip new lines from the input text. This is recommended by Minimax, but may not be suitable for all use cases.
OptionaltypeThe target use-case after generating the vector. When using embeddings, the vector of the target content is first generated through the db and stored in the vector database, and then the vector of the retrieval text is generated through the query. Note: For the parameters of the partial algorithm, we adopted a separate algorithm plan for query and db. Therefore, for a paragraph of text, if it is to be used as a retrieval text, it should use the db, and if it is used as a retrieval text, it should use the query.
Interface for MinimaxEmbeddings parameters. Extends EmbeddingsParams and defines additional parameters specific to the MinimaxEmbeddings class.