- Graphwise Platform Documentation
- GraphRAG
- GraphRAG
- The Components Service API
- The Components Service Configuration
The Components Service Configuration
09/02/2026
The Components Service is configured using environment variables.
Variable | Default | Details |
|---|---|---|
|
| Embedding provider: |
| - | Embeddings model ID |
|
| AWS region (of the AWS provider) |
| - | OpenAI API key (of the OpenAI provider) |
| empty | The base url for OpenAI API, if not set, then it uses |
Variable | Default | Details |
|---|---|---|
|
| Vector store type (see below) |
|
| Default index name |
|
| Field containing embeddings |
Value | Details |
|---|---|
| AWS OpenSearch Serverless |
| Self-hosted OpenSearch |
| Elasticsearch |
Variable | Default | Details |
|---|---|---|
| Required; the URL of the Elasticsearch instance | |
|
| Username if Basic Auth is used |
|
| Password if Basic Auth is used |
|
| value ofthe |
Variable | Default | Details |
|---|---|---|
| - | Required; the URL of the OpenSearch instance |
400 - Bad request: returns string (error message)
500 - Internal server error: no response content, check the logs
503 - Service unavailable: service not ready
If EMBEDDING_PROVIDER=aws and/or OpenSearch is hosted on AWS
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
AWS_REGION
These can be provided as env variables, or via the AWS security chain - using .aws local file, or by other means.
If VECTOR_STORE=opensearch_selfhosted, then only self-hosted OpenSearch instances without security are supported.
If VECTOR_STORE=elasticsearch, then only self-hosted Elasticsearch instances without security are supported.
ELASTIC_USERNAME - an optional username for Elasticsearch if Basic Authentication is used.
ELASTIC_PASSWORD - an optional password for Elasticsearch if Basic Authentication is used.