Skip to content

Commit 199fe62

Browse files
committed
Release 0.0.1-beta17
1 parent ecf03d5 commit 199fe62

File tree

70 files changed

+458
-2250
lines changed

Some content is hidden

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

70 files changed

+458
-2250
lines changed

README.md

Lines changed: 3 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -16,42 +16,16 @@ npm i -s gooeyai
1616
Instantiate and use the client with the following:
1717

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

2121
const client = new GooeyClient({ apiKey: "YOUR_API_KEY" });
2222
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-
},
3523
animationPrompts: [
3624
{
37-
frame: "string",
38-
prompt: "string",
25+
frame: "frame",
26+
prompt: "prompt",
3927
},
4028
],
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-
},
5529
});
5630
```
5731

package.json

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

reference.md

Lines changed: 10 additions & 204 deletions
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 }) -> unknown</code></summary>
147+
<details><summary><code>client.copilotForYourEnterprise.<a href="/src/api/resources/copilotForYourEnterprise/client/Client.ts">asyncFormVideoBots</a>({ ...params }) -> Gooey.VideoBotsPageStatusResponse</code></summary>
148148
<dl>
149149
<dd>
150150

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

159159
```typescript
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-
});
160+
await client.copilotForYourEnterprise.asyncFormVideoBots();
251161
```
252162

253163
</dd>
@@ -738,7 +648,7 @@ await client.bulkRunner.post();
738648

739649
## Evaluator
740650

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

@@ -752,41 +662,7 @@ await client.bulkRunner.post();
752662

753663
```typescript
754664
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-
},
665+
documents: ["documents"],
790666
});
791667
```
792668

@@ -1030,7 +906,7 @@ await client.searchYourDocsWithGpt.statusDocSearch({
1030906

1031907
## SmartGpt
1032908

1033-
<details><summary><code>client.smartGpt.<a href="/src/api/resources/smartGpt/client/Client.ts">asyncFormSmartGpt</a>({ ...params }) -> unknown</code></summary>
909+
<details><summary><code>client.smartGpt.<a href="/src/api/resources/smartGpt/client/Client.ts">asyncFormSmartGpt</a>({ ...params }) -> Gooey.SmartGptPageStatusResponse</code></summary>
1034910
<dl>
1035911
<dd>
1036912

@@ -1044,32 +920,7 @@ await client.searchYourDocsWithGpt.statusDocSearch({
1044920

1045921
```typescript
1046922
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-
},
923+
inputPrompt: "input_prompt",
1073924
});
1074925
```
1075926

@@ -1249,7 +1100,7 @@ await client.summarizeYourDocsWithGpt.statusDocSummary({
12491100

12501101
## Functions
12511102

1252-
<details><summary><code>client.functions.<a href="/src/api/resources/functions/client/Client.ts">asyncFormFunctions</a>({ ...params }) -> unknown</code></summary>
1103+
<details><summary><code>client.functions.<a href="/src/api/resources/functions/client/Client.ts">asyncFormFunctions</a>({ ...params }) -> Gooey.FunctionsPageStatusResponse</code></summary>
12531104
<dl>
12541105
<dd>
12551106

@@ -1262,18 +1113,7 @@ await client.summarizeYourDocsWithGpt.statusDocSummary({
12621113
<dd>
12631114

12641115
```typescript
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-
});
1116+
await client.functions.asyncFormFunctions();
12771117
```
12781118

12791119
</dd>
@@ -1400,7 +1240,7 @@ await client.functions.post();
14001240

14011241
## LipSyncing
14021242

1403-
<details><summary><code>client.lipSyncing.<a href="/src/api/resources/lipSyncing/client/Client.ts">asyncFormLipsync</a>({ ...params }) -> unknown</code></summary>
1243+
<details><summary><code>client.lipSyncing.<a href="/src/api/resources/lipSyncing/client/Client.ts">asyncFormLipsync</a>({ ...params }) -> Gooey.LipsyncPageStatusResponse</code></summary>
14041244
<dl>
14051245
<dd>
14061246

@@ -1413,41 +1253,7 @@ await client.functions.post();
14131253
<dd>
14141254

14151255
```typescript
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-
});
1256+
await client.lipSyncing.asyncFormLipsync();
14511257
```
14521258

14531259
</dd>

0 commit comments

Comments
 (0)