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
-17Lines changed: 0 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,6 @@ Connect to OpenAI™ Chat Completion API
17
17
18
18
`chat = openAIChat(___,Name=Value)`
19
19
20
-
---
21
20
22
21
## Description
23
22
@@ -41,12 +40,8 @@ To connect to the OpenAI API, you need a valid API key. For information on how t
41
40
42
41
`chat = openAIChat(___,PropertyName=PropertyValue)` specifies properties that are settable at construction using one or more name\-value arguments.
43
42
44
-
---
45
-
46
43
## Input Arguments
47
44
48
-
---
49
-
50
45
### `systemPrompt` – System prompt
51
46
52
47
character vector | string scalar
@@ -57,12 +52,8 @@ Specify the system prompt and set the `SystemPrompt` property. The system prompt
57
52
58
53
**Example**: "You are a helpful assistant who provides answers to user queries in iambic pentameter."
59
54
60
-
---
61
-
62
55
## Name\-Value Arguments
63
56
64
-
---
65
-
66
57
### `APIKey` – OpenAI API key
67
58
68
59
character vector | string scalar
@@ -84,13 +75,9 @@ Custom functions used by the model to collect or generate additional data.
84
75
85
76
For an example, see [Analyze Scientific Papers Using ChatGPT Function Calls](../../examples/AnalyzeScientificPapersUsingFunctionCalls.md).
86
77
87
-
---
88
-
89
78
## Properties Settable at Construction
90
79
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.
0 commit comments