Skip to content

Commit a9ee901

Browse files
feat(api): api update
1 parent ccc6bf8 commit a9ee901

File tree

6 files changed

+6
-28
lines changed

6 files changed

+6
-28
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 42
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lemma%2Flemma-46a7ce79f1dde8bd1fbfa286cbe02e212a760eab26408dc496d2d09437ccf09a.yml
3-
openapi_spec_hash: 3992f9744c24046c45f96a6285c9018d
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lemma%2Flemma-f49c197a0b27f5d3be726ef837f6974e53aef02b46a33d2cbb0ca8db442634ef.yml
3+
openapi_spec_hash: dac4f72f5202160eb8e8ae63e15e2c6b
44
config_hash: 3ccc0e50f28be581a8cc4501a5758970

api.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,6 @@ Methods:
9797

9898
## Prompts
9999

100-
Types:
101-
102-
- <code><a href="./src/resources/projects/prompts/prompts.ts">Prompt</a></code>
103-
104100
### Iterations
105101

106102
## Evaluators

src/resources/projects/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ export {
4747
type ProjectCreateParams,
4848
type ProjectUpdateParams,
4949
} from './projects';
50-
export { Prompts, type Prompt } from './prompts/index';
50+
export { Prompts } from './prompts/index';

src/resources/projects/projects.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ import {
4545
Evaluators,
4646
} from './evaluators/evaluators';
4747
import * as PromptsAPI from './prompts/prompts';
48-
import { Prompt, Prompts } from './prompts/prompts';
48+
import { Prompts } from './prompts/prompts';
4949
import { APIPromise } from '../../core/api-promise';
5050
import { RequestOptions } from '../../internal/request-options';
5151
import { path } from '../../internal/utils/path';
@@ -184,7 +184,7 @@ export declare namespace Projects {
184184
type OptimizationCreateIterationParams as OptimizationCreateIterationParams,
185185
};
186186

187-
export { Prompts as Prompts, type Prompt as Prompt };
187+
export { Prompts as Prompts };
188188

189189
export {
190190
Evaluators as Evaluators,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
export { Iterations } from './iterations';
4-
export { Prompts, type Prompt } from './prompts';
4+
export { Prompts } from './prompts';

src/resources/projects/prompts/prompts.ts

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,8 @@ export class Prompts extends APIResource {
88
iterations: IterationsAPI.Iterations = new IterationsAPI.Iterations(this._client);
99
}
1010

11-
/**
12-
* Prompt database model.
13-
*/
14-
export interface Prompt {
15-
projectId: string;
16-
17-
promptName: string;
18-
19-
description?: string | null;
20-
21-
/**
22-
* Model associated with this prompt
23-
*/
24-
model?: string;
25-
}
26-
2711
Prompts.Iterations = Iterations;
2812

2913
export declare namespace Prompts {
30-
export { type Prompt as Prompt };
31-
3214
export { Iterations as Iterations };
3315
}

0 commit comments

Comments
 (0)