Skip to content

Commit

Permalink
Merge branch 'docs/update'
Browse files Browse the repository at this point in the history
  • Loading branch information
janaka committed Mar 16, 2024
2 parents 98c2554 + 85015ad commit 3250af7
Show file tree
Hide file tree
Showing 6 changed files with 59 additions and 35 deletions.
28 changes: 13 additions & 15 deletions docs/overview/deployment-scenarios.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,21 @@
<!-- ## Deployment Scenarios -->
Docq can be deployed in several configurations trading off data isolation for operational convenience.

Docq is a **self-hosted, turnkey** software which means **for data security and privacy reasons we, the Docq Team does NOT offer a hosted service** because we believe that the best place to operate Docq is within your existing cloud infrastructure setup.
- **Isolated In Your Data centre**: Deploy on-prem on servers in your data centre. The most isolated hence most secure deployment. All your data stays within your data centre and enterprise network. LLMs will also have to be deployed on-premise to benefit from this option. We are happy to support you with a bespoke setup. **Bring LLMs to your data.**

It also lets a business adopting Docq operate exactly in the same way as they currently operate their IT infrastructure. You know best about your own operations.
- **Isolated In Your Cloud**: Deploy in your organisation's cloud account (Azure, AWS, GCP etc.). LLMs will need to be self-hosted in your cloud account. Similar to on-premise hosting, your data remains within network boundaries you control. **Bring LLMs to your data.**

Docq mainly caters for two deployment scenarios:
- **Flexible In Your Cloud**: Docq is deployed in your cloud account similar to the _Secure Cloud Deployment_ option above. But it's configured to use a serverless LLM service provided by one of the major cloud providers such as Azure OpenAI, AWS Bedrock Claude, or GCP Vertex Gemini Pro. This is suitable for organisations with less sensitive data.

- **Secure Cloud Deployment**: For businesses that prefer to keep all their organisational data private, Docq can be deployed and configured to operate within an organisation's cloud account (i.e. network boundary) in order to guarantee that **no data is sent to any 3rd-party** intentionally or accidentally.
- **Flexible Cloud Deployment**: For businesses having less stringent requirements on their data and 3rd-party access, Docq can be
- deployed in any major cloud infrastructure provider;
- and configured to use any major 3rd-party AI/LLMs vendors via their APIs.
- **SaaS Dedicated** - Your own dedicated instance of Docq hosted and operated by us in a Azure account dedicated to you. Your instance doesn't share any infrastructure with other organisations.

Plus
- **SaaS Multi-tenant Standard** aka [app.docq.ai](https://app.docq.ai) - An instance of Docq hosted and operated in our cloud provider account (Azure UK South region). Each organisations data is isolated but you are sharing a single instance of Docq and LLMs. This is the fastest way to get started with Docq. Head over to [https://docq.ai/#plans](https://docq.ai/#plans) to subscribe.

- **SaaS Multi-tenant** - An instance of Docq hosted and operated in our cloud provider account (Azure UK South region). Each organisations data is isolated but you are sharing a single instance of Docq and LLMs. This is the fast way to get going. Head over to [https://docq.ai/#plans](https://docq.ai/#plans) to subscribe.
- **SaaS Dedicated** - Your own dedicated instance of Docq hosted and operated in our cloud account. You don't share any infrastructure with other organisations.
- **On-Premise Deployment**: It is another option and we are happy to support you with a bespoke setup.

Docq has been designed from ground up for the secure cloud and on-prem deployment scenarios with strict data security and privacy requirement in mind. However it should not stop all other businesses from adopting Docq with the flexible deployment setup if it suits their requirements.
Docq has been designed from ground up to be able to cater for the scenarios with the strictest data privacy and security requirements. This will require one of the isolated deployment options. If you are working with less sensitive data you can leverage one of the other deployment options to lower setup and operational costs.

![Docq network overview](../assets/Docq_network_overview.png)

The diagram above demonstrates the possibilities of have different deployment setup for:
The diagram above visualises some of the different deployment configurations.

- **Data ingestion**: across-boundary _SaaS data connectors_ versus within-boundary _data storage locations_
- **LLMs utilisation**: across-boundary models via _3rd-party APIs_ versus within-boundary _vendor-hosted & self-hosted_ models
Expand All @@ -36,8 +30,12 @@ If your business have clear data security and privacy guidelines, we recommend o

Do consult your chosen cloud vendor for compliance.

We have infrastructure automation for Azure. We'll develop support for the others based on demand.

### Flexible Cloud Deployment

As an OSS product, Docq comes with source code that anybody could download and run anywhere in the world. Within each release, Docq offers Docker container images to be dropped into any container runtime. The choice is yours and it usually depends on your existing IT infrastructure.

The key configuration difference between _Secure_ and _Flexible_ deployments is **whether to allow 3rd-party LLMs access from Docq**, via these vendors' APIs. In a flexible deployment, it is up to you to decide the behaviour which may have implications on the compliance of your organisation's data security and privacy requirements.
The one requirement is to be able to mount a persistent drive into the container.

The key configuration difference between _Isolated_ and _Flexible_ deployments is **whether to allow Docq to use serverless LLMs hosted by cloud vendors or LLM providers them self**. In a flexible deployment, it is up to you to decide the behaviour which may have implications on the compliance of your organisation's data security and privacy requirements.
2 changes: 1 addition & 1 deletion docs/overview/design-principles.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ All of these are reflected in Docq's user interface and user experience design.

### Commercially-friendly Licensing & Support

Last but not least, we release Docq under a licensing structure where any business could use it as-is free-of-charge. For situations where a business wants to have a commercial agreement with both licensing and support for Docq, we can make the arrangement accordingly.
Last but not least, we release Docq under a licensing structure where any business could use it as-is free-of-charge. For situations where a business wants to have a commercial agreement with both licensing and support for Docq, we can make the arrangements accordingly.
15 changes: 13 additions & 2 deletions docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
:root {
--md-typeset-a-color: #542CF2;
}

[data-md-color-scheme="docq"] {
--md-primary-fg-color: #202020;
--md-primary-fg-color--light: #373737;
--md-primary-fg-color--dark: #373737;
--md-typeset-a-color: #542CF2;
//--md-typeset-a-color: #542CF2;
//--md-typeset-a-color: #4cae4f;
}

Expand All @@ -12,6 +16,7 @@
--md-primary-fg-color--dark: #373737;
--md-typeset-a-color: #542CF2;
//--md-typeset-a-color: #71c174;
//--md-hue: 140;
}

.mkapi-node code.mkapi-item-name, code.mkapi-object-parenthesis, code.mkapi-object-signature, span.mkapi-item-type, span.mkapi-item-dash, mkapi-item-description {
Expand All @@ -20,7 +25,7 @@
}

.mkapi-node code.mkapi-item-name {
color: var(--md-typeset-a-color);
//color: var(--md-typeset-a-color);
}

.mkapi-node ul.mkapi-items {
Expand All @@ -40,4 +45,10 @@

.mkapi-section-name {
color: var(--md-default-fg-color);
}

.md-header {
background-color: #542CF2;
background-image: linear-gradient(6deg, #784fed 40%, rgba(84,44,242,0.008) 80%);

}
24 changes: 20 additions & 4 deletions mkdocs.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
site_name: Docq - Private & Secure ChatGPT AI Knowledge Insight
site_name: Your private ChatGPT alternative.
site_url: https://docqai.github.io/docq
site_description: Docq offers self-hosted, private and secure ChatGPT on your private data with minimal onboarding and operational effort.
site_author: Docq Contributors
copyright: Copyright &copy; 2023 Docq Contributors
copyright: Copyright &copy; 2023 - 2024 Docq Contributors
site_dir: html
repo_name: docqai/docq
repo_url: https://github.com/docqai/docq
Expand Down Expand Up @@ -34,6 +34,21 @@ extra:
analytics:
provider: google
property: G-SML7XH761K
social:
- icon: fontawesome/brands/x-twitter
link: https://twitter.com/docqai
name: docqai
- icon: fontawesome/brands/slack
link: https://join.slack.com/t/docqai/shared_invite/zt-27p17lu6v-6KLJxSmt61vfNqCavSE73A
name: Join Slack
- icon: fontawesome/brands/linkedin
link: https://www.linkedin.com/company/docqai
name: linkedin.com/company/docqai
- icon: fontawesome/brands/medium
link: https://medium.com/@docqai
name: Blog
- icon: fontawesome/regular/envelope
link: mailto:<[email protected]>

extra_css:
- stylesheets/extra.css
Expand All @@ -43,14 +58,15 @@ theme:
logo: assets/logo.jpg
favicon: assets/favicon.png
language: en
palette:
palette:
- media: "(prefers-color-scheme: light)"
scheme: docq
accent: purple
toggle:
icon: material/lightbulb-outline
name: Switch to light mode
- media: "(prefers-color-scheme: dark)"
primary: custom
scheme: slate
accent: purple
toggle:
Expand All @@ -67,7 +83,7 @@ theme:
- navigation.sections

icon:
repo: fontawesome/brands/github-alt
repo: fontawesome/brands/github
admonition:
note: fontawesome/solid/note-sticky
abstract: fontawesome/solid/book
Expand Down
23 changes: 11 additions & 12 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ google-api-python-client = "^2.104.0"
google-auth-httplib2 = "^0.1.1"
microsoftgraph-python = "^1.1.6"
pydantic = "^2.5.2"
mkdocs-material = "^9.4.14"
mkdocs-material = "^9.5.13"
pyautogen = "^0.2.2"
termcolor = "^2.4.0"
google-cloud-aiplatform = "^1.38.0"
Expand Down

0 comments on commit 3250af7

Please sign in to comment.