Skip to content

Commit

Permalink
Merge pull request #2074 from Giskard-AI/feature/gsk-3941-fix-azure-o…
Browse files Browse the repository at this point in the history
…penai-client-setup-docs

[GSK-3941] Fix Azure/OpenAI client setup docs
  • Loading branch information
kevinmessiaen authored Nov 18, 2024
2 parents 32b9e1b + da2af3a commit 91c5e5e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/open_source/scan/scan_llm/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ os.environ['OPENAI_API_VERSION'] = '2023-07-01-preview'
# You'll need to provide the name of the model that you've deployed
# Beware, the model provided must be capable of using function calls
giskard.llm.set_llm_model('my-gpt-4-model')
giskard.llm.embeddings.set_embedding_model('my-embedding-model')
giskard.llm.embeddings.openai.set_embedding_model('my-embedding-model')
```

::::::
Expand Down
2 changes: 1 addition & 1 deletion docs/open_source/setting_up/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ os.environ['OPENAI_API_VERSION'] = '2023-07-01-preview'
# You'll need to provide the name of the model that you've deployed
# Beware, the model provided must be capable of using function calls
giskard.llm.set_llm_model('my-gpt-4-model')
giskard.llm.embeddings.set_embedding_model('my-embedding-model')
giskard.llm.embeddings.openai.set_embedding_model('my-embedding-model')
```

## Mistral Client Setup
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ os.environ['OPENAI_API_VERSION'] = '2023-07-01-preview'
# You'll need to provide the name of the model that you've deployed
# Beware, the model provided must be capable of using function calls
giskard.llm.set_llm_model('my-gpt-4-model')
giskard.llm.embeddings.set_embedding_model('my-embedding-model')
giskard.llm.embeddings.openai.set_embedding_model('my-embedding-model')
```

::::::
Expand Down

0 comments on commit 91c5e5e

Please sign in to comment.