diff --git a/README.md b/README.md
deleted file mode 100644
index e3791f1..0000000
--- a/README.md
+++ /dev/null
@@ -1,98 +0,0 @@
-
-
------
-
-Superagent is an open source framework that enables any developer to build production ready AI Assistants into any application in a matter of minutes.
-
------
-
-## Installation
-
-Add this dependency to your project's build file:
-
-```bash
-npm i superagentai-js
-```
-
-## Usage
-
-```javascript
-import { SuperAgentClient } from "superagentai-js"
-
-const superagent = new SuperAgentClient({
- environment: "https://api.beta.superagent.sh", // Replace with your own env
- token: process.env.SUPERAGENT_API_KEY // Replace with your own API key
-})
-
-const {data: llm} = await superagent.llm.create({
- provider: "OPENAI",
- apiKey: process.env.OPENAI_API_KEY
-})
-
-const {data: tool} = await superagent.tool.create({
- name: "Browser",
- description: "Useful for answering questions/analsing a website or url.",
- type: "BROWSER"
-})
-
-const {data: agent} = await superagent.agent.create({
- name: "My Agent",
- description: "My awesome agent",
- isActive: True,
- llmModel: "GPT_4_1106_PREVIEW",
- prompt: "You are a helpful assistant"
-})
-
-await superagent.agent.addLlm(agent.id, {
- llmId: llm.id
-})
-
-await superagent.agent.addTool(agent.id, {
- toolId: tool.id
-})
-
-const { data: {
- output,
- intermediate_steps: steps
-} } = await superagent.agent.invoke(agent.id, {
- input: userInput,
- enableStreaming: false,
- sessionId: "my-session"
-})
-
-console.log(output)
-console.log(steps)
-
-```
-
-## Acknowledgements
-
-A special thanks to the [Fern](https://buildwithfern.com/) team for all support with the Superagent libraries and SDKS ❤️.
-
-## Beta status
-
-This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning the package version to a specific version in your pyproject.toml file. This way, you can install the same version each time without breaking changes unless you are intentionally looking for the latest version.
-
-## Contributing
-
-While we value open-source contributions to this SDK, this library is generated programmatically. Additions made directly to this library would have to be moved over to our generation code, otherwise they would be overwritten upon the next generated release. Feel free to open a PR as a proof of concept, but know that we will not be able to merge it as-is. We suggest opening an issue first to discuss with us!
-
-On the other hand, contributions to the README are always very welcome!
diff --git a/package.json b/package.json
index 3572102..96c0e9e 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "superagentai-js",
- "version": "v0.1.36",
+ "version": "v0.1.37",
"private": false,
"repository": "https://github.com/homanp/superagent-js",
"main": "./index.js",
diff --git a/src/api/resources/agent/client/Client.ts b/src/api/resources/agent/client/Client.ts
index 8dd03e1..a12e434 100644
--- a/src/api/resources/agent/client/Client.ts
+++ b/src/api/resources/agent/client/Client.ts
@@ -38,7 +38,7 @@ export class Agent {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -93,7 +93,7 @@ export class Agent {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
body: await serializers.AppModelsRequestAgent.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -161,7 +161,7 @@ export class Agent {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -225,7 +225,7 @@ export class Agent {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -288,7 +288,7 @@ export class Agent {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
body: await serializers.AppModelsRequestAgent.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -357,7 +357,7 @@ export class Agent {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
body: await serializers.AppModelsRequestAgentInvoke.jsonOrThrow(request, {
@@ -428,7 +428,7 @@ export class Agent {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
body: await serializers.AppModelsRequestAgentLlm.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -493,7 +493,7 @@ export class Agent {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -552,7 +552,7 @@ export class Agent {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -620,7 +620,7 @@ export class Agent {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
body: await serializers.AppModelsRequestAgentTool.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -685,7 +685,7 @@ export class Agent {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -747,7 +747,7 @@ export class Agent {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -815,7 +815,7 @@ export class Agent {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
body: await serializers.AppModelsRequestAgentDatasource.jsonOrThrow(request, {
@@ -886,7 +886,7 @@ export class Agent {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -945,7 +945,7 @@ export class Agent {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
diff --git a/src/api/resources/apiUser/client/Client.ts b/src/api/resources/apiUser/client/Client.ts
index d8f24aa..1cc0545 100644
--- a/src/api/resources/apiUser/client/Client.ts
+++ b/src/api/resources/apiUser/client/Client.ts
@@ -42,7 +42,7 @@ export class ApiUser {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
body: await serializers.AppModelsRequestApiUser.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -106,7 +106,7 @@ export class ApiUser {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -157,7 +157,7 @@ export class ApiUser {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
diff --git a/src/api/resources/datasource/client/Client.ts b/src/api/resources/datasource/client/Client.ts
index 9ef78d3..c5a2b3f 100644
--- a/src/api/resources/datasource/client/Client.ts
+++ b/src/api/resources/datasource/client/Client.ts
@@ -38,7 +38,7 @@ export class Datasource {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -93,7 +93,7 @@ export class Datasource {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
body: await serializers.AppModelsRequestDatasource.jsonOrThrow(request, {
@@ -163,7 +163,7 @@ export class Datasource {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -227,7 +227,7 @@ export class Datasource {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -290,7 +290,7 @@ export class Datasource {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
body: await serializers.AppModelsRequestDatasource.jsonOrThrow(request, {
diff --git a/src/api/resources/llm/client/Client.ts b/src/api/resources/llm/client/Client.ts
index ee68ad1..74b5250 100644
--- a/src/api/resources/llm/client/Client.ts
+++ b/src/api/resources/llm/client/Client.ts
@@ -38,7 +38,7 @@ export class Llm {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -93,7 +93,7 @@ export class Llm {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
body: await serializers.AppModelsRequestLlm.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -158,7 +158,7 @@ export class Llm {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -226,7 +226,7 @@ export class Llm {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
body: await serializers.AppModelsRequestLlm.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
diff --git a/src/api/resources/tool/client/Client.ts b/src/api/resources/tool/client/Client.ts
index 1c5be30..0cf589f 100644
--- a/src/api/resources/tool/client/Client.ts
+++ b/src/api/resources/tool/client/Client.ts
@@ -38,7 +38,7 @@ export class Tool {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -93,7 +93,7 @@ export class Tool {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
body: await serializers.AppModelsRequestTool.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -158,7 +158,7 @@ export class Tool {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -222,7 +222,7 @@ export class Tool {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -285,7 +285,7 @@ export class Tool {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
body: await serializers.AppModelsRequestTool.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
diff --git a/src/api/resources/workflow/client/Client.ts b/src/api/resources/workflow/client/Client.ts
index a3bdf78..1e1ab11 100644
--- a/src/api/resources/workflow/client/Client.ts
+++ b/src/api/resources/workflow/client/Client.ts
@@ -38,7 +38,7 @@ export class Workflow {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -93,7 +93,7 @@ export class Workflow {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
body: await serializers.AppModelsRequestWorkflow.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -161,7 +161,7 @@ export class Workflow {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -225,7 +225,7 @@ export class Workflow {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -288,7 +288,7 @@ export class Workflow {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
body: await serializers.AppModelsRequestWorkflow.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -357,7 +357,7 @@ export class Workflow {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
body: await serializers.WorkflowInvoke.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -420,7 +420,7 @@ export class Workflow {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -488,7 +488,7 @@ export class Workflow {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
body: await serializers.AppModelsRequestWorkflowStep.jsonOrThrow(request, {
@@ -559,7 +559,7 @@ export class Workflow {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "superagentai-js",
- "X-Fern-SDK-Version": "v0.1.36",
+ "X-Fern-SDK-Version": "v0.1.37",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
diff --git a/src/api/types/LlmModel.ts b/src/api/types/LlmModel.ts
index c6b1803..597e678 100644
--- a/src/api/types/LlmModel.ts
+++ b/src/api/types/LlmModel.ts
@@ -5,11 +5,21 @@
/**
* An enumeration.
*/
-export type LlmModel = "GPT_3_5_TURBO_16K_0613" | "GPT_3_5_TURBO_0613" | "GPT_4_0613" | "GPT_4_32K_0613";
+export type LlmModel =
+ | "GPT_3_5_TURBO_16K_0613"
+ | "GPT_3_5_TURBO_0613"
+ | "GPT_3_5_TURBO_1106"
+ | "GPT_4_0613"
+ | "GPT_4_32K_0613"
+ | "GPT_4_1106_PREVIEW"
+ | "MISTRAL_7B_INSTRUCT_V01";
export const LlmModel = {
Gpt35Turbo16K0613: "GPT_3_5_TURBO_16K_0613",
Gpt35Turbo0613: "GPT_3_5_TURBO_0613",
+ Gpt35Turbo1106: "GPT_3_5_TURBO_1106",
Gpt40613: "GPT_4_0613",
Gpt432K0613: "GPT_4_32K_0613",
+ Gpt41106Preview: "GPT_4_1106_PREVIEW",
+ Mistral7BInstructV01: "MISTRAL_7B_INSTRUCT_V01",
} as const;
diff --git a/src/api/types/LlmProvider.ts b/src/api/types/LlmProvider.ts
index a112139..8ece4e7 100644
--- a/src/api/types/LlmProvider.ts
+++ b/src/api/types/LlmProvider.ts
@@ -5,9 +5,10 @@
/**
* An enumeration.
*/
-export type LlmProvider = "OPENAI" | "AZURE_OPENAI";
+export type LlmProvider = "OPENAI" | "AZURE_OPENAI" | "HUGGINGFACE";
export const LlmProvider = {
Openai: "OPENAI",
AzureOpenai: "AZURE_OPENAI",
+ Huggingface: "HUGGINGFACE",
} as const;
diff --git a/src/api/types/ToolType.ts b/src/api/types/ToolType.ts
index e5bdf67..abe0e36 100644
--- a/src/api/types/ToolType.ts
+++ b/src/api/types/ToolType.ts
@@ -6,6 +6,7 @@
* An enumeration.
*/
export type ToolType =
+ | "ALGOLIA"
| "BROWSER"
| "BING_SEARCH"
| "REPLICATE"
@@ -16,9 +17,15 @@ export type ToolType =
| "CHATGPT_PLUGIN"
| "METAPHOR"
| "PUBMED"
- | "CODE_EXECUTOR";
+ | "CODE_EXECUTOR"
+ | "OPENBB"
+ | "GPT_VISION"
+ | "TTS_1"
+ | "HAND_OFF"
+ | "FUNCTION";
export const ToolType = {
+ Algolia: "ALGOLIA",
Browser: "BROWSER",
BingSearch: "BING_SEARCH",
Replicate: "REPLICATE",
@@ -30,4 +37,9 @@ export const ToolType = {
Metaphor: "METAPHOR",
Pubmed: "PUBMED",
CodeExecutor: "CODE_EXECUTOR",
+ Openbb: "OPENBB",
+ GptVision: "GPT_VISION",
+ Tts1: "TTS_1",
+ HandOff: "HAND_OFF",
+ Function: "FUNCTION",
} as const;
diff --git a/src/serialization/types/LlmModel.ts b/src/serialization/types/LlmModel.ts
index 06356f7..e2c18ae 100644
--- a/src/serialization/types/LlmModel.ts
+++ b/src/serialization/types/LlmModel.ts
@@ -7,8 +7,23 @@ import * as SuperAgent from "../../api";
import * as core from "../../core";
export const LlmModel: core.serialization.Schema =
- core.serialization.enum_(["GPT_3_5_TURBO_16K_0613", "GPT_3_5_TURBO_0613", "GPT_4_0613", "GPT_4_32K_0613"]);
+ core.serialization.enum_([
+ "GPT_3_5_TURBO_16K_0613",
+ "GPT_3_5_TURBO_0613",
+ "GPT_3_5_TURBO_1106",
+ "GPT_4_0613",
+ "GPT_4_32K_0613",
+ "GPT_4_1106_PREVIEW",
+ "MISTRAL_7B_INSTRUCT_V01",
+ ]);
export declare namespace LlmModel {
- type Raw = "GPT_3_5_TURBO_16K_0613" | "GPT_3_5_TURBO_0613" | "GPT_4_0613" | "GPT_4_32K_0613";
+ type Raw =
+ | "GPT_3_5_TURBO_16K_0613"
+ | "GPT_3_5_TURBO_0613"
+ | "GPT_3_5_TURBO_1106"
+ | "GPT_4_0613"
+ | "GPT_4_32K_0613"
+ | "GPT_4_1106_PREVIEW"
+ | "MISTRAL_7B_INSTRUCT_V01";
}
diff --git a/src/serialization/types/LlmProvider.ts b/src/serialization/types/LlmProvider.ts
index 2bb7606..2ddfe7f 100644
--- a/src/serialization/types/LlmProvider.ts
+++ b/src/serialization/types/LlmProvider.ts
@@ -7,8 +7,8 @@ import * as SuperAgent from "../../api";
import * as core from "../../core";
export const LlmProvider: core.serialization.Schema =
- core.serialization.enum_(["OPENAI", "AZURE_OPENAI"]);
+ core.serialization.enum_(["OPENAI", "AZURE_OPENAI", "HUGGINGFACE"]);
export declare namespace LlmProvider {
- type Raw = "OPENAI" | "AZURE_OPENAI";
+ type Raw = "OPENAI" | "AZURE_OPENAI" | "HUGGINGFACE";
}
diff --git a/src/serialization/types/ToolType.ts b/src/serialization/types/ToolType.ts
index 33961ab..fb4784d 100644
--- a/src/serialization/types/ToolType.ts
+++ b/src/serialization/types/ToolType.ts
@@ -8,6 +8,7 @@ import * as core from "../../core";
export const ToolType: core.serialization.Schema =
core.serialization.enum_([
+ "ALGOLIA",
"BROWSER",
"BING_SEARCH",
"REPLICATE",
@@ -19,10 +20,16 @@ export const ToolType: core.serialization.Schema