Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 2.17 KB

File metadata and controls

44 lines (30 loc) · 2.17 KB

C# Script demos with Reka Research API

Seven examples that all do the same thing — find tech events — each using a different approach to call the Reka API. Built as .NET file-based apps: single .cs files, no .csproj needed.

screen capture

Setup

Requires .NET 10.

Tip

No .NET installed? Use the devContainer with Docker or CodeSpace.

  1. Get a free API key from the Reka Platform dashboard
  2. Copy .env-sample to .env and paste your key in place of HERE_GOES_YOUR_API_KEY

Examples

# File Approach
1 1-try-reka-openai.cs OpenAI SDK basic call
2 2-try-reka-ms-ext.cs Microsoft Extension AI for OpenAI basic call
3 3-try-reka-agent-fwk.cs Microsoft Agent Framework basic call
4 4-try-reka-agent-fwk-structured.cs Agent Framework with structured output
5 5-try-reka-openai-advanced.cs OpenAI SDK with advanced web search beta and only with OpenAI APIs
6 6-try-reka-http.cs Raw HTTP — no SDK, just HttpClient but all features and all APIs
7 7-try-reka-http-advanced.cs Raw HTTP with web search and structured output (Reka-specific features)

Run any example with:

dotnet run <filename>

For example: dotnet run 1-try-reka-openai.cs

Learn more