9
9
/**
10
10
* Creates a user message entry
11
11
*
12
- * @param input The input message from the user
13
- * @param options Any additional options that will be directly passed to the model
14
- * @returns a message entry
12
+ * @param input The input message from the user.
13
+ * @param options Any additional options that will be directly passed to the model.
14
+ * @returns A message entry.
15
15
*/
16
16
export function user (
17
17
input : string | UserContent [ ] ,
@@ -36,9 +36,9 @@ export function user(
36
36
/**
37
37
* Creates a system message entry
38
38
*
39
- * @param input The system prompt
40
- * @param options Any additional options that will be directly passed to the model
41
- * @returns a message entry
39
+ * @param input The system prompt.
40
+ * @param options Any additional options that will be directly passed to the model.
41
+ * @returns A message entry.
42
42
*/
43
43
export function system (
44
44
input : string ,
@@ -55,9 +55,9 @@ export function system(
55
55
/**
56
56
* Creates an assistant message entry for example for multi-shot prompting
57
57
*
58
- * @param input The assistant response
59
- * @param options Any additional options that will be directly passed to the model
60
- * @returns a message entry
58
+ * @param content The assistant response.
59
+ * @param options Any additional options that will be directly passed to the model.
60
+ * @returns A message entry.
61
61
*/
62
62
export function assistant (
63
63
content : string | AssistantContent [ ] ,
0 commit comments