openai/openai-node
View on GitHub ↗ ★ 11,246 TypeScript
Official JavaScript / TypeScript library for the OpenAI API
11 mentions on Hacker News by 7 people: 3 stories, 8 comments · first 2022-04-30 · latest 2026-05-18
20082026
-
…SDK libraries are made with stainless[0][1]. [0]: https://github.com/openai/openai-python [1]: https://github.com/openai/openai-node
comment by hobofan · 2026-05-18 · in Anthropic acquires Stainless -
…SDK libraries are made with stainless[0][1]. [0]: https://github.com/openai/openai-python [1]: https://github.com/openai/openai-node
comment by hobofan · 2026-05-18 · in Anthropic acquires Stainless -
…says input can be a string OR an array - that's reflected in the TypeScript library here too: https://github.com/openai/openai-node/blob/5873a017f0f2040ef...
comment by simonw · 2024-07-16 · in Shapeshift: Semantically map JSON objects using key-level vector embeddings -
…om/lithic-com/lithic-node/blob/36d4a6a70597e... Here are some example repos produced by Stainless: 1. https://github.com/openai/openai-node 2. https://github.com/openai/openai-python 3. https://github.com/cloudflare/cloudflare-go 4.…
comment by rattray · 2024-04-24 · in The Stainless SDK Generator -
Have you seen/tried the `.runTools()` helper? Docs: https://github.com/openai/openai-node?tab=readme-ov-file#aut... Example: https://github.com/openai/openai-node/blob/bb4bce30ff1bfb06d... (if what you're fundamentally trying to do is…
comment by rattray · 2024-03-14 · in OpenAI: Streaming is now available in the Assistants API -
…https://github.com/lastmile-ai/aiconfig/blob/main/cookbooks/... vs using vanilla openai directly ( https://github.com/openai/openai-node/blob/v4/examples/funct... )
comment by saqadri · 2023-11-17 · in AIConfig – source control format for gen AI prompts, models and settings -
A package I help maintain was released about a month ago, and we've had bug reports related to this: https://github.com/openai/openai-node/issues/304#issuecommen... We simply chose to mark Jest 27 as unsupported in this case, but it did…
comment by rattray · 2023-09-25 · in TypeScript NPM Packages Done Right -
I had a look at the code. Despite the important note on https://github.com/openai/openai-node it appears to be in use here, leaking the author's API key.
comment by crtasm · 2022-04-30 · in Show HN: Semantic Search for Ctrl+F