Skip to content

Commit

Permalink
feat(api): deduplication (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Sep 25, 2024
1 parent a714164 commit 57555b3
Show file tree
Hide file tree
Showing 5 changed files with 210 additions and 511 deletions.
8 changes: 7 additions & 1 deletion api.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Types:
- <code><a href="./src/resources/shared.ts">AISecret</a></code>
- <code><a href="./src/resources/shared.ts">ACL</a></code>
- <code><a href="./src/resources/shared.ts">APIKey</a></code>
- <code><a href="./src/resources/shared.ts">Code</a></code>
- <code><a href="./src/resources/shared.ts">CreateAPIKeyOutput</a></code>
- <code><a href="./src/resources/shared.ts">CrossObjectInsertResponse</a></code>
- <code><a href="./src/resources/shared.ts">DataSummary</a></code>
Expand All @@ -28,22 +29,26 @@ Types:
- <code><a href="./src/resources/shared.ts">InsertExperimentEventReplace</a></code>
- <code><a href="./src/resources/shared.ts">InsertProjectLogsEventMerge</a></code>
- <code><a href="./src/resources/shared.ts">InsertProjectLogsEventReplace</a></code>
- <code><a href="./src/resources/shared.ts">Messages</a></code>
- <code><a href="./src/resources/shared.ts">MetricSummary</a></code>
- <code><a href="./src/resources/shared.ts">Organization</a></code>
- <code><a href="./src/resources/shared.ts">PathLookupFilter</a></code>
- <code><a href="./src/resources/shared.ts">Position</a></code>
- <code><a href="./src/resources/shared.ts">Project</a></code>
- <code><a href="./src/resources/shared.ts">ProjectLogsEvent</a></code>
- <code><a href="./src/resources/shared.ts">ProjectScore</a></code>
- <code><a href="./src/resources/shared.ts">ProjectScoreCategory</a></code>
- <code><a href="./src/resources/shared.ts">ProjectTag</a></code>
- <code><a href="./src/resources/shared.ts">Prompt</a></code>
- <code><a href="./src/resources/shared.ts">PromptData</a></code>
- <code><a href="./src/resources/shared.ts">PromptImageURL</a></code>
- <code><a href="./src/resources/shared.ts">RepoInfo</a></code>
- <code><a href="./src/resources/shared.ts">Role</a></code>
- <code><a href="./src/resources/shared.ts">ScoreSummary</a></code>
- <code><a href="./src/resources/shared.ts">Scorer</a></code>
- <code><a href="./src/resources/shared.ts">SummarizeDatasetResponse</a></code>
- <code><a href="./src/resources/shared.ts">SummarizeExperimentResponse</a></code>
- <code><a href="./src/resources/shared.ts">Task</a></code>
- <code><a href="./src/resources/shared.ts">ToolChoiceFunction</a></code>
- <code><a href="./src/resources/shared.ts">User</a></code>
- <code><a href="./src/resources/shared.ts">View</a></code>
- <code><a href="./src/resources/shared.ts">ViewData</a></code>
Expand Down Expand Up @@ -190,6 +195,7 @@ Methods:

Types:

- <code><a href="./src/resources/functions.ts">ImageURL</a></code>
- <code><a href="./src/resources/functions.ts">FunctionInvokeResponse</a></code>

Methods:
Expand Down
8 changes: 7 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ export namespace Braintrust {
export import ProjectTagReplaceParams = API.ProjectTagReplaceParams;

export import Functions = API.Functions;
export import ImageURL = API.ImageURL;
export import FunctionInvokeResponse = API.FunctionInvokeResponse;
export import FunctionCreateParams = API.FunctionCreateParams;
export import FunctionUpdateParams = API.FunctionUpdateParams;
Expand Down Expand Up @@ -303,6 +304,7 @@ export namespace Braintrust {
export import AISecret = API.AISecret;
export import ACL = API.ACL;
export import APIKey = API.APIKey;
export import Code = API.Code;
export import CreateAPIKeyOutput = API.CreateAPIKeyOutput;
export import CrossObjectInsertResponse = API.CrossObjectInsertResponse;
export import DataSummary = API.DataSummary;
Expand All @@ -326,22 +328,26 @@ export namespace Braintrust {
export import InsertExperimentEventReplace = API.InsertExperimentEventReplace;
export import InsertProjectLogsEventMerge = API.InsertProjectLogsEventMerge;
export import InsertProjectLogsEventReplace = API.InsertProjectLogsEventReplace;
export import Messages = API.Messages;
export import MetricSummary = API.MetricSummary;
export import Organization = API.Organization;
export import PathLookupFilter = API.PathLookupFilter;
export import Position = API.Position;
export import Project = API.Project;
export import ProjectLogsEvent = API.ProjectLogsEvent;
export import ProjectScore = API.ProjectScore;
export import ProjectScoreCategory = API.ProjectScoreCategory;
export import ProjectTag = API.ProjectTag;
export import Prompt = API.Prompt;
export import PromptData = API.PromptData;
export import PromptImageURL = API.PromptImageURL;
export import RepoInfo = API.RepoInfo;
export import Role = API.Role;
export import ScoreSummary = API.ScoreSummary;
export import Scorer = API.Scorer;
export import SummarizeDatasetResponse = API.SummarizeDatasetResponse;
export import SummarizeExperimentResponse = API.SummarizeExperimentResponse;
export import Task = API.Task;
export import ToolChoiceFunction = API.ToolChoiceFunction;
export import User = API.User;
export import View = API.View;
export import ViewData = API.ViewData;
Expand Down
Loading

0 comments on commit 57555b3

Please sign in to comment.