Supported AIs

PLM has built-in support for mainstream AIs:

  • OpenAI ChatGPT
  • DeepSeek
  • Google Gemini
  • X Grok
  • Ali Qwen 通义千问
  • Tencent Hunyuan 腾讯混元
  • Ollama: Supports local deployment of AIs such as DeepSeek/Qwen/Gemma/Llama, etc.
  • How to Configure AI

    Almost every AI needs to be configured before it can be used. The first thing you need is to obtain the API key for that AI. For detailed instructions, please use a search engine or the AI's App to search for "How to get xxx API Key" (xxx is the name of the AI, such as "Gemini"). Then, follow the instructions to register or pay to obtain and copy the API Key value. For example, the method for obtaining the API Key for Gemini can be found here.

    1. In the main interface, click the "Tools" menu, then click "Ask AI"; or click the AI tool button in the upper right corner of the main interface.
    2. Select the vendor, such as "Gemini".
    3. Click the "Configure" button.
    4. Enter the "Model Name" (e.g., "gemini-2.5-flash"), API Website (e.g., "https://generativelanguage.googleapis.com/v1beta/models/%s:generateContent?key=%s"), and API Key (obtained as described above).
    5. Fill in the prompt for getting the title: The difference between Prompt 1 and Prompt 2 is that if Prompt 2 is not empty, the initial prompt for the conversation with the AI will use Prompt 1, and then Prompt 2 will be used after the first prompt is successful (to save tokens). Use something like <fname> in the prompt to define the location to fill in the "File Name" field. Refer to the database structure for field names.

    How to Use AI

    Currently, PLM uses AI in the following ways:

    1. After the AI is configured, you can chat with it: In the main interface, click the "Tools" menu, then click "Ask AI"; or click the AI tool button in the upper right corner of the main interface.
    2. Use AI to translate PLM documents in other languages into documents in the current language: See How to add a new language for details.
    3. Let AI get the movie/video title