Aino agents (IRPCAgent)

View as Markdown

Connects M-Files clients to the Aino agents of M-Files Cloud.

gRPC serviceMFiles.IRPCAgent
Book and levelVault API, standard
Methods3
Proto filemfiles/IRPCAgent.proto

Overview

The M-Files clients use this service for Aino features. The server forwards each request to the Aino agent service on behalf of the session's user and returns the agent's answer. The payloads are text documents in formats defined by the M-Files clients and the agent service, and they change with them; applications should not depend on them.

Prerequisites: a vault session of a user, and a vault whose subscription includes Aino; without it the calls fail with "Your current subscription does not include the specified feature.". Methods that are not available on the server fail with "Not implemented.". When the agent service cannot be reached, or fails, the call fails with "Aino agent request failed." (or "Aino Summarization failed."); the details are only in the server log.

Methods

MethodSummaryFacts
AgentCreateSummarizationCreates an Aino summary of a set of objects. Used by M-Files clients; the request and response formats are internal to them.write session idempotent returns metadata structure version
CallAgentApiV2Calls version 2 of the Aino agent service API for the session's user and returns the HTTP status and body. A temporary bridge for M-Files clients that cannot call the agent service directly; it will be deprecated when they can.write session returns metadata structure version
CreateAgentResponseSends one turn to the general Aino agent and returns its answer. Used by M-Files clients; the request and response formats are internal to them.write session idempotent returns metadata structure version