@inkeep/ai-api
Advanced tools
Comparing version 0.6.1 to 0.6.2
@@ -23,8 +23,8 @@ # ChatSession | ||
const inkeepAI = new InkeepAI({ | ||
apiKey: "<YOUR_BEARER_TOKEN_HERE>", | ||
}); | ||
async function run() { | ||
const sdk = new InkeepAI({ | ||
apiKey: "<YOUR_BEARER_TOKEN_HERE>", | ||
}); | ||
const result = await sdk.chatSession.create({ | ||
const result = await inkeepAI.chatSession.create({ | ||
integrationId: "<value>", | ||
@@ -81,7 +81,7 @@ chatSession: { | ||
const inkeepAI = new InkeepAI({ | ||
apiKey: "<YOUR_BEARER_TOKEN_HERE>", | ||
}); | ||
async function run() { | ||
const sdk = new InkeepAI({ | ||
apiKey: "<YOUR_BEARER_TOKEN_HERE>", | ||
}); | ||
const chatSessionId = "<value>"; | ||
@@ -107,3 +107,3 @@ const continueChatSessionWithChatResultInput = { | ||
const result = await sdk.chatSession.continue(chatSessionId, continueChatSessionWithChatResultInput); | ||
const result = await inkeepAI.chatSession.continue(chatSessionId, continueChatSessionWithChatResultInput); | ||
@@ -110,0 +110,0 @@ if (res.chatResultStream == null) { |
@@ -27,6 +27,6 @@ import { HTTPClient } from "./http"; | ||
openapiDocVersion: "0.1.0"; | ||
sdkVersion: "0.6.1"; | ||
genVersion: "2.295.1"; | ||
userAgent: "speakeasy-sdk/typescript 0.6.1 2.295.1 0.1.0 @inkeep/ai-api"; | ||
sdkVersion: "0.6.2"; | ||
genVersion: "2.306.0"; | ||
userAgent: "speakeasy-sdk/typescript 0.6.2 2.306.0 0.1.0 @inkeep/ai-api"; | ||
}>; | ||
//# sourceMappingURL=config.d.ts.map |
@@ -35,6 +35,6 @@ "use strict"; | ||
openapiDocVersion: "0.1.0", | ||
sdkVersion: "0.6.1", | ||
genVersion: "2.295.1", | ||
userAgent: "speakeasy-sdk/typescript 0.6.1 2.295.1 0.1.0 @inkeep/ai-api", | ||
sdkVersion: "0.6.2", | ||
genVersion: "2.306.0", | ||
userAgent: "speakeasy-sdk/typescript 0.6.2 2.306.0 0.1.0 @inkeep/ai-api", | ||
}); | ||
//# sourceMappingURL=config.js.map |
{ | ||
"name": "@inkeep/ai-api", | ||
"version": "0.6.1", | ||
"version": "0.6.2", | ||
"author": "Nick Gomez", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
@@ -41,8 +41,8 @@ <div align="center"> | ||
const inkeepAI = new InkeepAI({ | ||
apiKey: "<YOUR_BEARER_TOKEN_HERE>", | ||
}); | ||
async function run() { | ||
const sdk = new InkeepAI({ | ||
apiKey: "<YOUR_BEARER_TOKEN_HERE>", | ||
}); | ||
const result = await sdk.chatSession.create({ | ||
const result = await inkeepAI.chatSession.create({ | ||
integrationId: "<value>", | ||
@@ -95,8 +95,8 @@ chatSession: { | ||
const inkeepAI = new InkeepAI({ | ||
apiKey: "<YOUR_BEARER_TOKEN_HERE>", | ||
}); | ||
async function run() { | ||
const sdk = new InkeepAI({ | ||
apiKey: "<YOUR_BEARER_TOKEN_HERE>", | ||
}); | ||
const result = await sdk.chatSession.create({ | ||
const result = await inkeepAI.chatSession.create({ | ||
integrationId: "<value>", | ||
@@ -148,10 +148,10 @@ chatSession: { | ||
const inkeepAI = new InkeepAI({ | ||
apiKey: "<YOUR_BEARER_TOKEN_HERE>", | ||
}); | ||
async function run() { | ||
const sdk = new InkeepAI({ | ||
apiKey: "<YOUR_BEARER_TOKEN_HERE>", | ||
}); | ||
let result; | ||
try { | ||
result = await sdk.chatSession.create({ | ||
result = await inkeepAI.chatSession.create({ | ||
integrationId: "<value>", | ||
@@ -215,9 +215,9 @@ chatSession: { | ||
const inkeepAI = new InkeepAI({ | ||
serverIdx: 0, | ||
apiKey: "<YOUR_BEARER_TOKEN_HERE>", | ||
}); | ||
async function run() { | ||
const sdk = new InkeepAI({ | ||
serverIdx: 0, | ||
apiKey: "<YOUR_BEARER_TOKEN_HERE>", | ||
}); | ||
const result = await sdk.chatSession.create({ | ||
const result = await inkeepAI.chatSession.create({ | ||
integrationId: "<value>", | ||
@@ -256,9 +256,9 @@ chatSession: { | ||
const inkeepAI = new InkeepAI({ | ||
serverURL: "https://api.inkeep.com", | ||
apiKey: "<YOUR_BEARER_TOKEN_HERE>", | ||
}); | ||
async function run() { | ||
const sdk = new InkeepAI({ | ||
serverURL: "https://api.inkeep.com", | ||
apiKey: "<YOUR_BEARER_TOKEN_HERE>", | ||
}); | ||
const result = await sdk.chatSession.create({ | ||
const result = await inkeepAI.chatSession.create({ | ||
integrationId: "<value>", | ||
@@ -354,8 +354,8 @@ chatSession: { | ||
const inkeepAI = new InkeepAI({ | ||
apiKey: "<YOUR_BEARER_TOKEN_HERE>", | ||
}); | ||
async function run() { | ||
const sdk = new InkeepAI({ | ||
apiKey: "<YOUR_BEARER_TOKEN_HERE>", | ||
}); | ||
const result = await sdk.chatSession.create({ | ||
const result = await inkeepAI.chatSession.create({ | ||
integrationId: "<value>", | ||
@@ -362,0 +362,0 @@ chatSession: { |
@@ -57,5 +57,5 @@ /* | ||
openapiDocVersion: "0.1.0", | ||
sdkVersion: "0.6.1", | ||
genVersion: "2.295.1", | ||
userAgent: "speakeasy-sdk/typescript 0.6.1 2.295.1 0.1.0 @inkeep/ai-api", | ||
sdkVersion: "0.6.2", | ||
genVersion: "2.306.0", | ||
userAgent: "speakeasy-sdk/typescript 0.6.2 2.306.0 0.1.0 @inkeep/ai-api", | ||
}); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
409263