Skip to content

Commit 4563e70

Browse files
Cosmetic fixes
1 parent a7c469a commit 4563e70

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

doc/functions/openAIChat.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Connect to OpenAI® Chat Completion API
1212
`chat = openAIChat(systemPrompt)`
1313

1414

15-
`chat = openAIChat(___,ApiKey=key)`
15+
`chat = openAIChat(___,APIKey=key)`
1616

1717

1818
`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
3838
`chat = openAIChat(___,Name=Value)` specifies additional options using one or more name\-value arguments.
3939

4040

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
4442

4543
### `systemPrompt` – System prompt
4644

@@ -75,7 +73,7 @@ Custom functions used by the model to collect or generate additional data.
7573

7674
For an example, see [Analyze Scientific Papers Using ChatGPT Function Calls](../../examples/AnalyzeScientificPapersUsingFunctionCalls.md).
7775

78-
## Properties Settable at Construction
76+
# Properties Settable at Construction
7977
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.
8078

8179
### `ModelName` – Model name
@@ -110,7 +108,7 @@ Top probability mass for controlling the diversity of the generated output using
110108

111109
### `StopSequences` – Stop sequences
112110

113-
`""` (default) | string array with between `1` and `4` elements
111+
`[]` (default) | string array with between `0` and `4` elements
114112

115113

116114
Sequences that stop generation of tokens.
@@ -197,7 +195,7 @@ The JSON response format is not supported for these models:
197195
- `ModelName="gpt-4-0613"`
198196

199197

200-
## Other Properties
198+
# Other Properties
201199

202200
### `SystemPrompt` – System prompt
203201

0 commit comments

Comments
 (0)