Skip to content

reka-ai/api-examples-typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 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

If you find a bug or would like to add a feature, check out those resources: Check out our Code of Conduct and Contributing docs.

About

Examples to get started with Reka APIs using Typescript

Topics

Resources

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published