pull/691/head
Travis Fischer 2025-03-01 20:08:44 +07:00
rodzic bfab571c92
commit 3a47262716
3 zmienionych plików z 10 dodań i 2 usunięć

Wyświetl plik

@ -34,5 +34,9 @@ pnpm add @agentic/hacker-news
import { HackerNewsClient } from '@agentic/hacker-news'
const hn = new HackerNewsClient()
const res = await hn.getTopStories()
const res = await hn.searchItems({
query: 'example query',
tags: ['story'],
numericFilters: ['points>100']
})
```

Wyświetl plik

@ -189,7 +189,8 @@ export function throttleKy(
/**
* Creates a new `URLSearchParams` object with all values coerced to strings
* that correctly handles arrays of values as repeated keys.
* that correctly handles arrays of values as repeated keys (or CSV) and
* correctly removes `undefined` keys and values.
*/
export function sanitizeSearchParams(
searchParams:

Wyświetl plik

@ -64,7 +64,10 @@ export class WolframAlphaClient extends AIFunctionsProvider {
}
/**
* Answers computational, mathematical, and scientific questions.
*
* WolframAlpha understands natural language queries about entities in chemistry, physics, geography, history, art, astronomy, and more.
*
* WolframAlpha performs mathematical calculations, date and unit conversions, formula solving, etc.
*/
@aiFunction({