Skip to content

Commit ecf03d5

Browse files
committed
Release 0.0.1-beta16
1 parent ab4299c commit ecf03d5

File tree

400 files changed

+12068
-1816
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

400 files changed

+12068
-1816
lines changed

README.md

+35-2
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,43 @@ npm i -s gooeyai
1616
Instantiate and use the client with the following:
1717

1818
```typescript
19-
import { GooeyClient } from "gooeyai";
19+
import { GooeyClient, Gooey } from "gooeyai";
2020

2121
const client = new GooeyClient({ apiKey: "YOUR_API_KEY" });
22-
await client.animate();
22+
await client.animate({
23+
exampleId: "string",
24+
functions: [
25+
{
26+
url: "string",
27+
trigger: Gooey.RecipeFunctionTrigger.Pre,
28+
},
29+
],
30+
variables: {
31+
string: {
32+
key: "value",
33+
},
34+
},
35+
animationPrompts: [
36+
{
37+
frame: "string",
38+
prompt: "string",
39+
},
40+
],
41+
maxFrames: 1,
42+
selectedModel: Gooey.DeforumSdPageRequestSelectedModel.Protogen22,
43+
animationMode: "string",
44+
zoom: "string",
45+
translationX: "string",
46+
translationY: "string",
47+
rotation3DX: "string",
48+
rotation3DY: "string",
49+
rotation3DZ: "string",
50+
fps: 1,
51+
seed: 1,
52+
settings: {
53+
retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep,
54+
},
55+
});
2356
```
2457

2558
## Request And Response Types

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gooeyai",
3-
"version": "0.0.1-beta17",
3+
"version": "0.0.1-beta16",
44
"private": false,
55
"repository": "https://github.com/GooeyAI/typescript-sdk",
66
"main": "./index.js",

reference.md

+213-15
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ await client.copilotIntegrations.videoBotsStream("request_id");
144144

145145
## CopilotForYourEnterprise
146146

147-
<details><summary><code>client.copilotForYourEnterprise.<a href="/src/api/resources/copilotForYourEnterprise/client/Client.ts">asyncFormVideoBots</a>({ ...params }) -> Gooey.BodyAsyncFormVideoBots</code></summary>
147+
<details><summary><code>client.copilotForYourEnterprise.<a href="/src/api/resources/copilotForYourEnterprise/client/Client.ts">asyncFormVideoBots</a>({ ...params }) -> unknown</code></summary>
148148
<dl>
149149
<dd>
150150

@@ -157,7 +157,97 @@ await client.copilotIntegrations.videoBotsStream("request_id");
157157
<dd>
158158

159159
```typescript
160-
await client.copilotForYourEnterprise.asyncFormVideoBots();
160+
await client.copilotForYourEnterprise.asyncFormVideoBots({
161+
exampleId: "string",
162+
functions: [
163+
{
164+
url: "string",
165+
trigger: Gooey.RecipeFunctionTrigger.Pre,
166+
},
167+
],
168+
variables: {
169+
string: {
170+
key: "value",
171+
},
172+
},
173+
inputPrompt: "string",
174+
inputAudio: "string",
175+
inputImages: ["string"],
176+
inputDocuments: ["string"],
177+
docExtractUrl: "string",
178+
messages: [
179+
{
180+
role: Gooey.ConversationEntryRole.User,
181+
content: "string",
182+
displayName: "string",
183+
},
184+
],
185+
botScript: "string",
186+
selectedModel: Gooey.VideoBotsPageRequestSelectedModel.Gpt4O,
187+
documentModel: "string",
188+
taskInstructions: "string",
189+
queryInstructions: "string",
190+
keywordInstructions: "string",
191+
documents: ["string"],
192+
maxReferences: 1,
193+
maxContextWords: 1,
194+
scrollJump: 1,
195+
embeddingModel: Gooey.VideoBotsPageRequestEmbeddingModel.Openai3Large,
196+
denseWeight: 1.1,
197+
citationStyle: Gooey.VideoBotsPageRequestCitationStyle.Number,
198+
useUrlShortener: true,
199+
asrModel: Gooey.VideoBotsPageRequestAsrModel.WhisperLargeV2,
200+
asrLanguage: "string",
201+
translationModel: Gooey.VideoBotsPageRequestTranslationModel.Google,
202+
userLanguage: "string",
203+
inputGlossaryDocument: "string",
204+
outputGlossaryDocument: "string",
205+
lipsyncModel: Gooey.VideoBotsPageRequestLipsyncModel.Wav2Lip,
206+
tools: ["json_to_pdf"],
207+
avoidRepetition: true,
208+
numOutputs: 1,
209+
quality: 1.1,
210+
maxTokens: 1,
211+
samplingTemperature: 1.1,
212+
responseFormatType: Gooey.VideoBotsPageRequestResponseFormatType.Text,
213+
ttsProvider: Gooey.VideoBotsPageRequestTtsProvider.GoogleTts,
214+
uberduckVoiceName: "string",
215+
uberduckSpeakingRate: 1.1,
216+
googleVoiceName: "string",
217+
googleSpeakingRate: 1.1,
218+
googlePitch: 1.1,
219+
barkHistoryPrompt: "string",
220+
elevenlabsVoiceName: "string",
221+
elevenlabsApiKey: "string",
222+
elevenlabsVoiceId: "string",
223+
elevenlabsModel: "string",
224+
elevenlabsStability: 1.1,
225+
elevenlabsSimilarityBoost: 1.1,
226+
elevenlabsStyle: 1.1,
227+
elevenlabsSpeakerBoost: true,
228+
azureVoiceName: "string",
229+
openaiVoiceName: Gooey.VideoBotsPageRequestOpenaiVoiceName.Alloy,
230+
openaiTtsModel: Gooey.VideoBotsPageRequestOpenaiTtsModel.Tts1,
231+
inputFace: "string",
232+
facePaddingTop: 1,
233+
facePaddingBottom: 1,
234+
facePaddingLeft: 1,
235+
facePaddingRight: 1,
236+
sadtalkerSettings: {
237+
still: true,
238+
preprocess: Gooey.SadTalkerSettingsPreprocess.Crop,
239+
poseStyle: 1,
240+
expressionScale: 1.1,
241+
refEyeblink: "string",
242+
refPose: "string",
243+
inputYaw: [1],
244+
inputPitch: [1],
245+
inputRoll: [1],
246+
},
247+
settings: {
248+
retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep,
249+
},
250+
});
161251
```
162252

163253
</dd>
@@ -173,7 +263,7 @@ await client.copilotForYourEnterprise.asyncFormVideoBots();
173263
<dl>
174264
<dd>
175265

176-
**request:** `Gooey.AsyncFormVideoBotsRequest`
266+
**request:** `Gooey.VideoBotsPageRequest`
177267

178268
</dd>
179269
</dl>
@@ -648,7 +738,7 @@ await client.bulkRunner.post();
648738

649739
## Evaluator
650740

651-
<details><summary><code>client.evaluator.<a href="/src/api/resources/evaluator/client/Client.ts">asyncFormBulkEval</a>({ ...params }) -> Gooey.BodyAsyncFormBulkEval</code></summary>
741+
<details><summary><code>client.evaluator.<a href="/src/api/resources/evaluator/client/Client.ts">asyncFormBulkEval</a>({ ...params }) -> unknown</code></summary>
652742
<dl>
653743
<dd>
654744

@@ -661,7 +751,43 @@ await client.bulkRunner.post();
661751
<dd>
662752

663753
```typescript
664-
await client.evaluator.asyncFormBulkEval();
754+
await client.evaluator.asyncFormBulkEval({
755+
exampleId: "string",
756+
functions: [
757+
{
758+
url: "string",
759+
trigger: Gooey.RecipeFunctionTrigger.Pre,
760+
},
761+
],
762+
variables: {
763+
string: {
764+
key: "value",
765+
},
766+
},
767+
documents: ["string"],
768+
evalPrompts: [
769+
{
770+
name: "string",
771+
prompt: "string",
772+
},
773+
],
774+
aggFunctions: [
775+
{
776+
column: "string",
777+
function: Gooey.AggFunctionFunction.Mean,
778+
},
779+
],
780+
selectedModel: Gooey.BulkEvalPageRequestSelectedModel.Gpt4O,
781+
avoidRepetition: true,
782+
numOutputs: 1,
783+
quality: 1.1,
784+
maxTokens: 1,
785+
samplingTemperature: 1.1,
786+
responseFormatType: Gooey.BulkEvalPageRequestResponseFormatType.Text,
787+
settings: {
788+
retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep,
789+
},
790+
});
665791
```
666792

667793
</dd>
@@ -677,7 +803,7 @@ await client.evaluator.asyncFormBulkEval();
677803
<dl>
678804
<dd>
679805

680-
**request:** `Gooey.AsyncFormBulkEvalRequest`
806+
**request:** `Gooey.BulkEvalPageRequest`
681807

682808
</dd>
683809
</dl>
@@ -904,7 +1030,7 @@ await client.searchYourDocsWithGpt.statusDocSearch({
9041030

9051031
## SmartGpt
9061032

907-
<details><summary><code>client.smartGpt.<a href="/src/api/resources/smartGpt/client/Client.ts">asyncFormSmartGpt</a>({ ...params }) -> Gooey.BodyAsyncFormSmartGpt</code></summary>
1033+
<details><summary><code>client.smartGpt.<a href="/src/api/resources/smartGpt/client/Client.ts">asyncFormSmartGpt</a>({ ...params }) -> unknown</code></summary>
9081034
<dl>
9091035
<dd>
9101036

@@ -917,7 +1043,34 @@ await client.searchYourDocsWithGpt.statusDocSearch({
9171043
<dd>
9181044

9191045
```typescript
920-
await client.smartGpt.asyncFormSmartGpt();
1046+
await client.smartGpt.asyncFormSmartGpt({
1047+
exampleId: "string",
1048+
functions: [
1049+
{
1050+
url: "string",
1051+
trigger: Gooey.RecipeFunctionTrigger.Pre,
1052+
},
1053+
],
1054+
variables: {
1055+
string: {
1056+
key: "value",
1057+
},
1058+
},
1059+
inputPrompt: "string",
1060+
cotPrompt: "string",
1061+
reflexionPrompt: "string",
1062+
deraPrompt: "string",
1063+
selectedModel: Gooey.SmartGptPageRequestSelectedModel.Gpt4O,
1064+
avoidRepetition: true,
1065+
numOutputs: 1,
1066+
quality: 1.1,
1067+
maxTokens: 1,
1068+
samplingTemperature: 1.1,
1069+
responseFormatType: Gooey.SmartGptPageRequestResponseFormatType.Text,
1070+
settings: {
1071+
retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep,
1072+
},
1073+
});
9211074
```
9221075

9231076
</dd>
@@ -933,7 +1086,7 @@ await client.smartGpt.asyncFormSmartGpt();
9331086
<dl>
9341087
<dd>
9351088

936-
**request:** `Gooey.AsyncFormSmartGptRequest`
1089+
**request:** `Gooey.SmartGptPageRequest`
9371090

9381091
</dd>
9391092
</dl>
@@ -1096,7 +1249,7 @@ await client.summarizeYourDocsWithGpt.statusDocSummary({
10961249

10971250
## Functions
10981251

1099-
<details><summary><code>client.functions.<a href="/src/api/resources/functions/client/Client.ts">asyncFormFunctions</a>({ ...params }) -> Gooey.BodyAsyncFormFunctions</code></summary>
1252+
<details><summary><code>client.functions.<a href="/src/api/resources/functions/client/Client.ts">asyncFormFunctions</a>({ ...params }) -> unknown</code></summary>
11001253
<dl>
11011254
<dd>
11021255

@@ -1109,7 +1262,18 @@ await client.summarizeYourDocsWithGpt.statusDocSummary({
11091262
<dd>
11101263

11111264
```typescript
1112-
await client.functions.asyncFormFunctions();
1265+
await client.functions.asyncFormFunctions({
1266+
exampleId: "string",
1267+
code: "string",
1268+
variables: {
1269+
string: {
1270+
key: "value",
1271+
},
1272+
},
1273+
settings: {
1274+
retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep,
1275+
},
1276+
});
11131277
```
11141278

11151279
</dd>
@@ -1125,7 +1289,7 @@ await client.functions.asyncFormFunctions();
11251289
<dl>
11261290
<dd>
11271291

1128-
**request:** `Gooey.AsyncFormFunctionsRequest`
1292+
**request:** `Gooey.FunctionsPageRequest`
11291293

11301294
</dd>
11311295
</dl>
@@ -1236,7 +1400,7 @@ await client.functions.post();
12361400

12371401
## LipSyncing
12381402

1239-
<details><summary><code>client.lipSyncing.<a href="/src/api/resources/lipSyncing/client/Client.ts">asyncFormLipsync</a>({ ...params }) -> Gooey.BodyAsyncFormLipsync</code></summary>
1403+
<details><summary><code>client.lipSyncing.<a href="/src/api/resources/lipSyncing/client/Client.ts">asyncFormLipsync</a>({ ...params }) -> unknown</code></summary>
12401404
<dl>
12411405
<dd>
12421406

@@ -1249,7 +1413,41 @@ await client.functions.post();
12491413
<dd>
12501414

12511415
```typescript
1252-
await client.lipSyncing.asyncFormLipsync();
1416+
await client.lipSyncing.asyncFormLipsync({
1417+
exampleId: "string",
1418+
functions: [
1419+
{
1420+
url: "string",
1421+
trigger: Gooey.RecipeFunctionTrigger.Pre,
1422+
},
1423+
],
1424+
variables: {
1425+
string: {
1426+
key: "value",
1427+
},
1428+
},
1429+
inputFace: "string",
1430+
facePaddingTop: 1,
1431+
facePaddingBottom: 1,
1432+
facePaddingLeft: 1,
1433+
facePaddingRight: 1,
1434+
sadtalkerSettings: {
1435+
still: true,
1436+
preprocess: Gooey.SadTalkerSettingsPreprocess.Crop,
1437+
poseStyle: 1,
1438+
expressionScale: 1.1,
1439+
refEyeblink: "string",
1440+
refPose: "string",
1441+
inputYaw: [1],
1442+
inputPitch: [1],
1443+
inputRoll: [1],
1444+
},
1445+
selectedModel: Gooey.LipsyncPageRequestSelectedModel.Wav2Lip,
1446+
inputAudio: "string",
1447+
settings: {
1448+
retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep,
1449+
},
1450+
});
12531451
```
12541452

12551453
</dd>
@@ -1265,7 +1463,7 @@ await client.lipSyncing.asyncFormLipsync();
12651463
<dl>
12661464
<dd>
12671465

1268-
**request:** `Gooey.AsyncFormLipsyncRequest`
1466+
**request:** `Gooey.LipsyncPageRequest`
12691467

12701468
</dd>
12711469
</dl>

0 commit comments

Comments
 (0)