⌘ Langbase SDK AI Examples

Langbase SDK is built to be used by web developers using JavaScript or TypeScript code. The SDK is designed to be simple to use and easy to integrate with your existing codebase.

Here are some examples to get you started with the Langbase SDK.

Next.js & React Example

generateText()

streamText()


Node.js

generateText()

streamText()


Example requests

Let us know about any other features and examples you'd like us to build in the SDK by submitting a request. Excited to see what you ship.