Skip to main content
Ctrl+K
PyFlink 1.20+vvr.11.7.dev0 documentation - Home PyFlink 1.20+vvr.11.7.dev0 documentation - Home
  • API Reference
  • Examples
  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
  • PyFlink DataStream
  • PyFlink DataFrame
    • DataFrame
    • DataFrame Creation
    • Input/Output
    • SQL
    • DataType
    • User Defined Functions
    • Configuration
    • GPU Support
    • AI / LLM
  • PyFlink Common
  • API Reference
  • PyFlink DataFrame
  • DataFrame
  • pyflink.dataframe.dataframe.DataFrame.llm

pyflink.dataframe.dataframe.DataFrame.llm#

property DataFrame.llm#

Access LLM / AI functions.

Returns:

An LLMAccessor with AI methods.

Example::
>>> df.llm.predict("text", model="qwen-plus")
>>> df.llm.ai_classify("text", ["pos", "neg"], model="qwen-plus")

previous

pyflink.dataframe.dataframe.DataFrame.fill_nan

next

pyflink.dataframe.dataframe.GroupedDataFrame.agg

On this page
  • DataFrame.llm

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.