forked from qdrant/landing_page
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Privategpt integration docs. (qdrant#412)
* docs: privategpt integration * chore: social preview * Update qdrant-landing/content/documentation/integrations/privategpt.md Co-authored-by: Kacper Łukawski <[email protected]> * Apply suggestions from code review Co-authored-by: Kacper Łukawski <[email protected]> * Update qdrant-landing/content/documentation/integrations/privategpt.md Co-authored-by: Kacper Łukawski <[email protected]> * chore: review changes --------- Co-authored-by: Kacper Łukawski <[email protected]>
- Loading branch information
1 parent
13771d0
commit 3f8606e
Showing
2 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
52 changes: 52 additions & 0 deletions
52
qdrant-landing/content/documentation/integrations/privategpt.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
--- | ||
title: PrivateGPT | ||
weight: 1600 | ||
--- | ||
|
||
# PrivateGPT | ||
|
||
[PrivateGPT](https://docs.privategpt.dev/) is a production-ready AI project that allows you to inquire about your documents using Large Language Models (LLMs) with offline support. | ||
|
||
PrivateGPT supports Qdrant as a vectorstore for ingesting and retrieving documents. | ||
|
||
## Installation | ||
|
||
To enable Qdrant, install the qdrant extra within your PrivateGPT project first. | ||
|
||
```bash | ||
poetry install --extras qdrant | ||
``` | ||
|
||
## Configuration | ||
|
||
Qdrant settings can be configured by setting values to the qdrant property in the `settings.yaml` file. By default, Qdrant tries to connect to an instance at http://localhost:3000. | ||
|
||
Example: | ||
```yaml | ||
vectorstore: | ||
database: qdrant | ||
|
||
qdrant: | ||
url: "https://xyz-example.eu-central.aws.cloud.qdrant.io:6333" | ||
api_key: "<your-api-key>" | ||
``` | ||
The available [configuration options](https://docs.privategpt.dev/manual/storage/vector-stores#qdrant-configuration) are: | ||
| Field | Description | | ||
|--------------|-------------| | ||
| location | If `:memory:` - use in-memory Qdrant instance.<br>If `str` - use it as a `url` parameter.| | ||
| url | Either host or str of `Optional[scheme], host, Optional[port], Optional[prefix]`.<br> Eg. `http://localhost:6333` | | ||
| port | Port of the REST API interface. Default: `6333` | | ||
| grpc_port | Port of the gRPC interface. Default: `6334` | | ||
| prefer_grpc | If `true` - use gRPC interface whenever possible in custom methods. | | ||
| https | If `true` - use HTTPS(SSL) protocol.| | ||
| api_key | API key for authentication in Qdrant Cloud.| | ||
| prefix | If set, add `prefix` to the REST URL path.<br>Example: `service/v1` will result in `http://localhost:6333/service/v1/{qdrant-endpoint}` for REST API.| | ||
| timeout | Timeout for REST and gRPC API requests.<br>Default: 5.0 seconds for REST and unlimited for gRPC | | ||
| host | Host name of Qdrant service. If url and host are not set, defaults to 'localhost'.| | ||
| path | Persistence path for QdrantLocal. Eg. `local_data/private_gpt/qdrant`| | ||
| force_disable_check_same_thread | Force disable check_same_thread for QdrantLocal sqlite connection.| | ||
|
||
## Next steps | ||
|
||
Find the PrivateGPT docs [here](https://docs.privategpt.dev/). |
Binary file added
BIN
+593 KB
qdrant-landing/static/documentation/integrations/privategpt-social-preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.