LLM Integration#

LLM Models#

dashscope.DashScopeMultiModalLLM(name, ...)

DashScope multi-modal LLM.

dashscope.DashScopeTextLLM(name, ...)

DashScope text LLM.

managed.ManagedTextGenLLM(name[, deploy_config])

Managed text LLM by MaxFrame.

Custom Model Configuration#

config.ModelDeploymentConfig(*args, **kwargs)

Model deployment configuration for extending MaxFrame with custom models.

Text Generate Functions#

multi_modal.generate(data, model, ...[, params])

Generate text with multi model llm based on given data and prompt template.

text.extract(series, model, schema[, ...])

Extract structured information from text content in a series using a language model.

text.generate(data, model, prompt_template)

Generate text using a text language model based on given data and prompt template.

text.translate(series, model, ...[, index])

Translate text content in a series using a language model from source language to target language.