Model name to use
Optional
batchThe maximum number of documents to embed in a single request. This is limited by the Minimax API to a maximum of 4096.
Optional
minimaxSecret key to use when making requests. Defaults to the value of
MINIMAX_API_KEY
environment variable.
Optional
minimaxAPI key to use when making requests. Defaults to the value of
MINIMAX_GROUP_ID
environment variable.
Optional
stripWhether to strip new lines from the input text. This is recommended by Minimax, but may not be suitable for all use cases.
Optional
typeThe 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.
Generated using TypeDoc
Interface for MinimaxEmbeddings parameters. Extends EmbeddingsParams and defines additional parameters specific to the MinimaxEmbeddings class.