Documentation Index
Fetch the complete documentation index at: https://docs.aipower.org/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Knowledge Base stores the content AI Puffer can search before it generates an answer or a piece of content. Use it for support answers, product details, documentation, policies, posts, pages, WooCommerce products, uploaded documents, and other source text you want AI Puffer to use as context.Providers
Use OpenAI Vector Stores, Pinecone, Qdrant, or Chroma.
Manage Vector Stores
Create, select, or delete vector targets.
Add Data
Add data and manage source records.
Settings
Configure visibility, chunking, embedding batches, content rules, and search.
Semantic Search
Publish a frontend vector search form.
Troubleshooting
Fix missing targets, dimension errors, and empty results.
Providers
| Provider | Target name | How it works |
|---|---|---|
| OpenAI | Vector store | AI Puffer sends the source data to OpenAI Vector Stores. No separate embedding model is selected in AI Puffer for this target. |
| Pinecone | Index | AI Puffer creates embeddings with the model you choose, then stores the vectors in a Pinecone index. |
| Qdrant | Collection | AI Puffer creates embeddings with the model you choose, then stores the vectors in a Qdrant collection. |
| Chroma | Collection | AI Puffer creates embeddings with the model you choose, then stores the vectors in a Chroma collection. |
OpenAI
OpenAI Vector Stores use your OpenAI account directly.- Go to AI Puffer > Settings > AI.
- Select OpenAI as the AI provider.
- Enter your OpenAI API key.
- Sync models if needed.
- Go to AI Puffer > Knowledge Base > Stores to create or refresh OpenAI vector stores.

Pinecone
Pinecone is configured from the Integrations settings.- Go to AI Puffer > Settings > Integrations.
- Select Pinecone.
- Enter your Pinecone API Key.
- Click Sync Indexes to load indexes from Pinecone.
- Go to AI Puffer > Knowledge Base > Stores to create, refresh, or delete indexes.

Qdrant
Qdrant requires both an endpoint URL and an API key.- Go to AI Puffer > Settings > Integrations.
- Select Qdrant.
- Enter your Qdrant URL.
- Enter your Qdrant API Key.
- Click Sync Collections to load collections from Qdrant.
- Go to AI Puffer > Knowledge Base > Stores to create, refresh, or delete collections.

Chroma
Chroma uses endpoint, tenant, and database settings.- Go to AI Puffer > Settings > Integrations.
- Select Chroma.
- Enter your Chroma URL. For Cloud, you can use https://api.trychroma.com
- Enter your Chroma API Key if you use Chroma Cloud or an authenticated server.
- Enter the Tenant.
- Enter the Database.
- Click Sync Collections to load collections from Chroma.
- Go to AI Puffer > Knowledge Base > Stores to create, refresh, or delete collections.
default_tenant and the default database is default_database.

Embedding Providers
Pinecone, Qdrant, and Chroma store vectors that AI Puffer creates with a selected embedding model. Before adding data to these providers, configure the embedding provider you want to use in AI Puffer > Settings > AI. Supported embedding providers include OpenAI, Google, Azure, and OpenRouter. The selected embedding model must match the dimension of the Pinecone index, Qdrant collection, or Chroma collection. xAI is not an embedding provider or vector store provider in the current integration. xAI chatbots, forms, and text workflows can still use retrieved Knowledge Base context from OpenAI, Pinecone, Qdrant, or Chroma because AI Puffer sends that context as text.Manage Vector Stores
Use AI Puffer > Knowledge Base > Stores to create, refresh, inspect, or delete vector targets. The Stores tab is where you manage OpenAI vector stores, Pinecone indexes, Qdrant collections, and Chroma collections. The Data tab uses these targets when you add content.
OpenAI Vector Stores
- Add your OpenAI API key in AI Puffer > Settings > AI.
- Go to AI Puffer > Knowledge Base > Stores.
- Select OpenAI as the provider.
- Click Create Store.
- Enter a store name.
- Click Create.

Pinecone Indexes
- Add your Pinecone API key in AI Puffer > Settings > Integrations.
- Go to AI Puffer > Knowledge Base > Stores.
- Select Pinecone as the provider.
- Select the embedding model you plan to use.
- Click Create Store.
- Enter an index name.
- Enter the dimension for the selected embedding model.
- Click Create.

Qdrant Collections
- Add your Qdrant URL and API key in AI Puffer > Settings > Integrations.
- Go to AI Puffer > Knowledge Base > Stores.
- Select Qdrant as the provider.
- Select the embedding model you plan to use.
- Click Create Store.
- Enter a collection name.
- Enter the dimension for the selected embedding model.
- Click Create.

Chroma Collections
- Add your Chroma endpoint, tenant, database, and API key in AI Puffer > Settings > Integrations.
- Go to AI Puffer > Knowledge Base > Stores.
- Select Chroma as the provider.
- Click Create Store.
- Enter a collection name.
- Click Create.

Add Data
Use AI Puffer > Knowledge Base > Data to add new source data and manage existing source records. Before adding data:- Go to AI Puffer > Knowledge Base > Data.
- Select a provider.
- Select the target vector store, index, or collection.
- For Pinecone, Qdrant, or Chroma, select the embedding model.
- Click + Add Data.

Q&A
Use Q&A for short answers that should be easy to retrieve later.- Select Q&A.
- Enter the question.
- Enter the answer.
- Click Add Q&A.

Text
Use Text for policies, instructions, product notes, support snippets, or any source text that does not already exist as WordPress content.- Select Text.
- Paste the source text.
- Click Add Text.

Files
Use Files when the source is already in a document.- Select Files.
- Click Choose files.
- Select one or more files.

Website
Use Website when the source is WordPress content.- Select Website.
- Choose All or Choose items.
- Select the content types.
- If using Choose items, select the individual published items.
- Click Add Items.

Manage Data
The source table in the Data tab shows the local records created while adding data.| Column | What it shows |
|---|---|
| Status | Trained, Processing, Failed, or another provider status. |
| Item | Post title, text preview, file name, or source identifier. Provider, target, and embedding details appear below the item name. |
| Type | Site Content, Text, Q&A, File Upload, or User Upload. |
| Updated | Last update time and relative age. |
| Actions | Available actions for the source. |

| Action | Use it for |
|---|---|
| View | Review the stored source preview. |
| Edit | Edit a text source and save it again. |
| Retrain | Re-index a WordPress content source after the content changes. |
| Delete | Remove the source from the external provider and from the local source table. |


Settings
Open AI Puffer > Knowledge Base > Settings to configure Knowledge Base behavior.
General
General controls how Knowledge Base records and indexing buttons appear in the admin.| Setting | What it does |
|---|---|
| Hide user uploads | Hides chatbot upload records from the main Knowledge Base source table. |
| Show index button | Shows vector indexing controls on supported WordPress list screens. |

Chunking
Document chunking controls how AI Puffer splits large uploaded files before embedding them for Pinecone, Qdrant, or Chroma.| Setting | Default | Range | Use it for |
|---|---|---|---|
| Avg chars per token | 4 | 2 to 4 | Estimates how many characters equal one token. |
| Max tokens per chunk | 3000 | 256 to 6000 | Sets the maximum chunk size before embedding. |
| Overlap tokens | 150 | 0 to 1000 | Repeats a small part of the previous chunk so context does not break sharply. |
| OpenAI File Search setting | Default | Range | Use it for |
|---|---|---|---|
| Indexing strategy | Auto | Auto or Custom | Lets OpenAI choose chunking automatically, or lets AI Puffer send custom chunking values. |
| Max chunk size tokens | 800 | 100 to 4096 | Sets the maximum OpenAI File Search chunk size when Custom is selected. |
| Chunk overlap tokens | 400 | 0 to half of max chunk size | Repeats part of the previous OpenAI File Search chunk when Custom is selected. |
Embedding Batches
Embedding Batches controls how many file chunks AI Puffer sends to the embedding provider in one request.- Go to AI Puffer > Knowledge Base > Settings.
- Open Chunking & Batches.
- Click Embedding Batches to reveal the provider batch settings.
- Adjust the batch size for the embedding provider you use.
- Wait for the settings autosave to finish.
| Provider | Default | Maximum |
|---|---|---|
100 | 100 | |
| OpenAI | 50 | 100 |
| OpenRouter | 50 | 100 |
| Azure | 50 | 100 |
| Ollama | 10 | 100 |

50 means AI Puffer sends up to 50 prepared file chunks to the embedding API at once. Larger batches can make file upload training much faster because they reduce repeated API calls.
Embedding batch settings apply only to chunked file uploads for Pinecone, Qdrant, and Chroma. They do not change Q&A, Text, Website training, semantic search queries, or OpenAI Vector Store file uploads.
429, lower that provider’s batch size and try again. AI Puffer can pause and retry file upload processing when the provider sends a retry delay, but lowering the batch size is usually better for accounts with stricter quotas.

Indexing Controls
Indexing controls define which WordPress fields are included when Website training or list-screen indexing sends WordPress content to a vector target.- Go to AI Puffer > Knowledge Base > Settings.
- In Indexing Controls, click Configure.
- Select a post type.
- Adjust Basic Labels if you want different labels for source URL, title, excerpt, or content.
- Enable or disable custom fields.
- Enable or disable taxonomies.
- For WooCommerce products, enable or disable product data such as SKU, price, stock, dimensions, and attributes.
- Save.

| Control | What it does |
|---|---|
| Index Status column | Shows whether a post has already been indexed. |
| Index Status filter | Filters content by indexed or not indexed. |
| Add to Vector Store action | Sends selected posts to a vector target. |
Semantic Search
Semantic Search publishes a search form that queries a Pinecone index, Qdrant collection, or Chroma collection from the frontend. Open AI Puffer > Knowledge Base > Settings. In Semantic Search, click Configure.- Select Vector DB: Pinecone, Qdrant, or Chroma.
- Select the index or collection.
- Select the embedding model.
- Set Number of Results.
- Set No Results Text.
- Test a query in Try semantic search.
- Copy the shortcode.

Troubleshooting
Provider target is missing
Provider target is missing
Configure the provider credentials, then sync or create the vector target again.
Pinecone, Qdrant, or Chroma training fails
Pinecone, Qdrant, or Chroma training fails
Confirm the embedding model dimension matches the index or collection dimension.
Website content is missing fields
Website content is missing fields
Check Knowledge Base > Settings > Content Rules for that post type.
WordPress list indexing controls are missing
WordPress list indexing controls are missing
Enable Knowledge Base > Settings > Basics > Show index button and confirm the user role can access the vector content indexer module.
Semantic Search returns no results
Semantic Search returns no results
Confirm the selected target contains trained data and the same embedding model is selected.