Tag: JavaScript
-
Hacker News: Pythagora: Auto-Generate Node.js Tests Using LLMs, No Coding Required
Source URL: https://github.com/Pythagora-io/pythagora Source: Hacker News Title: Pythagora: Auto-Generate Node.js Tests Using LLMs, No Coding Required Feedly Summary: Comments AI Summary and Description: Yes Summary: The text details the functionalities and capabilities of “Pythagora,” an automated tool for generating unit tests using GPT-4. This tool facilitates the creation of tests with minimal manual setup, aiming…
-
Simon Willison’s Weblog: Calling LLMs from client-side JavaScript, converting PDFs to HTML + weeknotes
Source URL: https://simonwillison.net/2024/Sep/6/weeknotes/ Source: Simon Willison’s Weblog Title: Calling LLMs from client-side JavaScript, converting PDFs to HTML + weeknotes Feedly Summary: I’ve been having a bunch of fun taking advantage of CORS-enabled LLM APIs to build client-side JavaScript applications that access LLMs directly. I also span up a new Datasette plugin for advanced permission management.…
-
Simon Willison’s Weblog: System prompt for val.town/townie
Source URL: https://simonwillison.net/2024/Aug/28/system-prompt-for-townie/#atom-everything Source: Simon Willison’s Weblog Title: System prompt for val.town/townie Feedly Summary: System prompt for val.town/townie Val Town (previously) provides hosting and a web-based coding environment for Vals – snippets of JavaScript/TypeScript that can run server-side as scripts, on a schedule or hosting a web service. Townie is Val’s new AI bot, providing…
-
Simon Willison’s Weblog: Gemini Chat App
Source URL: https://simonwillison.net/2024/Aug/27/gemini-chat-app/#atom-everything Source: Simon Willison’s Weblog Title: Gemini Chat App Feedly Summary: Gemini Chat App Google released three new Gemini models today: improved versions of Gemini 1.5 Pro and Gemini 1.5 Flash plus a new model, Gemini 1.5 Flash-8B, which is significantly faster (and will presumably be cheaper) than the regular Flash model. They’re…
-
Simon Willison’s Weblog: Gemini Bounding Box Visualization
Source URL: https://simonwillison.net/2024/Aug/26/gemini-bounding-box-visualization/#atom-everything Source: Simon Willison’s Weblog Title: Gemini Bounding Box Visualization Feedly Summary: Gemini Bounding Box Visualization Here’s another fun tool I built with the help of Claude 3.5 Sonnet. I was browsing through Google’s Gemini documentation while researching how different multi-model LLM APIs work when I stumbled across this note in the vision…
-
Hacker News: Claude’s API now supports CORS requests, enabling client-side applications
Source URL: https://simonwillison.net/2024/Aug/23/anthropic-dangerous-direct-browser-access/ Source: Hacker News Title: Claude’s API now supports CORS requests, enabling client-side applications Feedly Summary: Comments AI Summary and Description: Yes Summary: The text discusses a new feature in the Anthropic TypeScript SDK that allows browser usage of the Anthropic API, enabling CORS support. This feature raises concerns about API key security,…
-
Simon Willison’s Weblog: anthropic-sdk-typescript: add support for browser usage
Source URL: https://simonwillison.net/2024/Aug/23/anthropic-dangerous-direct-browser-access/#atom-everything Source: Simon Willison’s Weblog Title: anthropic-sdk-typescript: add support for browser usage Feedly Summary: anthropic-sdk-typescript: add support for browser usage This new feature in the Anthropic TypeScript SDK reveals a ew Anthropic JSON API feature, which I found by digging through the code. You can now add the following HTTP request header to…