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
  • AI / LLM
  • pyflink.dataframe.ai.llm.list_providers

pyflink.dataframe.ai.llm.list_providers#

list_providers() → List[str][source]#

List all registered provider names.

Returns:

A list of registered provider names.

Example:

>>> pf.set_provider("openai", api_key="sk-...")
>>> pf.set_provider("deepseek", api_key="dk-...")
>>> pf.list_providers()
['openai', 'deepseek']

previous

pyflink.dataframe.ai.llm.set_default_provider

next

pyflink.dataframe.ai.providers.Provider

On this page
  • list_providers()

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.