Skip to content

Commit

Permalink
Release 0.0.1-beta17
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Sep 5, 2024
1 parent ecf03d5 commit 199fe62
Show file tree
Hide file tree
Showing 70 changed files with 458 additions and 2,250 deletions.
32 changes: 3 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,42 +16,16 @@ npm i -s gooeyai
Instantiate and use the client with the following:

```typescript
import { GooeyClient, Gooey } from "gooeyai";
import { GooeyClient } from "gooeyai";

const client = new GooeyClient({ apiKey: "YOUR_API_KEY" });
await client.animate({
exampleId: "string",
functions: [
{
url: "string",
trigger: Gooey.RecipeFunctionTrigger.Pre,
},
],
variables: {
string: {
key: "value",
},
},
animationPrompts: [
{
frame: "string",
prompt: "string",
frame: "frame",
prompt: "prompt",
},
],
maxFrames: 1,
selectedModel: Gooey.DeforumSdPageRequestSelectedModel.Protogen22,
animationMode: "string",
zoom: "string",
translationX: "string",
translationY: "string",
rotation3DX: "string",
rotation3DY: "string",
rotation3DZ: "string",
fps: 1,
seed: 1,
settings: {
retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep,
},
});
```

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gooeyai",
"version": "0.0.1-beta16",
"version": "0.0.1-beta17",
"private": false,
"repository": "https://github.com/GooeyAI/typescript-sdk",
"main": "./index.js",
Expand Down
214 changes: 10 additions & 204 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ await client.copilotIntegrations.videoBotsStream("request_id");

## CopilotForYourEnterprise

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

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

```typescript
await client.copilotForYourEnterprise.asyncFormVideoBots({
exampleId: "string",
functions: [
{
url: "string",
trigger: Gooey.RecipeFunctionTrigger.Pre,
},
],
variables: {
string: {
key: "value",
},
},
inputPrompt: "string",
inputAudio: "string",
inputImages: ["string"],
inputDocuments: ["string"],
docExtractUrl: "string",
messages: [
{
role: Gooey.ConversationEntryRole.User,
content: "string",
displayName: "string",
},
],
botScript: "string",
selectedModel: Gooey.VideoBotsPageRequestSelectedModel.Gpt4O,
documentModel: "string",
taskInstructions: "string",
queryInstructions: "string",
keywordInstructions: "string",
documents: ["string"],
maxReferences: 1,
maxContextWords: 1,
scrollJump: 1,
embeddingModel: Gooey.VideoBotsPageRequestEmbeddingModel.Openai3Large,
denseWeight: 1.1,
citationStyle: Gooey.VideoBotsPageRequestCitationStyle.Number,
useUrlShortener: true,
asrModel: Gooey.VideoBotsPageRequestAsrModel.WhisperLargeV2,
asrLanguage: "string",
translationModel: Gooey.VideoBotsPageRequestTranslationModel.Google,
userLanguage: "string",
inputGlossaryDocument: "string",
outputGlossaryDocument: "string",
lipsyncModel: Gooey.VideoBotsPageRequestLipsyncModel.Wav2Lip,
tools: ["json_to_pdf"],
avoidRepetition: true,
numOutputs: 1,
quality: 1.1,
maxTokens: 1,
samplingTemperature: 1.1,
responseFormatType: Gooey.VideoBotsPageRequestResponseFormatType.Text,
ttsProvider: Gooey.VideoBotsPageRequestTtsProvider.GoogleTts,
uberduckVoiceName: "string",
uberduckSpeakingRate: 1.1,
googleVoiceName: "string",
googleSpeakingRate: 1.1,
googlePitch: 1.1,
barkHistoryPrompt: "string",
elevenlabsVoiceName: "string",
elevenlabsApiKey: "string",
elevenlabsVoiceId: "string",
elevenlabsModel: "string",
elevenlabsStability: 1.1,
elevenlabsSimilarityBoost: 1.1,
elevenlabsStyle: 1.1,
elevenlabsSpeakerBoost: true,
azureVoiceName: "string",
openaiVoiceName: Gooey.VideoBotsPageRequestOpenaiVoiceName.Alloy,
openaiTtsModel: Gooey.VideoBotsPageRequestOpenaiTtsModel.Tts1,
inputFace: "string",
facePaddingTop: 1,
facePaddingBottom: 1,
facePaddingLeft: 1,
facePaddingRight: 1,
sadtalkerSettings: {
still: true,
preprocess: Gooey.SadTalkerSettingsPreprocess.Crop,
poseStyle: 1,
expressionScale: 1.1,
refEyeblink: "string",
refPose: "string",
inputYaw: [1],
inputPitch: [1],
inputRoll: [1],
},
settings: {
retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep,
},
});
await client.copilotForYourEnterprise.asyncFormVideoBots();
```

</dd>
Expand Down Expand Up @@ -738,7 +648,7 @@ await client.bulkRunner.post();

## Evaluator

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

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

```typescript
await client.evaluator.asyncFormBulkEval({
exampleId: "string",
functions: [
{
url: "string",
trigger: Gooey.RecipeFunctionTrigger.Pre,
},
],
variables: {
string: {
key: "value",
},
},
documents: ["string"],
evalPrompts: [
{
name: "string",
prompt: "string",
},
],
aggFunctions: [
{
column: "string",
function: Gooey.AggFunctionFunction.Mean,
},
],
selectedModel: Gooey.BulkEvalPageRequestSelectedModel.Gpt4O,
avoidRepetition: true,
numOutputs: 1,
quality: 1.1,
maxTokens: 1,
samplingTemperature: 1.1,
responseFormatType: Gooey.BulkEvalPageRequestResponseFormatType.Text,
settings: {
retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep,
},
documents: ["documents"],
});
```

Expand Down Expand Up @@ -1030,7 +906,7 @@ await client.searchYourDocsWithGpt.statusDocSearch({

## SmartGpt

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

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

```typescript
await client.smartGpt.asyncFormSmartGpt({
exampleId: "string",
functions: [
{
url: "string",
trigger: Gooey.RecipeFunctionTrigger.Pre,
},
],
variables: {
string: {
key: "value",
},
},
inputPrompt: "string",
cotPrompt: "string",
reflexionPrompt: "string",
deraPrompt: "string",
selectedModel: Gooey.SmartGptPageRequestSelectedModel.Gpt4O,
avoidRepetition: true,
numOutputs: 1,
quality: 1.1,
maxTokens: 1,
samplingTemperature: 1.1,
responseFormatType: Gooey.SmartGptPageRequestResponseFormatType.Text,
settings: {
retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep,
},
inputPrompt: "input_prompt",
});
```

Expand Down Expand Up @@ -1249,7 +1100,7 @@ await client.summarizeYourDocsWithGpt.statusDocSummary({

## Functions

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

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

```typescript
await client.functions.asyncFormFunctions({
exampleId: "string",
code: "string",
variables: {
string: {
key: "value",
},
},
settings: {
retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep,
},
});
await client.functions.asyncFormFunctions();
```

</dd>
Expand Down Expand Up @@ -1400,7 +1240,7 @@ await client.functions.post();

## LipSyncing

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

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

```typescript
await client.lipSyncing.asyncFormLipsync({
exampleId: "string",
functions: [
{
url: "string",
trigger: Gooey.RecipeFunctionTrigger.Pre,
},
],
variables: {
string: {
key: "value",
},
},
inputFace: "string",
facePaddingTop: 1,
facePaddingBottom: 1,
facePaddingLeft: 1,
facePaddingRight: 1,
sadtalkerSettings: {
still: true,
preprocess: Gooey.SadTalkerSettingsPreprocess.Crop,
poseStyle: 1,
expressionScale: 1.1,
refEyeblink: "string",
refPose: "string",
inputYaw: [1],
inputPitch: [1],
inputRoll: [1],
},
selectedModel: Gooey.LipsyncPageRequestSelectedModel.Wav2Lip,
inputAudio: "string",
settings: {
retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep,
},
});
await client.lipSyncing.asyncFormLipsync();
```

</dd>
Expand Down
Loading

0 comments on commit 199fe62

Please sign in to comment.