Skip to content

reka-ai/api-examples-typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Reka API Examples with Typescript

Reka AI

Join our Discord

This repository showcases how to use the Reka Research to build intelligent apps that can search the web, structure responses, and support reasoning. It’s designed to help developers learn how to integrate and use Reka Research with different tools and frameworks.

πŸ“‹ More Examples in Other Languages

πŸ“š What's in this repo

Folder/File Description
reka-restaurants/ App for researching and finding restaurants with Reka Research

πŸ–₯️ Getting Started (Typescript)

  1. Install requirements

    Make sure you have Node.js (version 18 or higher) and npm installed on your system.

    cd typescript/reka-restaurants
    npm install
  2. Get your Reka API Key

    Sign up at Reka Platform and get your API key.

  3. Set environment variable

    export REKA_API_KEY=your_api_key_here
  4. Run the app

    npm run build
    npm start

    Open your browser and navigate to http://localhost:5173

πŸ§ͺ Why use this repo?

  • Learn how to use Reka Research with requests and OpenAI SDK
  • Build agents that can think step-by-step and cite sources
  • Learn to control structured outputs using response_format
  • Control domain scope and search behavior using web_search config

πŸ›  Recommended Use Cases

  • Web search with control over allowed domains
  • Research agents with explainable reasoning steps

🀝 Contributions

Feel free to open issues or submit PRs to add more examples or improve existing ones.

About

Examples to get started with Reka APIs using Typescript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published