Writer
writerWriter is a full-stack generative AI platform for enterprises, offering tools to build and deploy AI applications integrated with their suite of LLMs, graph-based RAG tools, and AI guardrails.
Acciones disponibles (13)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Ask Question to Knowledge GraphWRITER_ASK_QUESTION_TO_KNOWLEDGE_GRAPHAcciónTool to send a question to the knowledge graph and retrieve the answer. use after defining your question and optional context.
WRITER_ASK_QUESTION_TO_KNOWLEDGE_GRAPHAcciónTool to send a question to the knowledge graph and retrieve the answer. use after defining your question and optional context.
Parámetros de entrada
contextobject[]Optional list of context key/value pairs to provide additional information
questionstringObligatorioThe question to ask the knowledge graph
graph_idsstring[]ObligatorioList of knowledge graph identifiers to target
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Chat CompletionWRITER_CHAT_COMPLETIONAcciónTool to generate chat-based completions. use when you need conversational ai responses; call after assembling system and user messages.
WRITER_CHAT_COMPLETIONAcciónTool to generate chat-based completions. use when you need conversational ai responses; call after assembling system and user messages.
Parámetros de entrada
nintegerNumber of chat completion choices to generate
stopstringUp to 4 sequences where the API will stop generating further tokens
modelstringModel identifier to use for the chat completion
top_pnumberNucleus sampling probability threshold
streambooleanWhether to stream back partial progress as server-sent events
messagesobject[]ObligatorioConversation history in order. Required.
max_tokensintegerMaximum number of tokens to generate
temperaturenumberSampling temperature; higher values produce more random output
presence_penaltynumberPenalty for new tokens based on presence in the text so far
frequency_penaltynumberPenalty for new tokens based on their frequency in the text so far
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Knowledge GraphWRITER_CREATE_KNOWLEDGE_GRAPHAcciónTool to create a new knowledge graph. use after defining nodes and edges to persist the graph.
WRITER_CREATE_KNOWLEDGE_GRAPHAcciónTool to create a new knowledge graph. use after defining nodes and edges to persist the graph.
Parámetros de entrada
namestringObligatorioThe name of the knowledge graph
edgesobject[]ObligatorioList of edges in the knowledge graph
nodesobject[]ObligatorioList of nodes in the knowledge graph
descriptionstringA short description for the knowledge graph
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete GraphWRITER_DELETE_GRAPHAcciónTool to delete a knowledge graph by its id. use when you need to remove a graph after confirming its identifier.
WRITER_DELETE_GRAPHAcciónTool to delete a knowledge graph by its id. use when you need to remove a graph after confirming its identifier.
Parámetros de entrada
graph_idstringObligatorioUnique identifier of the graph to delete.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List ApplicationsWRITER_LIST_APPLICATIONSAcciónTool to list all no-code agent applications. use when you need to retrieve all registered applications.
WRITER_LIST_APPLICATIONSAcciónTool to list all no-code agent applications. use when you need to retrieve all registered applications.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List FilesWRITER_LIST_FILESAcciónTool to list all uploaded files. use when you need to retrieve a paginated set of user files, optionally filtered by status, graph, or type. use after uploading files to inspect available files.
WRITER_LIST_FILESAcciónTool to list all uploaded files. use when you need to retrieve a paginated set of user files, optionally filtered by status, graph, or type. use after uploading files to inspect available files.
Parámetros de entrada
afterstringCursor for returning the next page of results; set to the last file ID of the prior page.
limitintegerMax number of files to return (1-100). Defaults to 50.
orderstringenumSorting order for results: 'asc' (oldest first) or 'desc' (newest first).
ascdescbeforestringCursor for returning the previous page of results; set to the first file ID of the prior page.
statusstringenumFilter files by status.
in_progresscompletedfailedgraph_idstringFilter files by a specific knowledge graph ID.
file_typesstringComma-separated list of file extensions to include, e.g. 'pdf,docx,jpg'.
Parámetros de salida
dataobject[]ObligatorioPage of file objects.
errorstringError if any occurred during the execution of the action
last_idstringID of the last file in this page.
first_idstringID of the first file in this page.
has_morebooleanObligatorioTrue if more files are available beyond this page.
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Knowledge GraphsWRITER_LIST_GRAPHSAcciónTool to retrieve a list of knowledge graphs. use when you need an overview of existing graphs.
WRITER_LIST_GRAPHSAcciónTool to retrieve a list of knowledge graphs. use when you need an overview of existing graphs.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List ModelsWRITER_LIST_MODELSAcciónTool to list all available language models. use when you need to discover which models can be used for completions.
WRITER_LIST_MODELSAcciónTool to list all available language models. use when you need to discover which models can be used for completions.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobject[]ObligatorioArray of available models information
errorstringError if any occurred during the execution of the action
objectstringObligatorioTop-level object type, e.g., 'list'
successfulbooleanObligatorioWhether or not the action execution was successful or not
Medical Text ComprehensionWRITER_MEDICAL_COMPREHENDAcciónTool to extract medical entities and concepts from unstructured clinical text. use when you need to label medical text with standardized codes such as snomed ct.
WRITER_MEDICAL_COMPREHENDAcciónTool to extract medical entities and concepts from unstructured clinical text. use when you need to label medical text with standardized codes such as snomed ct.
Parámetros de entrada
textstringObligatorioThe clinical or medical text to analyze (max 20,000 characters).
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve Knowledge GraphWRITER_RETRIEVE_GRAPHAcciónTool to retrieve a knowledge graph by its id. use when you need details of an existing graph.
WRITER_RETRIEVE_GRAPHAcciónTool to retrieve a knowledge graph by its id. use when you need details of an existing graph.
Parámetros de entrada
graph_idstringObligatorioUnique identifier of the knowledge graph to retrieve
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Text GenerationWRITER_TEXT_GENERATIONAcciónTool to generate text based on a given prompt. use when you need model-driven completions after crafting a prompt.
WRITER_TEXT_GENERATIONAcciónTool to generate text based on a given prompt. use when you need model-driven completions after crafting a prompt.
Parámetros de entrada
stopstring[]Sequences where the API will stop generating.
modelstringObligatorioThe name of the model to use for generation.
top_pnumberNucleus sampling parameter between 0 and 1.
promptstringObligatorioThe text prompt for the model.
max_tokensintegerMaximum number of tokens in the generated output.
temperaturenumberSampling temperature between 0 and 2.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Knowledge GraphWRITER_UPDATE_GRAPHAcciónTool to update an existing knowledge graph. use after confirming the graph id. specify at least one of name, data, or description to modify.
WRITER_UPDATE_GRAPHAcciónTool to update an existing knowledge graph. use after confirming the graph id. specify at least one of name, data, or description to modify.
Parámetros de entrada
dataobjectUpdated data structure or points for the graph
namestringNew name for the graph
graph_idstringObligatorioThe unique identifier of the graph to update
descriptionstringNew description for the graph
Parámetros de salida
idstringObligatorioUnique identifier of the graph
dataobjectObligatorioData structure of the graph
namestringObligatorioName of the graph
errorstringError if any occurred during the execution of the action
created_atstringObligatorioISO timestamp when the graph was created
successfulbooleanObligatorioWhether or not the action execution was successful or not
updated_atstringObligatorioISO timestamp when the graph was last updated
descriptionstringDescription of the graph
Web SearchWRITER_WEB_SEARCHAcciónTool to perform a web search. use when you need relevant web page results for a given query.
WRITER_WEB_SEARCHAcciónTool to perform a web search. use when you need relevant web page results for a given query.
Parámetros de entrada
limitintegerMaximum number of results to return
querystringObligatorioThe search query string
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not