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: doc/functions/openAIChat.md
+5-7Lines changed: 5 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ Connect to OpenAI® Chat Completion API
12
12
`chat = openAIChat(systemPrompt)`
13
13
14
14
15
-
`chat = openAIChat(___,ApiKey=key)`
15
+
`chat = openAIChat(___,APIKey=key)`
16
16
17
17
18
18
`chat = openAIChat(___,Name=Value)`
@@ -38,9 +38,7 @@ To connect to the OpenAI API, you need a valid API key. For information on how t
38
38
`chat = openAIChat(___,Name=Value)` specifies additional options using one or more name\-value arguments.
39
39
40
40
41
-
`chat = openAIChat(___,PropertyName=PropertyValue)` specifies properties that are settable at construction using one or more name\-value arguments.
42
-
43
-
## Input Arguments
41
+
# Input Arguments
44
42
45
43
### `systemPrompt` – System prompt
46
44
@@ -75,7 +73,7 @@ Custom functions used by the model to collect or generate additional data.
75
73
76
74
For an example, see [Analyze Scientific Papers Using ChatGPT Function Calls](../../examples/AnalyzeScientificPapersUsingFunctionCalls.md).
77
75
78
-
##Properties Settable at Construction
76
+
# Properties Settable at Construction
79
77
Optionally specify these properties at construction using name-value arguments. Specify `PropertyName1=PropertyValue1,...,PropertyNameN=PropertyValueN`, where `PropertyName` is the property name and `PropertyValue` is the corresponding value.
80
78
81
79
### `ModelName` – Model name
@@ -110,7 +108,7 @@ Top probability mass for controlling the diversity of the generated output using
110
108
111
109
### `StopSequences` – Stop sequences
112
110
113
-
`""` (default) | string array with between `1` and `4` elements
111
+
`[]` (default) | string array with between `0` and `4` elements
114
112
115
113
116
114
Sequences that stop generation of tokens.
@@ -197,7 +195,7 @@ The JSON response format is not supported for these models:
0 commit comments