Skip to content

Commit

Permalink
feat(api): OpenAPI spec update via Stainless API (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed May 21, 2024
1 parent dd9a118 commit 5b84072
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 7
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/groqcloud%2Fgroqcloud-64b3b2299043cb9e474e0df3e4c5f2c55d90e43200afdc99e6cd181e87cae90c.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/groqcloud%2Fgroqcloud-f9e32d675c53d0c72f862e43ce3f7d1be32348120d4ae83abf87affe3f9730f6.yml
4 changes: 2 additions & 2 deletions tests/api-resources/embeddings.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe('resource embeddings', () => {
test('create: only required params', async () => {
const responsePromise = groq.embeddings.create({
input: 'The quick brown fox jumped over the lazy dog',
model: 'nomic',
model: 'nomic-embed-text-v1_5',
});
const rawResponse = await responsePromise.asResponse();
expect(rawResponse).toBeInstanceOf(Response);
Expand All @@ -26,7 +26,7 @@ describe('resource embeddings', () => {
test('create: required and optional params', async () => {
const response = await groq.embeddings.create({
input: 'The quick brown fox jumped over the lazy dog',
model: 'nomic',
model: 'nomic-embed-text-v1_5',
encoding_format: 'float',
user: 'string',
});
Expand Down

0 comments on commit 5b84072

Please sign in to comment.