analyzeTextForIntentAndEntities
chainalign-backend / gemini / analyzeTextForIntentAndEntities
Function: analyzeTextForIntentAndEntities()
analyzeTextForIntentAndEntities(
text,tenantId,user):Promise<any>
Defined in: gemini.js:33
Analyzes text for intent and entities using Gemini via AIGateway.
Parameters
text
string
The text to analyze.
tenantId
string
The ID of the tenant making the request.
user
any
The user object (e.g., from req.user).
Returns
Promise<any>
An object containing intent and entities.