Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(examples): hello-world-without-sdk #96

Merged
merged 2 commits into from
Sep 17, 2024

Conversation

gr2m
Copy link
Collaborator

@gr2m gr2m commented Sep 17, 2024

closes #95

Copy link
Collaborator

@francisfuzz francisfuzz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

# Change directory into it, and run it
cd hello-world-without-sdk/ && node index.js

# Spin up another shell and hit it
curl -X POST localhost:3000 -d '{}'

# resultset
data: {"choices":[{"index":0,"delta":{"content":"Hello, world!","role":"assistant"}}]}

data: {"choices":[{"index":0,"finish_reason":"stop","delta":{"content":null}}]}

data: [DONE]

@francisfuzz francisfuzz merged commit fecff98 into main Sep 17, 2024
5 checks passed
@francisfuzz francisfuzz deleted the 95/examples-hello-wolrd-no-sdk branch September 17, 2024 17:52
Copy link

🎉 This PR is included in version 5.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a minimal hello world example that does not use the SDK as a reference
2 participants