Mika Scraper / FeloSearch
Function: FeloSearch()
FeloSearch(
prompt
):Promise
<string
>
Defined in: src/felo/felo.ts:102
The FeloSearch function is the primary method for querying the Felo AI service. It streams the response from felo.ai, integrating it with references from DuckDuckGo.
Parameters
prompt
string
The userβs search query that the AI will process to generate results.
Returns
Promise
<string
>
This promise resolves to a formatted string that combines the AI-generated result with relevant references.
Example
const searchQuery = "What is the capital of France?";
FeloSearch(searchQuery)
.then(result => {
console.log(result);
})
.catch(error => {
console.error("Error fetching search results:", error);
});
Last updated on