UNPKG

@questlabs/core

Version:
10 lines (9 loc) 712 B
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>; }