mirror of https://github.com/dapr/docs.git
Update conversation_api.md (#4589)
Signed-off-by: Siri Varma Vegiraju <siri.varma@outlook.com> Co-authored-by: Whit Waldo <whit.waldo@innovian.net> Co-authored-by: Mark Fussell <markfussell@gmail.com>
This commit is contained in:
parent
2a9367884d
commit
52f4c15ee3
|
@ -32,7 +32,7 @@ POST http://localhost:<daprPort>/v1.0-alpha1/conversation/<llm-name>/converse
|
|||
| --------- | ----------- |
|
||||
| `inputs` | Inputs for the conversation. Multiple inputs at one time are supported. Required |
|
||||
| `cacheTTL` | A time-to-live value for a prompt cache to expire. Uses Golang duration format. Optional |
|
||||
| `scrubPII` | A boolean value to enable obfuscation of sensitive information returning from the LLM. Optional |
|
||||
| `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 |
|
||||
| `temperature` | A float value to control the temperature of the model. Used to optimize for consistency and creativity. Optional |
|
||||
| `metadata` | [Metadata](#metadata) passed to conversation components. Optional |
|
||||
|
||||
|
@ -42,7 +42,7 @@ POST http://localhost:<daprPort>/v1.0-alpha1/conversation/<llm-name>/converse
|
|||
| --------- | ----------- |
|
||||
| `content` | The message content to send to the LLM. Required |
|
||||
| `role` | The role for the LLM to assume. Possible values: 'user', 'tool', 'assistant' |
|
||||
| `scrubPII` | A boolean value to enable obfuscation of sensitive information present in the content field. Optional |
|
||||
| `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 |
|
||||
|
||||
### Request content example
|
||||
|
||||
|
@ -89,4 +89,4 @@ RESPONSE = {
|
|||
## Next steps
|
||||
|
||||
- [Conversation API overview]({{< ref conversation-overview.md >}})
|
||||
- [Supported conversation components]({{< ref supported-conversation >}})
|
||||
- [Supported conversation components]({{< ref supported-conversation >}})
|
||||
|
|
Loading…
Reference in New Issue