mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 00:16:23 +02:00
Confusion between OPENAI_KEY and OPENAI_TOKEN: settled on OPENAI_TOKEN. (#161)
This commit is contained in:
parent
081dd697c4
commit
0253281727
2 changed files with 3 additions and 3 deletions
|
|
@ -186,7 +186,7 @@ To change the `Ollama` model, first make sure the desired model has been pulled
|
|||
### OpenAI API
|
||||
|
||||
```
|
||||
export OPENAI_KEY=<TOKEN-GOES-HERE>
|
||||
export OPENAI_TOKEN=<TOKEN-GOES-HERE>
|
||||
docker compose -f tg-launch-openai-cassandra.yaml up -d # Using Cassandra as the graph store
|
||||
docker compose -f tg-launch-openai-neo4j.yaml up -d # Using Neo4j as the graph store
|
||||
```
|
||||
|
|
@ -458,4 +458,4 @@ docker compose -f tg-launch-<model-deployment>-<graph-store>.yaml down -v
|
|||
> To confirm all Docker volumes have been removed, check that the following list is empty:
|
||||
> ```
|
||||
> docker volume ls
|
||||
> ```
|
||||
> ```
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ default_subscriber = module
|
|||
default_model = 'gpt-3.5-turbo'
|
||||
default_temperature = 0.0
|
||||
default_max_output = 4096
|
||||
default_api_key = os.getenv("OPENAI_KEY")
|
||||
default_api_key = os.getenv("OPENAI_TOKEN")
|
||||
|
||||
class Processor(ConsumerProducer):
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue