Ctrl+K
Logo image Logo image

Site Navigation

  • API Reference
  • Examples

Site Navigation

  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
  • PyFlink DataFrame
    • DataFrame
    • DataFrame Creation
    • Input/Output
    • SQL
    • Data Types
    • User Defined Functions
    • Configuration
    • Catalog
    • GPU Support
    • AI / LLM
  • PyFlink Multimodal
  • PyFlink DataStream
  • PyFlink Common

pyflink.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.explain

next

pyflink.dataframe.DataFrame.schema

Show Source

Created using Sphinx 4.5.0.