Fix endpoint attribute
This commit is contained in:
parent
092549ccd4
commit
ab6e0becdc
2 changed files with 2 additions and 2 deletions
|
@ -218,7 +218,7 @@ All that remains now is to modify our application so that it uses our AI service
|
|||
```patch
|
||||
client = OpenAI(
|
||||
- api_key=os.environ.get("OPENAI_API_KEY"),
|
||||
+ endpoint="https://ia.example.com/v1",
|
||||
+ base_url="https://ia.example.com/v1",
|
||||
)
|
||||
```
|
||||
|
||||
|
|
|
@ -214,7 +214,7 @@ Reste maintenant à modifier notre application pour qu'elle utilise notre servic
|
|||
```patch
|
||||
client = OpenAI(
|
||||
- api_key=os.environ.get("OPENAI_API_KEY"),
|
||||
+ endpoint="https://ia.example.com/v1",
|
||||
+ base_url="https://ia.example.com/v1",
|
||||
)
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue