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: LICENSE
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ Copyright (c) 2023 Sinaptik GmbH
3
3
Portions of this software are licensed as follows:
4
4
5
5
- All content that resides under any "pandasai/ee/" directory of this repository, if such directories exists, are licensed under the license defined in "pandasai/ee/LICENSE".
6
-
- All third party components incorporated into the PandaAI Software are licensed under the original license provided by the owner of the applicable component.
6
+
- All third party components incorporated into the PandasAI Software are licensed under the original license provided by the owner of the applicable component.
7
7
- Content outside of the above mentioned directories or restrictions above is available under the "MIT Expat" license as defined below.
8
8
9
9
Permission is hereby granted, free of charge, to any person obtaining a copy
[](https://colab.research.google.com/drive/1ZnO-njhL7TBOYPZaqvMvGtsjckZKrv2E?usp=sharing)
10
10
11
-
PandaAI is a Python platform that makes it easy to ask questions to your data in natural language. It helps non-technical users to interact with their data in a more natural way, and it helps technical users to save time, and effort when working with data.
11
+
PandasAI is a Python platform that makes it easy to ask questions to your data in natural language. It helps non-technical users to interact with their data in a more natural way, and it helps technical users to save time, and effort when working with data.
12
12
13
13
# 🔧 Getting started
14
14
15
-
You can find the full documentation for PandaAI[here](https://pandas-ai.readthedocs.io/en/latest/).
15
+
You can find the full documentation for PandasAI[here](https://pandas-ai.readthedocs.io/en/latest/).
16
16
17
-
You can either decide to use PandaAI in your Jupyter notebooks, Streamlit apps, or use the client and server architecture from the repo.
17
+
You can either decide to use PandasAI in your Jupyter notebooks, Streamlit apps, or use the client and server architecture from the repo.
18
18
19
19
## ☁️ Using the platform
20
20
@@ -39,7 +39,7 @@ dataset.push()
39
39
40
40
Your team can now access and query this data using natural language through the platform.
41
41
42
-

42
+

43
43
44
44
## 📚 Using the library
45
45
@@ -49,7 +49,7 @@ Python version `3.8+ <3.12`
49
49
50
50
### 📦 Installation
51
51
52
-
You can install the PandaAI library using pip or poetry.
52
+
You can install the PandasAI library using pip or poetry.
53
53
54
54
With pip:
55
55
@@ -103,7 +103,7 @@ The total sales for the top 3 countries by sales is 16500.
103
103
104
104
#### Visualize charts
105
105
106
-
You can also ask PandaAI to generate charts for you:
106
+
You can also ask PandasAI to generate charts for you:
107
107
108
108
```python
109
109
df.chat(
@@ -115,7 +115,7 @@ df.chat(
115
115
116
116
#### Multiple DataFrames
117
117
118
-
You can also pass in multiple dataframes to PandaAI and ask questions relating them.
118
+
You can also pass in multiple dataframes to PandasAI and ask questions relating them.
119
119
120
120
```python
121
121
import pandasai as pai
@@ -147,7 +147,7 @@ Olivia gets paid the most.
147
147
148
148
#### Docker Sandbox
149
149
150
-
You can run PandaAI in a Docker sandbox, providing a secure, isolated environment to execute code safely and mitigate the risk of malicious attacks.
150
+
You can run PandasAI in a Docker sandbox, providing a secure, isolated environment to execute code safely and mitigate the risk of malicious attacks.
151
151
152
152
##### Python Requirements
153
153
@@ -197,9 +197,9 @@ You can find more examples in the [examples](examples) directory.
197
197
198
198
## 📜 License
199
199
200
-
PandaAI is available under the MIT expat license, except for the `pandasai/ee` directory of this repository, which has its [license here](https://github.com/sinaptik-ai/pandas-ai/blob/main/ee/LICENSE).
200
+
PandasAI is available under the MIT expat license, except for the `pandasai/ee` directory of this repository, which has its [license here](https://github.com/sinaptik-ai/pandas-ai/blob/main/ee/LICENSE).
201
201
202
-
If you are interested in managed PandaAI Cloud or self-hosted Enterprise Offering, [contact us](https://getpanda.ai/pricing).
202
+
If you are interested in managed PandasAI Cloud or self-hosted Enterprise Offering, [contact us](https://getpanda.ai/pricing).
203
203
204
204
## Resources
205
205
@@ -208,7 +208,7 @@ If you are interested in managed PandaAI Cloud or self-hosted Enterprise Offerin
208
208
209
209
-[Docs](https://pandas-ai.readthedocs.io/en/latest/) for comprehensive documentation
210
210
-[Examples](examples) for example notebooks
211
-
-[Discord](https://discord.gg/KYKj9F2FRH) for discussion with the community and PandaAI team
211
+
-[Discord](https://discord.gg/KYKj9F2FRH) for discussion with the community and PandasAI team
Copy file name to clipboardExpand all lines: docs/v2/advanced-security-agent.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
---
2
2
title: "Advanced Security Agent"
3
-
description: "Enhance the PandaAI library with the Security Agent to secure applications from malicious code generation"
3
+
description: "Enhance the PandasAI library with the Security Agent to secure applications from malicious code generation"
4
4
---
5
5
6
6
## Introduction to the Advanced Security Agent
7
7
8
-
The `AdvancedSecurityAgent` (currently in beta) extends the capabilities of the PandaAI library by adding a Security layer to identify if query can generate malicious code.
8
+
The `AdvancedSecurityAgent` (currently in beta) extends the capabilities of the PandasAI library by adding a Security layer to identify if query can generate malicious code.
9
9
10
10
> **Note:** Usage of the Security Agent may be subject to a license. For more details, refer to the [license documentation](https://github.com/Sinaptik-AI/pandas-ai/blob/master/pandasai/ee/LICENSE).
@@ -24,7 +24,7 @@ By default, the cache is enabled.
24
24
25
25
## Clearing the cache
26
26
27
-
The cache can be cleared by deleting the `cache.db` file. The file will be recreated automatically when the next query is made. Alternatively, the cache can be cleared by calling the `clear_cache()` method on the `PandaAI` object:
27
+
The cache can be cleared by deleting the `cache.db` file. The file will be recreated automatically when the next query is made. Alternatively, the cache can be cleared by calling the `clear_cache()` method on the `PandasAI` object:
Copy file name to clipboardExpand all lines: docs/v2/connectors.mdx
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
---
2
2
title: "Connectors"
3
-
description: "PandaAI provides connectors to connect to different data sources."
3
+
description: "PandasAI provides connectors to connect to different data sources."
4
4
---
5
5
6
-
PandaAI mission is to make data analysis and manipulation more efficient and accessible to everyone. This includes making it easier to connect to data sources and to use them in your data analysis and manipulation workflow.
6
+
PandasAI mission is to make data analysis and manipulation more efficient and accessible to everyone. This includes making it easier to connect to data sources and to use them in your data analysis and manipulation workflow.
7
7
8
-
PandaAI provides a number of connectors that allow you to connect to different data sources. These connectors are designed to be easy to use, even if you are not familiar with the data source or with PandaAI.
8
+
PandasAI provides a number of connectors that allow you to connect to different data sources. These connectors are designed to be easy to use, even if you are not familiar with the data source or with PandasAI.
9
9
10
10
To use a connector, you first need to install the required dependencies. You can do this by running the following command:
11
11
@@ -21,7 +21,7 @@ Have a look at the video of how to use the connectors:
21
21
22
22
## SQL connectors
23
23
24
-
PandaAI provides connectors for the following SQL databases:
24
+
PandasAI provides connectors for the following SQL databases:
25
25
26
26
- PostgreSQL
27
27
- MySQL
@@ -32,11 +32,11 @@ PandaAI provides connectors for the following SQL databases:
32
32
- Yahoo Finance
33
33
- Airtable
34
34
35
-
Additionally, PandaAI provides a generic SQL connector that can be used to connect to any SQL database.
35
+
Additionally, PandasAI provides a generic SQL connector that can be used to connect to any SQL database.
36
36
37
37
### PostgreSQL connector
38
38
39
-
The PostgreSQL connector allows you to connect to a PostgreSQL database. It is designed to be easy to use, even if you are not familiar with PostgreSQL or with PandaAI.
39
+
The PostgreSQL connector allows you to connect to a PostgreSQL database. It is designed to be easy to use, even if you are not familiar with PostgreSQL or with PandasAI.
40
40
41
41
To use the PostgreSQL connector, you only need to import it into your Python code and pass it to a `SmartDataframe` or `SmartDatalake` object:
42
42
@@ -66,7 +66,7 @@ df.chat('What is the total amount of payments in the last year?')
66
66
67
67
### MySQL connector
68
68
69
-
Similarly to the PostgreSQL connector, the MySQL connector allows you to connect to a MySQL database. It is designed to be easy to use, even if you are not familiar with MySQL or with PandaAI.
69
+
Similarly to the PostgreSQL connector, the MySQL connector allows you to connect to a MySQL database. It is designed to be easy to use, even if you are not familiar with MySQL or with PandasAI.
70
70
71
71
To use the MySQL connector, you only need to import it into your Python code and pass it to a `SmartDataframe` or `SmartDatalake` object:
72
72
@@ -96,7 +96,7 @@ df.chat('What is the total amount of loans in the last year?')
96
96
97
97
### Sqlite connector
98
98
99
-
Similarly to the PostgreSQL and MySQL connectors, the Sqlite connector allows you to connect to a local Sqlite database file. It is designed to be easy to use, even if you are not familiar with Sqlite or with PandaAI.
99
+
Similarly to the PostgreSQL and MySQL connectors, the Sqlite connector allows you to connect to a local Sqlite database file. It is designed to be easy to use, even if you are not familiar with Sqlite or with PandasAI.
100
100
101
101
To use the Sqlite connector, you only need to import it into your Python code and pass it to a `SmartDataframe` or `SmartDatalake` object:
Copy file name to clipboardExpand all lines: docs/v2/custom-response.mdx
+2-11Lines changed: 2 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: "Custom Response"
3
3
---
4
4
5
-
PandaAI offers the flexibility to handle chat responses in a customized manner. By default, PandaAI includes a ResponseParser class that can be extended to modify the response output according to your needs.
5
+
PandasAI offers the flexibility to handle chat responses in a customized manner. By default, PandasAI includes a ResponseParser class that can be extended to modify the response output according to your needs.
6
6
7
7
You have the option to provide a custom parser, such as `StreamlitResponse`, to the configuration object like this:
8
8
@@ -16,7 +16,7 @@ from pandasai import SmartDatalake
16
16
from pandasai.responses.response_parser import ResponseParser
17
17
18
18
# This class overrides default behaviour how dataframe is returned
19
-
# By Default PandaAI returns the SmartDataFrame
19
+
# By Default PandasAI returns the SmartDataFrame
20
20
classPandasDataFrame(ResponseParser):
21
21
22
22
def__init__(self, context) -> None:
@@ -42,10 +42,6 @@ salaries_df = pd.DataFrame(
42
42
}
43
43
)
44
44
45
-
# By default, unless you choose a different LLM, it will use BambooLLM.
46
-
# You can get your free API key signing up at https://pandabi.ai (you can also configure it in your .env file)
0 commit comments