Skip to content

ServiceStack/openai-typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TypeScript Client Example for OpenAI Chat Completions API

Run the example (requires Bun):

./main.ts

Add just the ChatCompletion and its dependent DTOs:

npx get-dtos typescript https://localhost:5001 --include "ChatCompletion.*"

Alternatively, add all DTOs:

npx get-dtos typescript https://localhost:5001

Update DTOs:

npx get-dtos typescript

About

TypeScript Client Example for accessing ServiceStack's OpenAI Chat Completions API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published