mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-05-29 17:25:15 +02:00
This commit is contained in:
parent
1c7568ea9e
commit
c697b36c8c
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
|
### 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-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
|
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:
|
> To confirm all Docker volumes have been removed, check that the following list is empty:
|
||||||
> ```
|
> ```
|
||||||
> docker volume ls
|
> docker volume ls
|
||||||
> ```
|
> ```
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ default_subscriber = module
|
||||||
default_model = 'gpt-3.5-turbo'
|
default_model = 'gpt-3.5-turbo'
|
||||||
default_temperature = 0.0
|
default_temperature = 0.0
|
||||||
default_max_output = 4096
|
default_max_output = 4096
|
||||||
default_api_key = os.getenv("OPENAI_KEY")
|
default_api_key = os.getenv("OPENAI_TOKEN")
|
||||||
|
|
||||||
class Processor(ConsumerProducer):
|
class Processor(ConsumerProducer):
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue