Missing API Key Warnings in the Plugin

When using the plugin, certain API keys and host settings are required for its advanced features to work properly. If any of these fields are not filled in, a warning popup will appear to let you know which specific key is missing. Below are the common warnings you might see and what they mean:

Picture 2. Zara warning popup
  1. Warning: Your OpenAI key for completion is missing. Please update your plugin settings.
    This indicates that the plugin cannot perform text generation or completion tasks because the OpenAI Completion Key field is empty. To fix this, obtain your OpenAI API key from platform.openai.com (under API Keys) and paste it into the plugin’s Completion Key field.
  2. Warning: Your OpenAI key is missing. Please update your plugin settings.
    If you see this message, it means the OpenAI key for embedding is not set. Without it, the plugin cannot generate text embeddings for tasks like semantic search. Go to the OpenAI dashboard, copy your key, and enter it in the Embedding Key field.
  3. Warning: Your Pinecone Host key is missing. Please update your plugin settings.
    This suggests that the Pinecone Host value is not filled in. Pinecone is used to store and manage vector data for fast similarity searches. Log into your Pinecone account, find your Host address, and add it to the Pinecone Host field in the plugin settings.
  4. Warning: Your Pinecone Key key is missing. Please update your plugin settings.
    This warning means the Pinecone API Key (sometimes simply called “Key”) is missing. Similar to above, copy your API Key from your Pinecone dashboard and insert it into the plugin’s Pinecone Key field.

How to Resolve These Warnings

  1. Access Plugin Settings
    • In your WordPress Dashboard, locate and click on the plugin’s Settings page.
  2. Fill in All Required Fields
    • Enter the requested OpenAI Completion Key, OpenAI Embedding Key, Pinecone Host, and Pinecone API Key in their respective fields.
  3. Save Your Changes
    • Click the Save Changes button to ensure your updates take effect.
  4. Verify
    • Refresh or revisit your site to confirm that the warning popups no longer appear.

Why Are These Keys Important?

  • OpenAI Completion Key: Allows the plugin to generate or complete text using OpenAI’s language models (e.g., GPT-3.5).
  • OpenAI Embedding Key: Enables the plugin to create vector embeddings for advanced semantic search and matching capabilities.
  • Pinecone Host & API Key: Provides a location to store and retrieve those vector embeddings, enabling high-speed queries and similarity searches.

By ensuring each required field is filled correctly, you’ll unlock all the plugin’s features, avoid warning popups, and guarantee the best possible performance for your site.

Leave a Reply

Your email address will not be published. Required fields are marked *