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

feat(api): deduplication #68

Merged
merged 1 commit into from
Sep 25, 2024
Merged
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
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