Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/pages/api-reference/liveblocks-node.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3165,6 +3165,9 @@ const copilot = await liveblocks.createAiCopilot({
// Optional, additional knowledge context for the copilot
knowledgePrompt: "Use our company's style guide when providing examples.",

// Optional, always retrieve knowledge sources on each query
alwaysUseKnowledge: true,

// Required, the AI provider to use
provider: "openai",

Expand Down Expand Up @@ -3297,6 +3300,9 @@ const updatedCopilot = await liveblocks.updateAiCopilot("co_abc123...", {
// Optional, update the knowledge prompt
knowledgePrompt: "Reference our latest guidelines.",

// Optional, always retrieve knowledge sources on each query
alwaysUseKnowledge: true,

// Optional, update provider-specific options (replaces the entire nested options object)
// Set to null to clear options
providerOptions: null,
Expand Down
Loading