Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Commit

Permalink
Fix the lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanjeev-kadam committed Dec 27, 2023
1 parent ab53298 commit 35fe413
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/chat_no_streaming.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const client = new MistralClient(apiKey);
try {
const chatResponse = await client.chat({
model: 'mistral-tiny',
messages: [{ role: 'user', content: 'What is the best French cheese?' }],
messages: [{role: 'user', content: 'What is the best French cheese?'}],
});
console.log('Chat:', chatResponse.choices[0].message.content);
} catch (error) {
Expand Down
2 changes: 1 addition & 1 deletion examples/chat_with_streaming.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const client = new MistralClient(apiKey);
try {
const chatStreamResponse = await client.chatStream({
model: 'mistral-tiny',
messages: [{ role: 'user', content: 'What is the best French cheese?' }],
messages: [{role: 'user', content: 'What is the best French cheese?'}],
});

console.log('Chat Stream:');
Expand Down
1 change: 0 additions & 1 deletion examples/embeddings.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ try {
input: input,
});
console.log('Embeddings Batch:', embeddingsBatchResponse.data);

} catch (error) {
console.log(error);
}

0 comments on commit 35fe413

Please sign in to comment.