Skip to content

Commit 72cb247

Browse files
authored
Merge branch 'main' into task/out-of-kb-questions-gsk-3372
2 parents 969c43e + 5ff5082 commit 72cb247

File tree

40 files changed

+1005
-1070
lines changed

40 files changed

+1005
-1070
lines changed

docs/_templates/base.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,15 @@
6161
{%- block htmltitle -%}
6262
{% if not docstitle %}
6363
<title>{{ title|striptags|e }}</title>
64-
<meta content="Learn more about {{ title|striptags|e }} | Open source Python ML library to test and debug AI models."
64+
<meta content="Learn more about Giskard {{ title|striptags|e }} | The Testing platform for AI models."
6565
name="description">
6666
{% elif pagename == master_doc %}
6767
<title>{{ docstitle|striptags|e }}</title>
68-
<meta content="Learn more about Giskard | Open source Python ML library to test and debug AI models."
68+
<meta content="Giskard Documentation | The Testing platform for AI models."
6969
name="description">
7070
{% else %}
7171
<title>{{ title|striptags|e }} - {{ docstitle|striptags|e }}</title>
72-
<meta content="Learn more about {{ title|striptags|e }} | Open source Python ML library to test and debug AI models."
72+
<meta content="Learn more about Giskard {{ title|striptags|e }} | The Testing platform for AI models."
7373
name="description">
7474
{% endif %}
7575
{%- endblock -%}
@@ -128,4 +128,4 @@
128128

129129
{%- endblock scripts -%}
130130
</body>
131-
</html>
131+
</html>

docs/cli/ngrok/index.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,13 @@ Now you can run :code:`giskard hub expose --ngrok-token <ngrok_API_key>` which s
3131
token=...
3232
client = giskard.GiskardClient("<ngrok_external_server_link>", token)
3333

34-
# To run your model with the Giskard Hub, execute these three lines on Google Colab:
34+
# To run your model with the current Python environment on Google Colab, execute these lines:
3535

3636
%env GSK_API_KEY=...
37-
!giskard worker start -d -u <ngrok_external_server_link>
37+
!giskard worker start -d -u <ngrok_external_server_link> --name <your-project-worker-id>
38+
39+
# To let Giskard Hub run your model in a managed Python environment, execute these lines:
40+
41+
%env GSK_API_KEY=...
42+
!giskard worker start -s -u <ngrok_external_server_link> --name <your-project-worker-id>
43+

docs/getting_started/index.md

Lines changed: 18 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,30 @@
11
# Why Giskard?
22

3-
Giskard is an open-source **AI quality management system** dedicated to ML models.
3+
Giskard is a **holistic Testing platform for AI models** to control all 3 types of AI risks: Quality, Security & Compliance.
44

55
It addresses the following challenges in AI testing:
66

7-
* Edge cases in AI are **domain-specific** and often seemingly **infinite**
8-
* The AI development process is an experimental, **trial-and-error** process where quality KPIs are multi-dimensional
9-
* AI regulation and standardization necessitate that data scientists write **extensive documentation** and quality reports
7+
* Edge cases in AI are **domain-specific** and often seemingly **infinite**.
8+
* The AI development process is an experimental, **trial-and-error** process where quality KPIs are multi-dimensional.
9+
* Generative AI introduces new **security vulnerabilities** which requires constant vigilance and adversarial red-teaming.
10+
* AI compliance with new regulations necessitate that data scientists write **extensive documentation**.
1011

11-
Giskard provides a suite of tools for **scanning**, **testing**, **debugging**, and **monitoring** all AI models, from tabular to LLMs. This enables AI engineers to:
12-
1. Save time during the **test-writing process**
13-
2. Enhance the coverage rate of the testing process through **domain-specific tests**
14-
3. Strengthen the CI/CD pipeline by **automating** test execution
15-
4. Save time in writing **quality metrics** and reports
12+
Giskard provides a platform for testing all AI models, from tabular ML to LLMs. This enables AI teams to:
13+
1. **Reduce AI risks** by enhancing the test coverage on quality & security dimensions.
14+
2. **Save time** by automating testing, evaluation and debugging processes.
15+
3. **Automate compliance** with the EU AI Act and upcoming AI regulations & standards.
1616

17-
Giskard currently offers 3 tools for AI quality management: the **Giskard open-source Python library**, the **Giskard Quality
18-
Assurance Hub** and the **LLM Monitoring platform (LLMon)**.
1917

20-
## The Giskard open source Python Library
18+
## Giskard Library (open-source)
2119

22-
An **open-source** library to scan your AI models for vulnerabilities and generate test suites automatically to aid in
23-
the Quality Assurance process of ML models and LLMs.
20+
An **open-source** library to scan your AI models for vulnerabilities and generate test suites automatically to aid in the Quality & Security evaluation process of ML models and LLMs.
2421

25-
Testing Machine Learning applications can be tedious. Since ML models depend on data, testing scenarios depend on
26-
**domain specificities** and are often **infinite**.
22+
Testing Machine Learning applications can be tedious. Since AI models depend on data, quality testing scenarios depend on
23+
**domain specificities** and are often **infinite**. Besides, detecting security vulnerabilities on LLM applications requires specialized knowledge that most AI teams don't possess.
2724

28-
Created by ML engineers for ML engineers, `giskard` enables you to:
25+
To help you solve these challenges, Giskard library helps to:
2926

30-
- **Scan your model to find dozens of hidden vulnerabilities**: The `giskard` scan automatically detects vulnerabilities
27+
- **Scan your model to find hidden vulnerabilitie automatically**: The `giskard` scan automatically detects vulnerabilities
3128
such as performance bias, hallucination, prompt injection, data leakage, spurious correlation, overconfidence, etc.
3229
<br><br>
3330
<iframe src="https://htmlpreview.github.io/?https://gist.githubusercontent.com/AbSsEnT/a67354621807f3c3a332fca7d8b9a5c8/raw/588f027dc6b14c88c7393c50ff3086fe1122e2e9/LLM_QA_IPCC_scan_report.html" width="700" height="400"></iframe>
@@ -39,7 +36,7 @@ vulnerabilities detected in the scan.
3936
<img src="../assets/test_suite_scan_llm.png" width="500">
4037

4138

42-
- **Integrate and automate** the quality testing of AI models in **CI/CD** processes by leveraging native `giskard` integrations.
39+
- **Integrate and automate** testing of AI models in **CI/CD** pipelines by leveraging native `giskard` integrations.
4340
<br><br>
4441
<img src="../assets/gh_discussion.png" width="650">
4542

@@ -48,8 +45,7 @@ Get started **now** with our [quickstart notebooks](../getting_started/quickstar
4845

4946
## Giskard Hub
5047

51-
An enterprise AI quality management platform for ML engineers, domain experts and AI Quality Assurance teams to manage
52-
all their AI model quality testing and debugging activities in a centralized hub.
48+
An Enterprise Hub for teams to collaborate on top of the open-source Giskard library, with interactive testing dashboards, debugging interfaces with explainability & human feedback, and secure access controls for compliance audits.
5349

5450
- 🔍 **Debug** your issues by inspecting the failing examples of your tests (⬇️ see below the DEBUG button)
5551
<br><br>
@@ -63,23 +59,10 @@ all their AI model quality testing and debugging activities in a centralized hub
6359
<br><br>
6460
![](../assets/push.png)
6561

66-
- 💬 **Collect business feedback** and **share your model results** with data scientists, QA teams and decision makers.
62+
- 💬 **Collect business feedback** and **share your model results** with data scientists, QA teams and auditors.
6763
<br><br>
6864
![](../assets/credit_scoring_comment.png)
6965

7066

7167
Get started **now** with our [demo HuggingFace Space](https://huggingface.co/spaces/giskardai/giskard) or
7268
by following [installation instructions](../getting_started/quickstart/index.md)! 🐢
73-
74-
<br>
75-
76-
## LLM Monitoring (LLMon)
77-
78-
A SaaS platform to detect AI Safety risks in your deployed LLM applications. From hallucinations to incorrect responses, toxicity and many more metrics.
79-
80-
Get access to insights on your LLM app performance in 2 lines of code, giving you the ability to evaluate LLM quality in real-time.
81-
82-
![](../assets/llm_monitoring_dashboard.gif)
83-
84-
85-
Get started **now** by [signing up for our beta](https://www.giskard.ai/products/llmon)! 🍋

docs/giskard_hub/installation_hub/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The Giskard Hub is the app adapted for an enterprise use of Giskard. Extending t
1313
You have 3 ways to install the Hub:
1414
* **Hugging Face Space installation**: This is adapted for an **easy installation** in the cloud for prototyping purposes. If you don't want to upload your own model and just want to check some Giskard demo projects, the HF public space is perfect for you.
1515
* **On-premise installation**: This is adapted if your data and model are **private** and you don't have the possibility to use the cloud (for instance, because of privacy and connectivity issues).
16-
* **Private cloud**: This is adapted if you can easily run a **Cloud instance** by your favourite Cloud provider (AWS, GCP or Azure) and want to easily use Giskard collaborative features (collect feedback from business, share results, etc.). Make sure that you have the rights to open ports of your Cloud machine because Giskard needs to open a connection with an ML Worker running on your Python environment.
16+
* **Private cloud**: This is adapted if you can easily run a **Cloud instance** by your favourite Cloud provider (AWS, GCP or Azure) and want to easily use Giskard collaborative features (collect feedback from business, share results, etc.). Make sure that you have the rights to open ports of your Cloud machine, if you want to connect your own ML Worker to the Giskard Hub.
1717

1818
```{toctree}
1919
:caption: Table of Contents

docs/giskard_hub/installation_hub/install_cloud/install_aws/index.md

Lines changed: 2 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -44,72 +44,8 @@ You can stop the instance and restart it when you need to save AWS compute costs
4444

4545
## 5. Start the ML worker
4646

47-
Giskard executes your model using a worker that runs the model directly in **your Python environment**, with all the dependencies required by your model. You can either execute the ML worker:
47+
Giskard executes your model using an ML worker that runs the model. The worker is created along with your project, using the dependencies in your current environment. You can start the worker on Giskard Hub, if it is not started automatically.
4848

49-
- From your **local notebook** within the kernel that contains all the dependencies of your model
50-
- From **Google Colab** within the kernel that contains all the dependencies of your model
51-
- Or from **your terminal** within the Python environment that contains all the dependencies of your model
52-
53-
:::{note}
54-
If you plan to use LLM-assisted tests or transformations, don’t forget to set the ``OPENAI_API_KEY`` environment
55-
variable before starting the Giskard worker.
56-
:::
57-
58-
:::::::{tab-set}
59-
::::::{tab-item} From your local notebook
60-
61-
To start the ML worker from your notebook, run the following code in your notebook:
62-
63-
```
64-
!giskard worker start -d -k YOUR_KEY -u http://<your IP address>:19000/
65-
```
66-
67-
The API Access Key (`YOUR_KEY`) can be found in the Settings tab of the Giskard Hub.
68-
69-
70-
> ### ⚠️ Warning
71-
> To see the available commands of the worker, you can execute:
72-
>```
73-
>!giskard worker --help
74-
>```
49+
For advanced and flexible usages, please check [our doc for ML worker](../../mlworker/index.md).
7550

7651
You're all set to try Giskard in action. Upload your first model, dataset or test suite by following the [upload an object](../../../upload/index.md) page.
77-
78-
::::::
79-
::::::{tab-item} From Colab notebook
80-
81-
To start the ML worker from your Colab notebook, run in your Colab cell:
82-
83-
```
84-
!giskard worker start -d -k YOUR_KEY -u http://<your IP address>:19000/
85-
```
86-
The API Access Key (`YOUR_KEY`) can be found in the Settings tab of the Giskard Hub.
87-
88-
> ### ⚠️ Warning
89-
> To see the available commands of the worker, you can execute:
90-
>```
91-
>!giskard worker --help
92-
>```
93-
94-
You're all set to try Giskard in action. Upload your first model, dataset or test suite by following the [upload an object](../../../upload/index.md) page.
95-
96-
::::::
97-
::::::{tab-item} From your terminal
98-
99-
* Run the following command **within the Python environment that contains all the dependencies of your model**:
100-
101-
```
102-
giskard worker start -k YOUR_KEY -u http://<your IP address>:19000/
103-
```
104-
The API Access Key (`YOUR_KEY`) can be found in the Settings tab of the Giskard Hub.
105-
106-
> ### ⚠️ Warning
107-
> To see the available commands of the worker, you can execute:
108-
>```
109-
>!giskard worker --help
110-
>```
111-
112-
You're all set to try Giskard in action. Upload your first model, dataset or test suite by following the [upload an object](../../../upload/index.md) page.
113-
114-
::::::
115-
:::::::

docs/giskard_hub/installation_hub/install_cloud/install_azure/index.md

Lines changed: 2 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -57,72 +57,8 @@ You can stop the instance and restart it when you need to save your Azure comput
5757

5858
## 4. Start the ML worker
5959

60-
Giskard executes your model using a worker that runs the model directly in **your Python environment**, with all the dependencies required by your model. You can either execute the ML worker:
60+
Giskard executes your model using an ML worker that runs the model. The worker is created along with your project, using the dependencies in your current environment. You can start the worker on Giskard Hub, if it is not started automatically.
6161

62-
- From your **local notebook** within the kernel that contains all the dependencies of your model
63-
- From **Google Colab** within the kernel that contains all the dependencies of your model
64-
- Or from **your terminal** within the Python environment that contains all the dependencies of your model
65-
66-
:::{note}
67-
If you plan to use LLM-assisted tests or transformations, don’t forget to set the ``OPENAI_API_KEY`` environment
68-
variable before starting the Giskard worker.
69-
:::
70-
71-
:::::::{tab-set}
72-
::::::{tab-item} From your local notebook
73-
74-
To start the ML worker from your notebook, run the following code in your notebook:
75-
76-
```
77-
!giskard worker start -d -k YOUR_KEY -u http://<your IP address>:19000/
78-
```
79-
80-
The API Access Key (`YOUR_KEY`) can be found in the Settings tab of the Giskard Hub.
81-
82-
83-
> ### ⚠️ Warning
84-
> To see the available commands of the worker, you can execute:
85-
>```
86-
>!giskard worker --help
87-
>```
88-
89-
You're all set to try Giskard in action. Upload your first model, dataset or test suite by following the [upload an object](../../../upload/index.md) page.
90-
91-
::::::
92-
::::::{tab-item} From Colab notebook
93-
94-
To start the ML worker from your Colab notebook, run in your Colab cell:
95-
96-
```
97-
!giskard worker start -d -k YOUR_KEY -u http://<your IP address>:19000/
98-
```
99-
The API Access Key (`YOUR_KEY`) can be found in the Settings tab of the Giskard Hub.
100-
101-
> ### ⚠️ Warning
102-
> To see the available commands of the worker, you can execute:
103-
>```
104-
>!giskard worker --help
105-
>```
106-
107-
You're all set to try Giskard in action. Upload your first model, dataset or test suite by following the [upload an object](../../../upload/index.md) page.
108-
109-
::::::
110-
::::::{tab-item} From your terminal
111-
112-
* Run the following command **within the Python environment that contains all the dependencies of your model**:
113-
114-
```
115-
giskard worker start -k YOUR_KEY -u http://<your IP address>:19000/
116-
```
117-
The API Access Key (`YOUR_KEY`) can be found in the Settings tab of the Giskard Hub.
118-
119-
> ### ⚠️ Warning
120-
> To see the available commands of the worker, you can execute:
121-
>```
122-
>!giskard worker --help
123-
>```
62+
For advanced and flexible usages, please check [our doc for ML worker](../../mlworker/index.md).
12463

12564
You're all set to try Giskard in action. Upload your first model, dataset or test suite by following the [upload an object](../../../upload/index.md) page.
126-
127-
::::::
128-
:::::::

docs/giskard_hub/installation_hub/install_cloud/install_gcp/index.md

Lines changed: 2 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -62,76 +62,10 @@ You can stop the instance and restart it when you need to save your GCP compute
6262
&#x20;`giskard hub start`
6363
:::
6464

65-
66-
6765
## 4. Start the ML worker
6866

69-
Giskard executes your model using a worker that runs the model directly in **your Python environment**, with all the dependencies required by your model. You can either execute the ML worker:
70-
71-
- From your **local notebook** within the kernel that contains all the dependencies of your model
72-
- From **Google Colab** within the kernel that contains all the dependencies of your model
73-
- Or from **your terminal** within the Python environment that contains all the dependencies of your model
74-
75-
:::{note}
76-
If you plan to use LLM-assisted tests or transformations, don’t forget to set the ``OPENAI_API_KEY`` environment
77-
variable before starting the Giskard worker.
78-
:::
79-
80-
:::::::{tab-set}
81-
::::::{tab-item} From your local notebook
82-
83-
To start the ML worker from your notebook, run the following code in your notebook:
84-
85-
```
86-
!giskard worker start -d -k YOUR_KEY -u http://<your IP address>:19000/
87-
```
88-
89-
The API Access Key (`YOUR_KEY`) can be found in the Settings tab of the Giskard Hub.
90-
91-
92-
> ### ⚠️ Warning
93-
> To see the available commands of the worker, you can execute:
94-
>```
95-
>!giskard worker --help
96-
>```
97-
98-
You're all set to try Giskard in action. Upload your first model, dataset or test suite by following the [upload an object](../../../upload/index.md) page.
99-
100-
::::::
101-
::::::{tab-item} From Colab notebook
102-
103-
To start the ML worker from your Colab notebook, run in your Colab cell:
104-
105-
```
106-
!giskard worker start -d -k YOUR_KEY -u http://<your IP address>:19000/
107-
```
108-
The API Access Key (`YOUR_KEY`) can be found in the Settings tab of the Giskard Hub.
67+
Giskard executes your model using an ML worker that runs the model. The worker is created along with your project, using the dependencies in your current environment. You can start the worker on Giskard Hub, if it is not started automatically.
10968

110-
> ### ⚠️ Warning
111-
> To see the available commands of the worker, you can execute:
112-
>```
113-
>!giskard worker --help
114-
>```
69+
For advanced and flexible usages, please check [our doc for ML worker](../../mlworker/index.md).
11570

11671
You're all set to try Giskard in action. Upload your first model, dataset or test suite by following the [upload an object](../../../upload/index.md) page.
117-
118-
::::::
119-
::::::{tab-item} From your terminal
120-
121-
* Run the following command **within the Python environment that contains all the dependencies of your model**:
122-
123-
```
124-
giskard worker start -k YOUR_KEY -u http://<your IP address>:19000/
125-
```
126-
The API Access Key (`YOUR_KEY`) can be found in the Settings tab of the Giskard Hub.
127-
128-
> ### ⚠️ Warning
129-
> To see the available commands of the worker, you can execute:
130-
>```
131-
>!giskard worker --help
132-
>```
133-
134-
You're all set to try Giskard in action. Upload your first model, dataset or test suite by following the [upload an object](../../../upload/index.md) page.
135-
136-
::::::
137-
:::::::

0 commit comments

Comments
 (0)