Aller au contenu
login
arrow_backRetour aux issues
NeuralTrust/TrustGate #496

good first issue: Add TypeScript/Node.js SDK example

ecoDébutant good first issue help wanted examples

descriptionDescription

## Context From [.github/GOOD_FIRST_ISSUES.md](https://github.com/NeuralTrust/TrustGate/blob/main/.github/GOOD_FIRST_ISSUES.md) task #1. Add a TypeScript example showing how to use the OpenAI Node.js SDK through TrustGate, similar to the existing Python example. ## Acceptance criteria - [ ] Create `examples/openai-sdk-typescript/` - [ ] `README.md` with setup/usage - [ ] `chat.ts` mirroring Python `chat.py` - [ ] `package.json` with `openai` dependency - [ ] `tsconfig.json` - [ ] Works against a running TrustGate (`make up`) ## References - https://github.com/NeuralTrust/TrustGate/tree/main/examples/openai-sdk - https://github.com/openai/openai-node Comment here if you want to claim this.
codeOuvre sur GitHub