This repository was archived by the owner on May 10, 2024. It is now read-only.
Commit 02d2430
authored
Update embeddings.md
Without "api_version" will raise an error like this: "MyProjectPath/openai/api_resources/abstract/engine_api_resource.py", line 37, in class_url
raise error.InvalidRequestError(
TypeError: __init__() missing 1 required positional argument: 'param'
Corresponding code:
if not api_version:
raise error.InvalidRequestError(
"An API version is required for the Azure API type."
)
Please take a look ~1 parent 0ed1bcd commit 02d2430
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
| |||
0 commit comments