You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/v3/migration-guide.mdx
+34-10Lines changed: 34 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,10 @@ description: "Step-by-step guide to migrate from PandasAI v2 to v3"
4
4
---
5
5
6
6
<Notetitle="Migration Notice">
7
-
PandasAI 3.0 introduces significant architectural changes. This guide covers breaking changes and migration steps. See [Backwards Compatibility](/v3/migration-backwards-compatibility) for v2 classes that still work.
7
+
PandasAI 3.0 introduces significant architectural changes. This guide covers
8
+
breaking changes and migration steps. See [Backwards
9
+
Compatibility](/v3/migration-backwards-compatibility) for v2 classes that
10
+
still work.
8
11
</Note>
9
12
10
13
## Breaking Changes
@@ -13,9 +16,10 @@ description: "Step-by-step guide to migrate from PandasAI v2 to v3"
13
16
14
17
Configuration is now global using `pai.config.set()` instead of per-dataframe. Several options have been removed:
Training with vector stores requires a valid enterprise license for production use. See [Enterprise Features](/v3/enterprise-features) for more details.
203
+
Training with vector stores requires a valid enterprise license for production
204
+
use. See [Enterprise Features](/v3/enterprise-features) for more details.
188
205
</Note>
189
206
190
207
Training is now available through local vector stores (ChromaDB, Qdrant, Pinecone, LanceDB) for few-shot learning. The `train()` method is still available but requires a vector store.
- Training requires a vector store (ChromaDB, Qdrant, Pinecone, LanceDB)
215
235
- Vector stores enable few-shot learning
216
236
- Better scalability and performance
@@ -265,9 +285,10 @@ pai.config.set({
265
285
### Step 4: Migrate DataFrames (optional)
266
286
267
287
Check the [Backwards Compatibility](/v3/migration-backwards-compatibility) section for details on the difference between SmartDataframe, SmartDatalakes, and the new Semantic DataFrames (pai dataframes).
0 commit comments