@Joel Thomas George With the new language studio the projectName is used in the URL as a query parameter to call the KB. For example, the following is a sample request for prediction with the project details.
URL:
https://<resource>.cognitiveservices.azure.com/language/:query-knowledgebases?projectName=test123&api-version=2021-10-01&deploymentName=production
Query:
curl -X POST "https://<resource>.cognitiveservices.azure.com/language/:query-knowledgebases?projectName=test123&api-version=2021-10-01&deploymentName=production" -H "Ocp-Apim-Subscription-Key: <your_key>" -H "Content-Type: application/json" -d "{\"top\":3,\"question\":\"YOUR_QUESTION_HERE\",\"includeUnstructuredSources\":true,\"confidenceScoreThreshold\":\"YOUR_SCORE_THRESHOLD_HERE\",\"answerSpanRequest\":{\"enable\":true,\"topAnswersWithSpan\":1,\"confidenceScoreThreshold\":\"YOUR_SCORE_THRESHOLD_HERE\"},\"filters\":{\"metadataFilter\":{\"logicalOperation\":\"YOUR_LOGICAL_OPERATION_HERE\",\"metadata\":[{\"key\":\"YOUR_ADDITIONAL_PROP_KEY_HERE\",\"value\":\"YOUR_ADDITIONAL_PROP_VALUE_HERE\"}]}}}"
If an answer is helpful, please click on or upvote which might help other community members reading this thread.