AI for Search
Search V2 (Search through Texts)
Intuitive search experience powered by AI
Search V2 is an AI-assisted Text Based Search Engine. It provides an intuitive search experience powered by AI. More details can be found at https://docs.worqhat.com/ai-models/ai-for-search/search-v2
Parameters
Parameter | Type | Description | Default |
---|---|---|---|
question | string | The search query string. | undefined |
training_data | string | Contains the Referenced Dataset Id for the pre-trained dataset. | undefined |
Initialize AI Modules
const worqhat = require('worqhat');
var config = new worqhat.Configuration({
apiKey: "your-api-key",
debug: true,
max_retries: 3,
});
worqhat.initializeApp(config);
let ai = worqhat.ai();
Implementation
ai.search.v2({
question: "Shreya",
training_data: "f8180381-f2a7-4464-a0a1-b601d56919a1",
}).then(function(response) {
console.log(response);
}).catch(function(error) {
console.log(error);
});
Was this page helpful?