You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -91,7 +91,7 @@ OpenAI.configure do |config|
91
91
end
92
92
```
93
93
94
-
### Azure
94
+
####Azure
95
95
96
96
To use the [Azure OpenAI Service](https://learn.microsoft.com/en-us/azure/cognitive-services/openai/) API, you can configure the gem like this:
97
97
@@ -164,9 +164,9 @@ client.chat(
164
164
# => "Anna is a young woman in her mid-twenties, with wavy chestnut hair that falls to her shoulders..."
165
165
```
166
166
167
-
### Function Calling
167
+
### Functions
168
168
169
-
Developers can describe functions and have the model intelligently choose to output a JSON object containing arguments to call those functions.
169
+
You can describe and pass in functions and the model will intelligently choose to output a JSON object containing arguments to call those them. For example, if you want the model to use your method `get_current_weather` to get the current weather in a given location:
0 commit comments