@questlabs/core
Version:
This is the quest SDK
10 lines (9 loc) • 712 B
TypeScript
import QuestSdk from "../..";
import { IPostRequestOptions } from "../../types/common.types";
import { ICreateTextEmbeddingForEntity, ICreateTextEmbeddingForEntityResponse, IMakePromptRequestWithEmbedding, IMakePromptRequestWithEmbeddingResponse } from "../../types/gpt.types";
export declare class GPT {
questSdk: QuestSdk;
constructor(questSdk: QuestSdk);
createTextEmbeddingForEntity({ embeddingText, entityId }: ICreateTextEmbeddingForEntity, options?: IPostRequestOptions): Promise<ICreateTextEmbeddingForEntityResponse>;
makePromptRequestWithEmbedding({ input, entityId }: IMakePromptRequestWithEmbedding, options?: IPostRequestOptions): Promise<IMakePromptRequestWithEmbeddingResponse>;
}