Skip to content

Generate js and curl snippets using templates #1291

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

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
1b73a4c
first structure, let's add some jinja files now
Wauplin Mar 14, 2025
709efb6
add basic curl
Wauplin Mar 17, 2025
961d2cc
headers first
Wauplin Mar 17, 2025
ba53cbd
curl conversational
Wauplin Mar 17, 2025
b06c6b2
add basicAudio basicImage
Wauplin Mar 17, 2025
a9f762e
basic js
Wauplin Mar 17, 2025
1c185d0
hf.js conversational
Wauplin Mar 17, 2025
f822275
hf.js conversational stream
Wauplin Mar 17, 2025
807aa08
openai conversational
Wauplin Mar 17, 2025
a788ad8
openai conversational stream
Wauplin Mar 17, 2025
7802a48
zero shot classification JS
Wauplin Mar 17, 2025
1eee70d
text to image JS client
Wauplin Mar 17, 2025
b6c80f2
text to image fetch hf-inference
Wauplin Mar 17, 2025
60f4739
textToVideo js
Wauplin Mar 17, 2025
1d9eb0c
text to audio JS
Wauplin Mar 17, 2025
be84719
basicAudio (ASR) JS
Wauplin Mar 17, 2025
aa6da1e
basic image JS
Wauplin Mar 17, 2025
733608f
Single getInferenceSnippets.ts module
Wauplin Mar 17, 2025
afbf59b
piping
Wauplin Mar 17, 2025
41ddb9d
Merge branch 'main' into generate-js-and-curl-snippets-using-templates
Wauplin Mar 17, 2025
7b1c9ab
Merge branch 'fix-openai-inference-snippets' into generate-js-and-cur…
Wauplin Mar 17, 2025
a61e8fd
always run for all languages
Wauplin Mar 17, 2025
a780cb4
fix test
Wauplin Mar 17, 2025
1eedeba
Merge branch 'fix-openai-inference-snippets' into generate-js-and-cur…
Wauplin Mar 18, 2025
44c0bfb
Update packages/inference/src/snippets/getInferenceSnippets.ts
Wauplin Mar 18, 2025
e998bf0
sh_clients
Wauplin Mar 18, 2025
24c39e8
Merge branch 'generate-js-and-curl-snippets-using-templates' of githu…
Wauplin Mar 18, 2025
bd15155
Update packages/inference/src/snippets/getInferenceSnippets.ts
Wauplin Mar 18, 2025
2e7c739
Update packages/inference/src/snippets/getInferenceSnippets.ts
Wauplin Mar 18, 2025
5a288ab
fix
Wauplin Mar 18, 2025
18d87cd
add testToImage fetch js
Wauplin Mar 18, 2025
d7ceb35
not const
Wauplin Mar 18, 2025
27496d8
type fix
Wauplin Mar 18, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
177 changes: 0 additions & 177 deletions packages/inference/src/snippets/curl.ts

This file was deleted.

Loading