openai-node
tiptap
openai-node | tiptap | |
---|---|---|
22 | 81 | |
6,961 | 24,013 | |
2.5% | 2.0% | |
9.5 | 9.6 | |
1 day ago | 1 day ago | |
TypeScript | TypeScript | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
openai-node
-
Website Optimization Using Strapi, Astro.js and OpenAI
Okay, now we've confirmed the API endpoint is working, let's connect it to OpenAI first, install the OpenAI package, navigate to the route directory, and run the command below in our terminal
-
JSON {} With OpenAI 🤖✨
For my setup, I am using the node version of the openai sdk.
-
The Stainless SDK Generator
We try to keep it to a minimum, especially in JS (though we have some nice improvements coming soon when we deprecate node-fetch in favor of built-in fetch). The package sizes aren't tiny because we include thorough types and sourcemaps, but the bundle sizes are fairly tidy.
Here's an example of a typical RESTful endpoint (Lithic's `client.cards.create()`:
https://github.com/lithic-com/lithic-node/blob/36d4a6a70597e...
Here are some example repos produced by Stainless:
1. https://github.com/openai/openai-node
-
OpenAI: Streaming is now available in the Assistants API
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 really just get JSON out, then I can see how json_mode is still easier).
-
OpenAI has Text to Speech Support now!
And so, I impulsively upgraded to the latest version of openai (I guess not anymore) without the fear of getting cut by cutting edge 😝 and got it working for some random text
-
AI for Web Devs: Faster Responses with HTTP Streaming
UPDATE 2023/11/15: I used fetch and custom streams because at the time of writing, the openai module on NPM did not properly support streaming responses. That issue has been fixed, and I think a better solution would be to use that module and pipe their data through a TransformStream to send to the client. That version is not reflected here.
-
AI for Web Devs: Your First API Request to OpenAI
You may notice the JavaScript package available on NPM called openai. We will not be using this, as it doesn’t quite support some things we’ll want to do, that fetch can.
-
Building and deploying AI agents with E2B
openai - For using the GPT-3.5-turbo model to answer the questions
-
Aiconfig – source control format for gen AI prompts, models and settings
We have a bit of context about this in the readme: https://github.com/lastmile-ai/aiconfig#what-problem-it-solv.... The main issue with keeping it in code is that it tangles application code with prompts and model-specific logic.
That makes it hard to evaluate the genAI parts of the application, and also iterating on the prompts is not as straightforward as opening up a playground.
Having the config be the source of truth let's you connect it to your application code (and still source controlled), lets you evaluate the config as the AI artifact, and also lets you open the config in a playground to edit and iterate.
For example, compare how much simpler openai function calling becomes with storing the stuff as a config: https://github.com/lastmile-ai/aiconfig/blob/main/cookbooks/... vs using vanilla openai directly (https://github.com/openai/openai-node/blob/v4/examples/funct...)
-
Build a Chatbot With OpenAI, Vercel AI and Xata
In your preferred serverless environment, make sure you install the OpenAI API Library and Vercel AI library to get started.
tiptap
-
Encrypted Note Editor App In React Native
The Editor: The core of our app is the editor. We need an easy to use and robust rich text editor, that supports all of the features we want such as: headings, lists, placeholders, markdown, color, images, bold italic etc… For this we will use @10play/tentap-editor which is a rich text editor for react native based on Tiptap.
-
WYSIWYG editor for a new Rails project
If you want bell and whistles - https://tiptap.dev/
-
Can I create another WordPress that satisfies humanity?
A WYSIWYG rich-text editor using tiptap2 and Element Plus for Vue3
-
Ask HN: Which open-source editor would you choose to build something like Notion
You can build a Notion-like editor on top of https://tiptap.dev :-) Here is a demo of what such an editor might look like: https://demos.tiptap.dev/
Since Tiptap is headless, you have the freedom to design and develop the UI exactly the way you want.
-
Launch HN: Tiptap (YC S23) – Toolkit for developing collaborative editors
The first link shows a discussion that started in July 2020, when Tiptap was only available in version 1. The new major version 2, which is a complete rewrite, was in development. The biggest drawback the GitLab engineers had was the lack of a test suite in Tiptap 1. That's understandable, because as a key component of your application, testing is necessary to ensure that you catch breakable changes. Tiptap 2 does just that. [1]
[1] https://github.com/ueberdosis/tiptap/tree/develop/tests
-
Vrite Editor: Open-Source WYSIWYG Markdown Editor
No good tool is built without using good tools, and Vrite Editor is no different. Before getting into WYSIWYG editors, I extensively researched available RTE frameworks, that could provide the tooling and functionality I was looking for. Ultimately, I picked TipTap and underlying ProseMirror — IMO, the best tools currently available for all kinds of WYSIWYG editors.
-
What WYSIWYG editor do you use that has collaborative editing in Go?
Nodejs has hocuspocus (built on prosemirror) (https://www.npmjs.com/package/@hocuspocus/server) using tiptap (https://tiptap.dev/), are there any similar alternative backends in Go?
-
Seeking Suggestions for the Best Library to Implement a New Rich Text Editor in React
Check this headless editor framework https://tiptap.dev/
-
Sharing your Tailwind Configuration between Monorepo Packages
If you're in need of a solid editor library for your next project, be sure to check out Tiptap. It's an open-source project, and we always appreciate feedback and contributions!
-
How I put ChatGPT into a WYSIWYG editor
The buttons had to be absolutely positioned, which required both a custom TipTap extension and tapping deeper into the underlying ProseMirror (both libraries powering the Vrite editor).
What are some alternatives?
liboai - A C++17 library to access the entire OpenAI API.
quill - Quill is a modern WYSIWYG editor built for compatibility and extensibility.
openai-python - The official Python library for the OpenAI API
slate - A completely customizable framework for building rich text editors. (Currently in beta.)
fern - 🌿 Stripe-level SDKs and Docs for your API
lexical - Lexical is an extensible text editor framework that provides excellent reliability, accessibility and performance.
vrite - Open-source developer content platform
Editor.js - A block-style editor with clean JSON output
ai - Build AI-powered applications with React, Svelte, Vue, and Solid [Moved to: https://github.com/vercel/ai]
ProseMirror - The ProseMirror WYSIWYM editor
stepci - Automated API Testing and Quality Assurance
remirror - ProseMirror toolkit for React 🎉