mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 00:16:23 +02:00
Fix AWS env vars in templates (#295)
This commit is contained in:
parent
d1e9577e7f
commit
5b5ae1c008
3 changed files with 9 additions and 8 deletions
|
|
@ -113,8 +113,9 @@ Choose one of the `Docker Compose` files that meets your preferred model and gra
|
|||
### AWS Bedrock API
|
||||
|
||||
```
|
||||
export AWS_ID_KEY=<ID-KEY-HERE>
|
||||
export AWS_SECRET_KEY=<TOKEN-GOES-HERE>
|
||||
export AWS_ACCESS_KEY_ID=<ID-KEY-HERE>
|
||||
export AWS_SECRET_ACCESS_KEY=<TOKEN-GOES-HERE>
|
||||
export AWS_DEFAULT_REGION=<REGION-HERE>
|
||||
docker compose -f tg-launch-bedrock-cassandra.yaml up -d # Using Cassandra as the graph store
|
||||
docker compose -f tg-launch-bedrock-neo4j.yaml up -d # Using Neo4j as the graph store
|
||||
```
|
||||
|
|
|
|||
|
|
@ -20,9 +20,9 @@ local chunker = import "chunker-recursive.jsonnet";
|
|||
create:: function(engine)
|
||||
|
||||
local envSecrets = engine.envSecrets("bedrock-credentials")
|
||||
.with_env_var("AWS_ID_KEY", "aws-id-key")
|
||||
.with_env_var("AWS_SECRET", "aws-secret")
|
||||
.with_env_var("AWS_REGION", "aws-region");
|
||||
.with_env_var("AWS_ACCESS_KEY_ID", "aws-id-key")
|
||||
.with_env_var("AWS_SECRET_ACCESS_KEY", "aws-secret")
|
||||
.with_env_var("AWS_DEFAULT_REGION", "aws-region");
|
||||
|
||||
local containerRag =
|
||||
engine.container("text-completion-rag")
|
||||
|
|
|
|||
|
|
@ -20,9 +20,9 @@ local chunker = import "chunker-recursive.jsonnet";
|
|||
create:: function(engine)
|
||||
|
||||
local envSecrets = engine.envSecrets("bedrock-credentials")
|
||||
.with_env_var("AWS_ID_KEY", "aws-id-key")
|
||||
.with_env_var("AWS_SECRET", "aws-secret")
|
||||
.with_env_var("AWS_REGION", "aws-region");
|
||||
.with_env_var("AWS_ACCESS_KEY_ID", "aws-id-key")
|
||||
.with_env_var("AWS_SECRET_ACCESS_KEY", "aws-secret")
|
||||
.with_env_var("AWS_DEFAULT_REGION", "aws-region");
|
||||
|
||||
local container =
|
||||
engine.container("text-completion")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue