--- title: "ML" slug: "real-time-guidance-gen-qa-ml" updated: 2026-06-24T11:28:13Z published: 2026-06-24T11:28:13Z canonical: "docs.sestek.com/real-time-guidance-gen-qa-ml" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.sestek.com/llms.txt > Use this file to discover all available pages before exploring further. # ML ⚠ Deprecation Notice The ability to use RAG-based GenQ&A feature directly through the ML is deprecated and will no longer be supported in an upcoming release. To ensure uninterrupted access to these features, please migrate to the [AI Agent integration](/v1/docs/real-time-guidance-gen-qa-va). It is further explained the configuration steps to use Generative Q&A feature through ML. Generative Q&A can be used with ML only, without the need of AI Agent. You can use Generative Q&A exclusively with ML, eliminating the need for AI Agent. When Agent Assist is sold as premium package and VA will not be used, this method can be used. Important ML is developed mostly to be used by other services/ products, hence it is commonly used via APIs, instead of its own interface directly. That is why the required ML configurations for Agent Assist cannot be done in the interface, but has to be done via APIs (postman). ## Configuration Steps Prerequisites You must have an ML client to use ML APIs. This client will be created by Salesop/Support teams. The client must have **SestekAI_External** scope. ### ML Configurations 1. Use **{{identityUrl}}/connect/token** method to get required access token. ClientId and clientSecret must be send in the request body. 2. Use **{{baseUrl}}/sestekai-api/api/external/generative-question-answering-trainings/setting** method to set openAI settings that is required for Gen&A. **Example request:** ``` { "projectName": "Generative-QA-RTG", "provider": "openai", "apiKey": "sk-proj-g61YdoY3y7Bc5111111111111yWyx4uUPqRXX0ICVQKyyyyyyyyyyy8oT3BlbkFJSlvy4VtW2222222222gLxsGl0WA3i0Fi3s3rStUtQi_D-XE08YW589xxxxxxxxx", "model": "gpt-4o-mini", "embeddingName":"text-embedding-3-large" } ``` **Example response:** ``` { "projectName": "Generative-QA-RTG", "provider": "openai", "apiKey": "CnWPqlDrMDYFdh00000000000OPfO8oPSykngGJAFgmKxPlKgvZqqqqqqqqqqqqk0urJg0qm9Mx4LUyBmVxvPLVAEqqqqqqqqqqqqqMyv+GfT7Hg0ozwCr2f9cNJZ6GCzzzzzzzzzzzzzzz9jhFfnx", "model": "gpt-4o-mini", "embeddingName": "text-embedding-3-large", "embeddingDeployment": null, "deploymentName": null, "resourceName": null, "isDeleted": false, "deleterId": null, "deletionTime": null, "lastModificationTime": null, "lastModifierId": null, "creationTime": "2025-06-16T13:04:07.0153682Z", "creatorId": null, "id": "1d66ats6-3a0f-a9d7-25c1-3p6k8b03ostb" } ``` The "id" parameter in the response represents **modelId** and will be used in the next steps. 1. Enter the access token in the Authorization. 2. Request body should contain the parameters below: - ``` projectName: represents the project that will be used for GenQ&A by RTG. ``` - ``` provider: must be default "openai" ``` - ``` apiKey: must be provided by SESTEK or the customer. ``` - ``` model: must be default "gpt-4o-mini" ``` - ``` embeddingName: must be default "text-embedding-3-large" ``` 1. Use **{{baseUrl}}/sestekai-api/api/external/generative-question-answering-trainings/train** to add required documents and train the model. After this step the project must be visible in ML interface. 1. Enter the access token in the Authorization. 2. Request body should contain the parameters below: - modelId: The model ID received in the previous step should be enter here. - projectName: must be same as the previous steps. - dataFiles: The files that will be used in GenQ&A feature should be uploaded. - dataUrls: The links that will be used in GenQ&A feature should be entered here. 2. Login to related ML environment. You should be seeing the project you created in **Projects** page. ![image.png](https://cdn.document360.io/9bca2910-6a3b-4224-9470-43f91f9a6d57/Images/Documentation/image-IKOAKDEI.png?sv=2026-02-06&spr=https&st=2026-12-02T05%3A10%3A21Z&se=2026-12-02T06%3A10%3A21Z&sr=b&sp=r&sig=tmXzahRy5FT5%2BHjuipCGHsMA%2FOzvAjf8%2BJ%2BEfRyCfTY%3D) 3. Enter the project you created. In the **Experiments** page of the project, you should be seeing the progress as Completed - 100%. This step might take few minutes. ![image.png](https://cdn.document360.io/9bca2910-6a3b-4224-9470-43f91f9a6d57/Images/Documentation/image-HUEQ3NUV.png?sv=2026-02-06&spr=https&st=2026-12-02T05%3A10%3A21Z&se=2026-12-02T06%3A10%3A21Z&sr=b&sp=r&sig=6xaACP7mBmWNh3QW492BQnORE6qB2RnNt7hLCvGczh4%3D) 4. Go to **Published Models** page in ML. You should be seeing a published model with the name **Published_ExperimentTitle**, ExperimentTitle seen in the previous step. The Status should be **Running**. This step might take few minutes. Take note of the **Public Endpoint**, since it will be used in the next steps. ![image.png](https://cdn.document360.io/9bca2910-6a3b-4224-9470-43f91f9a6d57/Images/Documentation/image-38PXUQJ2.png?sv=2026-02-06&spr=https&st=2026-12-02T05%3A10%3A21Z&se=2026-12-02T06%3A10%3A21Z&sr=b&sp=r&sig=A%2BiTS1aSMGQFyUfmi9v0EnbIO4RQsENaEUyjU7Nd3CY%3D) ### CA Configurations 1. Go to related CA tenant, **Administration > Settings > Real-time Guidance**, in Generative Q&A the settings below should be filled: 1. **Service**: must be ML 2. **API address**: must be the URL you have as Public Endpoint while configuring ML, instead of /docs at the end, it must be **/v1/text/question-answering/inference**. ![image.png](https://cdn.document360.io/9bca2910-6a3b-4224-9470-43f91f9a6d57/Images/Documentation/image-4JMZKPKD.png?sv=2026-02-06&spr=https&st=2026-12-02T05%3A10%3A21Z&se=2026-12-02T06%3A10%3A21Z&sr=b&sp=r&sig=rnt7%2FK4Ewpe1c8a1hqI6HUYab6Unej8hJkBijzoH23c%3D) 3. **Identity base URL**: should be the identity URL of relted ML environment, e.g. https://sandbox.identity.stai.demo.sestek.com 4. **Client ID**: Client ID of GenAI AI module (AIModule_SestekAI_App) 5. **Client Secret**: Client secret of GenAI AI module (*Login to see client secret value*) 1. **Prompt message**: must be the default prompt as "Use the following pieces of context to answer the user's question..." You can get the full prompt from support/product team.