Skip to content

Chatgpt retrieval plugin

services.chatgpt-retrieval-plugin.bearerTokenPath

Path to the secret bearer token used for the http api authentication.

Type: path

Default

""

Example

"config.age.secrets.CHATGPT_RETRIEVAL_PLUGIN_BEARER_TOKEN.path"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/chatgpt-retrieval-plugin.nix

services.chatgpt-retrieval-plugin.datastore

This specifies the vector database provider you want to use to store and query embeddings. Type: one of "pinecone", "weaviate", "zilliz", "milvus", "qdrant", "redis"

Default

"qdrant"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/chatgpt-retrieval-plugin.nix

services.chatgpt-retrieval-plugin.enable

Whether to enable chatgpt-retrieval-plugin service. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/chatgpt-retrieval-plugin.nix

services.chatgpt-retrieval-plugin.host

The hostname or IP address for chatgpt-retrieval-plugin to bind to. Type: string

Default

"127.0.0.1"

Example

"0.0.0.0"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/chatgpt-retrieval-plugin.nix

services.chatgpt-retrieval-plugin.openaiApiKeyPath

Path to the secret openai api key used for embeddings.

Type: path

Default

""

Example

"config.age.secrets.CHATGPT_RETRIEVAL_PLUGIN_OPENAI_API_KEY.path"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/chatgpt-retrieval-plugin.nix

services.chatgpt-retrieval-plugin.port

Port the chatgpt-retrieval-plugin service listens on. Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default

8080

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/chatgpt-retrieval-plugin.nix

services.chatgpt-retrieval-plugin.qdrantCollection

name of the qdrant collection used to store documents.

Type: string

Default

"document_chunks"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/chatgpt-retrieval-plugin.nix