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: daprdocs/content/en/reference/api/conversation_api.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ POST http://localhost:<daprPort>/v1.0-alpha1/conversation/<llm-name>/converse
32
32
| --------- | ----------- |
33
33
|`inputs`| Inputs for the conversation. Multiple inputs at one time are supported. Required |
34
34
|`cacheTTL`| A time-to-live value for a prompt cache to expire. Uses Golang duration format. Optional |
35
-
|`scrubPII`| A boolean value to enable obfuscation of sensitive information returning from the LLM. Optional |
35
+
|`scrubPII`| A boolean value to enable obfuscation of sensitive information returning from the LLM. Set this value if all PII (across contents) in the request needs to be scrubbed. Optional |
36
36
|`temperature`| A float value to control the temperature of the model. Used to optimize for consistency and creativity. Optional |
37
37
|`metadata`|[Metadata](#metadata) passed to conversation components. Optional |
38
38
@@ -42,7 +42,7 @@ POST http://localhost:<daprPort>/v1.0-alpha1/conversation/<llm-name>/converse
42
42
| --------- | ----------- |
43
43
|`content`| The message content to send to the LLM. Required |
44
44
|`role`| The role for the LLM to assume. Possible values: 'user', 'tool', 'assistant' |
45
-
|`scrubPII`| A boolean value to enable obfuscation of sensitive information present in the content field. Optional |
45
+
|`scrubPII`| A boolean value to enable obfuscation of sensitive information present in the content field. Set this value if PII for this specific content needs to be scrubbed exclusively. Optional |
46
46
47
47
### Request content example
48
48
@@ -89,4 +89,4 @@ RESPONSE = {
89
89
## Next steps
90
90
91
91
-[Conversation API overview]({{< ref conversation-overview.md >}})
0 commit comments