4 ms·
Show HN: The AI SDK for TypeScript and Python
Hey HN! I'm Yoeven from JigsawStack, and I'm excited to share the launch of the AI SDK that lets you easily use a suite of fine-tuned AI utilities that can fully automate different aspects of your application in just three lines of code
```
import { JigsawStack } from "jigsawstack";
const jigsaw = JigsawStack({ apiKey: "your-api-key" });
await jigsaw.sentiment("I love how easy it is to get started");
//or you can run more complex tasks like an AI scraper
await jigsaw.web.ai_scrape({
url: "https://www.amazon.com/Cadbury-Mini-Caramel-Eggs-Bulk/dp/B0CWM99G5W https://www.amazon.com/Cadbury-Mini-Caramel-Eggs-Bulk/dp/B0C...",
element_prompts: ["prices"],
});
```
The goal is to make the DX enjoyable and as simple as possible, we would love feedback and suggestions on how we can make it better. The code is open source and always open for contribution!
- Jonovono 2y agoheh nice. I launched something on HN today too to help build Ai functions in Typescript using OAI structured outputs: https://news.ycombinator.com/item?id=41359295 https://news.ycombinator.com/item?id=41359295 Not quite the same but nice to see more AI libraries for TS!