New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@dopt/ai-javascript-client

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dopt/ai-javascript-client - npm Package Compare versions

Comparing version

to
0.0.8

@@ -30,3 +30,2 @@ /**

* userIdentifier: "string",
* model: DoptApi.SearchRequestModel.Gemini,
* context: {

@@ -33,0 +32,0 @@ * document: {

@@ -44,3 +44,2 @@ /**

* userIdentifier: "string",
* model: DoptApi.SearchRequestModel.Gemini,
* context: {

@@ -47,0 +46,0 @@ * document: {

@@ -9,3 +9,2 @@ /**

* userIdentifier: "string",
* model: DoptApi.SearchRequestModel.Gemini,
* context: {

@@ -49,5 +48,5 @@ * document: {

groupIdentifier?: string;
model?: DoptApi.SearchRequestModel;
model?: string;
query?: string;
context?: DoptApi.SearchRequestContext;
}

@@ -29,3 +29,2 @@ /**

* userIdentifier: "string",
* model: DoptApi.assistant.CompletionsCreateRequestModel.Gemini,
* context: {

@@ -32,0 +31,0 @@ * document: {

@@ -43,3 +43,2 @@ /**

* userIdentifier: "string",
* model: DoptApi.assistant.CompletionsCreateRequestModel.Gemini,
* context: {

@@ -46,0 +45,0 @@ * document: {

@@ -9,3 +9,2 @@ /**

* userIdentifier: "string",
* model: DoptApi.assistant.CompletionsCreateRequestModel.Gemini,
* context: {

@@ -49,5 +48,5 @@ * document: {

groupIdentifier?: string;
model?: DoptApi.assistant.CompletionsCreateRequestModel;
model?: string;
query?: string;
context?: DoptApi.assistant.CompletionsCreateRequestContext;
}

@@ -8,5 +8,5 @@ /**

groupIdentifier?: string;
model?: DoptApi.assistant.CompletionsStreamRequestModel;
model?: string;
query?: string;
context?: DoptApi.assistant.CompletionsStreamRequestContext;
}

@@ -1,2 +0,1 @@

export * from "./CompletionsCreateRequestModel";
export * from "./CompletionsCreateRequestContextDocumentValue";

@@ -14,3 +13,2 @@ export * from "./CompletionsCreateRequestContextDocument";

export * from "./CompletionsCreateResponse";
export * from "./CompletionsStreamRequestModel";
export * from "./CompletionsStreamRequestContextDocumentValue";

@@ -17,0 +15,0 @@ export * from "./CompletionsStreamRequestContextDocument";

@@ -1,2 +0,1 @@

export * from "./CompletionsCreateRequestModel";
export * from "./CompletionsCreateRequestContextDocumentValue";

@@ -14,3 +13,2 @@ export * from "./CompletionsCreateRequestContextDocument";

export * from "./CompletionsCreateResponse";
export * from "./CompletionsStreamRequestModel";
export * from "./CompletionsStreamRequestContextDocumentValue";

@@ -17,0 +15,0 @@ export * from "./CompletionsStreamRequestContextDocument";

@@ -1,2 +0,1 @@

export * from "./SearchRequestModel";
export * from "./SearchRequestContextDocumentValue";

@@ -3,0 +2,0 @@ export * from "./SearchRequestContextDocument";

@@ -1,2 +0,1 @@

export * from "./SearchRequestModel";
export * from "./SearchRequestContextDocumentValue";

@@ -3,0 +2,0 @@ export * from "./SearchRequestContextDocument";

/**
* This file was auto-generated by Fern from our API Definition.
*/
import * as DoptApi from "..";
export interface AssistantQueryParams {
userIdentifier: string;
groupIdentifier?: string;
model?: DoptApi.AssistantQueryParamsModel;
model?: string;
}

@@ -20,3 +20,2 @@ export * from "./AnswerChunkSourcesItemChunksItem";

export * from "./AssistantDocumentSources";
export * from "./AssistantQueryParamsModel";
export * from "./AssistantQueryParams";

@@ -23,0 +22,0 @@ export * from "./AssistantRequestBodyContextDocumentValue";

@@ -20,3 +20,2 @@ export * from "./AnswerChunkSourcesItemChunksItem";

export * from "./AssistantDocumentSources";
export * from "./AssistantQueryParamsModel";
export * from "./AssistantQueryParams";

@@ -23,0 +22,0 @@ export * from "./AssistantRequestBodyContextDocumentValue";

@@ -1,2 +0,1 @@

export * from "./CompletionsCreateRequestModel";
export * from "./CompletionsCreateRequestContextDocumentValue";

@@ -14,3 +13,2 @@ export * from "./CompletionsCreateRequestContextDocument";

export * from "./CompletionsCreateResponse";
export * from "./CompletionsStreamRequestModel";
export * from "./CompletionsStreamRequestContextDocumentValue";

@@ -17,0 +15,0 @@ export * from "./CompletionsStreamRequestContextDocument";

@@ -1,2 +0,1 @@

export * from "./CompletionsCreateRequestModel";
export * from "./CompletionsCreateRequestContextDocumentValue";

@@ -14,3 +13,2 @@ export * from "./CompletionsCreateRequestContextDocument";

export * from "./CompletionsCreateResponse";
export * from "./CompletionsStreamRequestModel";
export * from "./CompletionsStreamRequestContextDocumentValue";

@@ -17,0 +15,0 @@ export * from "./CompletionsStreamRequestContextDocument";

@@ -1,2 +0,1 @@

export * from "./SearchRequestModel";
export * from "./SearchRequestContextDocumentValue";

@@ -3,0 +2,0 @@ export * from "./SearchRequestContextDocument";

@@ -1,2 +0,1 @@

export * from "./SearchRequestModel";
export * from "./SearchRequestContextDocumentValue";

@@ -3,0 +2,0 @@ export * from "./SearchRequestContextDocument";

@@ -12,4 +12,4 @@ /**

groupIdentifier?: string | null;
model?: serializers.AssistantQueryParamsModel.Raw | null;
model?: string | null;
}
}
/**
* This file was auto-generated by Fern from our API Definition.
*/
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
import * as core from "../../core";

@@ -17,3 +8,3 @@ export const AssistantQueryParams = core.serialization.object({

groupIdentifier: core.serialization.string().optional(),
model: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield import("..")).AssistantQueryParamsModel; })).optional(),
model: core.serialization.string().optional(),
});

@@ -20,3 +20,2 @@ export * from "./AnswerChunkSourcesItemChunksItem";

export * from "./AssistantDocumentSources";
export * from "./AssistantQueryParamsModel";
export * from "./AssistantQueryParams";

@@ -23,0 +22,0 @@ export * from "./AssistantRequestBodyContextDocumentValue";

@@ -20,3 +20,2 @@ export * from "./AnswerChunkSourcesItemChunksItem";

export * from "./AssistantDocumentSources";
export * from "./AssistantQueryParamsModel";
export * from "./AssistantQueryParams";

@@ -23,0 +22,0 @@ export * from "./AssistantRequestBodyContextDocumentValue";

{
"name": "@dopt/ai-javascript-client",
"version": "0.0.7",
"version": "0.0.8",
"description": "A JavaScript client for the Dopt AI API",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/dopt/ai-javascript-client",