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

Linting Examples #4

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion examples/embedding.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env -S npm run tsn -T

import Together from 'together';
import Together from 'together';

const together = new Together();

Expand Down
2 changes: 1 addition & 1 deletion examples/files.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// Example of listing and retrieving files

import Together from 'together';
import Together from 'together';

const together = new Together();

Expand Down
1 change: 0 additions & 1 deletion examples/fine-tune.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Together from 'together';
const together = new Together();

async function main() {

//These files need to be uploaded separately. See the files example.
const fileId = 'file-bf72b951-fa1a-41af-a152-fe385dca0201';

Expand Down
2 changes: 1 addition & 1 deletion examples/image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

//An example to generate an image and save to a file

import Together from 'together';
import Together from 'together';
import fs from 'fs';

const together = new Together();
Expand Down
2 changes: 1 addition & 1 deletion examples/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

//An example to request a list of models and print them.

import Together from 'together';
import Together from 'together';

const together = new Together();

Expand Down
2 changes: 1 addition & 1 deletion examples/streaming.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env -S npm run tsn -T

import Together from 'together';
import Together from 'together';

const together = new Together();

Expand Down
Loading