Skip to content

Ask Worldknowledge

POST
/api/creative/world-knowledge/chat

Ask WorldKnowledge a freeform question about real-world facts or world rules.

WorldKnowledge can search Wikipedia, fact-check documents, manage world rules, and cross-reference with the author’s lore database.

WorldKnowledgeChatRequest

Freeform chat request to the WorldKnowledge agent.

object
message
required
Message
string
conversationHistory
Conversationhistory
Array<object>
<= 50 items
object
key
additional properties
string
context
Any of:
AgentChatContext

Ambient author context attached to a freeform agent request.

object
activeUrl
Any of:
string
pageTitle
Any of:
string
pageContentExcerpt
Any of:
string
activeDocumentTitle
Any of:
string
activeDocumentExcerpt
Any of:
string

Successful Response

WorldKnowledgeChatResponse

Response from WorldKnowledge freeform chat.

object
response
required
Response
string

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object