Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seo #190

Merged
merged 8 commits into from
Nov 10, 2023
Merged

Seo #190

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/docs/advanced/build-from-sources/client.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: "Build BlindAI Client SDK on Linux/Windows: Follow our guide for dependencies, instructions, and development empowerment."
---

# Build the BlindAI Client SDK from source
_________________________________________________

Expand Down
4 changes: 4 additions & 0 deletions docs/docs/advanced/build-from-sources/server.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: "BlindAI server building guide: Ensure dependencies and hardware readiness, and follow steps for a secure setup."
---

# Build the server from source

!!! info
Expand Down
4 changes: 4 additions & 0 deletions docs/docs/advanced/contributing/blindai-project-structure.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: "Explore BlindAI's codebase structure: client, server, docs, and more for insightful organization of secure AI solutions."
---

# BlindAI Project Structure

Let us introduce you to the project directory structure for BlindAI.
Expand Down
4 changes: 4 additions & 0 deletions docs/docs/advanced/contributing/code_of_conduct.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: "BlindAI's inclusive community: Learn our Code of Conduct for respectful interaction and healthy environment maintenance."
---

# Contributor Covenant Code of Conduct
________________________________________

Expand Down
4 changes: 4 additions & 0 deletions docs/docs/advanced/contributing/contributing.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: "Contribute to BlindAI: Follow our guide for issue reporting, enhancements, and pull requests while upholding conduct standards."
---

# Contributing to BlindAI
_________________________________

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: "Set up BlindAI development: Clone the repository, install dependencies, and compile client/server for confident contribution."
---

### Development environment
If you want to make changes to the code, it is recommended you use our pre-configured development container, which contains all the dependencies you need to run and use blindai.

Expand Down
4 changes: 4 additions & 0 deletions docs/docs/advanced/verify_blindai.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: "Learn BlindAI's code integrity and security through remote attestation, with SGX2 machine testing for unauthorized modification protection."
---

### Verifying code integrity checks in BlindAI

The code integrity checks are part of the remote attestation process in BlindAI. It is a key security check which checks that the BlindAI application running in our server instance has not been tampered with.
Expand Down
4 changes: 4 additions & 0 deletions docs/docs/concepts/BlindAI_Core.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: "Discover BlindAI Core: Secure AI model serving with remote attestation, Python API, and hardware security for data protection."
---

# BlindAI Core: Overview
________________________________________

Expand Down
4 changes: 4 additions & 0 deletions docs/docs/concepts/SGX_vs_Nitro.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: "Explore Intel SGX vs. Nitro Enclaves in BlindAI: Attestation, Trusted Computing Bases, and data privacy in secure environments."
---

# Secure Enclaves
________________________________________

Expand Down
5 changes: 5 additions & 0 deletions docs/docs/getting-started/blindai_structure.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
title: "How is BlindAI structured?"
description: "Access AI models privately with BlindAI: Learn about API, Whisper integration, and secure model deployment with BlindAI Core."
---

# How is BlindAI structured?
________________

Expand Down
4 changes: 4 additions & 0 deletions docs/docs/getting-started/confidential_computing.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: "Understand BlindAI's data protection through Confidential Computing, Trusted Execution Environments, and attestation."
---

# How does BlindAI protect your data?
_________________________________

Expand Down
3 changes: 3 additions & 0 deletions docs/docs/getting-started/quick-tour.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,9 @@
}
],
"metadata": {
"mkdocs": {
"description": "Quick Tour of BlindAI API: Open-source Python library for private AI model access and Whisper model audio transcription."
},
"colab": {
"provenance": []
},
Expand Down
4 changes: 4 additions & 0 deletions docs/docs/getting-started/why-blindai.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: "Why choose BlindAI: AI model deployment with privacy in cloud/on-premise, using confidential computing and Intel SGX."
---

# Why BlindAI?
________________

Expand Down
3 changes: 3 additions & 0 deletions docs/docs/how-to-guides/covid_net_confidential.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -788,6 +788,9 @@
}
],
"metadata": {
"mkdocs": {
"description": "Secure AI model deployment with BlindAI for private Covid-19 diagnosis. Data privacy with SGX enclaves."
},
"colab": {
"collapsed_sections": [
"2RafHsNujNnZ"
Expand Down
4 changes: 4 additions & 0 deletions docs/docs/security/remote_attestation.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: "Improve SEO with our Intel SGX Remote Attestation guide: Learn secure enclave verification through ECDSA attestation."
---

# Remote attestation Implementation
__________________________________________

Expand Down
4 changes: 4 additions & 0 deletions docs/docs/security/threat_model.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: "Comprehend BlindAI's Threat Model for Intel SGX and Fortanix EDP: Threat agents, potential risks, and mitigation strategies."
---

# Threat model
__________________________________________

Expand Down
4 changes: 4 additions & 0 deletions docs/docs/tutorials/api/coming_soon.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: "BlindAI's open-source models with privacy: Explore Whisper ASR system and OpenChatKit for chatbots, with privacy tutorials."
---

# BlindAI API models
_________________________________

Expand Down
3 changes: 3 additions & 0 deletions docs/docs/tutorials/api/whisper_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,9 @@
}
],
"metadata": {
"mkdocs": {
"description": "Transcribe audio privately with Whisper and BlindAI API: Install Python library, transcribe securely with hardware attestation."
},
"colab": {
"provenance": []
},
Expand Down
4 changes: 4 additions & 0 deletions docs/docs/tutorials/core/installation.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: "BlindAI installation guide: Test without hardware security, deploy on Azure DCsv3 VM, and set up on-premise with Intel SGX+FLC."
---

# Installation
________________________________

Expand Down
5 changes: 5 additions & 0 deletions docs/docs/tutorials/core/uploading_models.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
"id": "WJ9jprifq1aH"
},
"source": [
"<meta name=\"description\" content=\"Upload and test ML models securely on BlindAI server: Ensure user data privacy and security during AI model deployment.\">\n",
"\n",
"<div id=\"colab_button\">\n",
" <h1>Uploading models</h1>\n",
" <a target=\"_blank\" href=\"https://colab.research.google.com/github/mithril-security/blindai/blob/main/docs/docs/tutorials/core/uploading_models.ipynb\"> \n",
Expand Down Expand Up @@ -1019,6 +1021,9 @@
}
],
"metadata": {
"mkdocs": {
"description": "Upload and test ML models securely on BlindAI server: Ensure user data privacy and security during AI model deployment."
},
"colab": {
"provenance": []
},
Expand Down
25 changes: 19 additions & 6 deletions docs/generate_api_reference.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
# script to generate the python API reference
# pdoc3 must be installed (pip install pdoc3)
pip install pdoc3
#!/bin/sh
set -e # Exit if any command fails

# Install pdoc3 for generating Python API documentation
pip install pdoc3

# Generate HTML documentation
pdoc --html --skip-errors --template-dir docs/pdoc_template -o docs/ client/blindai --force

# Remove pdoc3 version reference from generated HTML files
sed -i '/<p>Generated by <a href="https:\/\/pdoc3.github.io\/pdoc" title="pdoc: Python API documentation generator"><cite>pdoc<\/cite> 0.10.0<\/a>.<\/p>/d' docs/blindai/*.html
# script to generate the python API reference
# pdoc3 must be installed (pip install pdoc3)
set -e

# Add meta description tags to specific HTML files
rm docs/blindai/api.html

sed -i '/<head>/a <meta name="description" content="Use the blindai.audio class for Whisper-powered audio-text conversion, ensure security with Trusted Execution Environments.">' docs/blindai/audio.html
sed -i '/<head>/a <meta name="description" content="Use the blindai.client class for secure AI server connections, model uploads, and inferences. Boost data security with Python client module.">' docs/blindai/client.html
sed -i '/<head>/a <meta name="description" content="Dive into the blindai.core class: Secure server connections, attestation, and privacy-focused features in the BlindAI core module.">' docs/blindai/core.html
sed -i '/<head>/a <meta name="description" content="Explore the BlindAI package: AI privacy, audio processing, secure connections, and more in a robust Python toolkit.">' docs/blindai/index.html
sed -i '/<head>/a <meta name="description" content="Master the blindai.testing class: Start mock servers, validate AI solutions, and improve performance with BlindAI testing tools.">' docs/blindai/testing.html
sed -i '/<head>/a <meta name="description" content="Use the blindai.utils class for utility functions like certificate conversion and Whisper Tiny 20 tokens. Streamline AI workflows.">' docs/blindai/utils.html
4 changes: 4 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: "Discover BlindAI: Open-source AI privacy via Trusted Execution Environments and Python for secure model querying."
---

# 👋 Welcome to BlindAI!
________________________________________________________

Expand Down
3 changes: 1 addition & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ site_name: BlindAI
site_url: https://blindai.mithrilsecurity.io/en/latest/
site_author: Mithril Security
site_description: >-
Create a simple privacy framework for data science collaboration,
covering data exploration and machine learning.
Discover BlindAI: Open-source AI privacy via Trusted Execution Environments and Python for secure model querying.

# Repository
repo_name: mithril-security/blindai
Expand Down
Loading