Hello
I'm trying to create a Chat Engine using node js and the module discoveryengine, this creation offers different type of options like SOLUTION_TYPE_RECOMMENDATION, SOLUTION_TYPE_GENERATIVE_CHAT, SOLUTION_TYPE_CHAT, most options work´s fine but when I tried to create an engine type SOLUTION_TYPE_CHAT, the response is always the same:
Error creating engine: Error: 13 INTERNAL: Internal error encountered. Please try again. If the issue persists, please contact our support team.
I appreciate if somebody can help me, because i don't undestand what I`m doing wrong.
I share the code i`m using:
const {EngineServiceClient} = require('@google-cloud/discoveryengine').v1beta; const client = new EngineServiceClient(); const request = { parent: `projects/YOUR_PROJECT_ID/locations/global`, engineId: "engine-test-569", engine: { displayName: "local Bot", solutionType: "SOLUTION_TYPE_CHAT", dataStoreIds: ["test-5454654"], } }; try { const [operation] = await client.createEngine(request); // Wait for the operation to complete const [response] = await operation.promise(); console.debug('Engine created successfully:', response); } catch (error) { console.error('Error creating engine:', error); }
In addition to this, i want to relate this engine with an existing agent created with dialogflow cx.
Hi @ccardenass85,
Welcome to Google Cloud Community!
Here are some strategies you can consider to potentially resolve your issue:
In addition, if you want to relate the Discovery Engine chat engine to an existing Dialogflow CX agent, you may consider the following:
1. Agent Setup:
3. Discovery Engine Integration:
You can also refer to the following documents for more details when integrating with Dialogflow CX:
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.