File tree 1 file changed +0
-23
lines changed
1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change 9
9
* Interface representing a service for calling a Large Language Model (LLM).
10
10
*/
11
11
export interface LLMServiceInterface {
12
- /**
13
- * Calls the LLM with the provided engineered prompt.
14
- * @param engineeredPrompt - The prompt that has been engineered for the LLM.
15
- * @returns A promise that resolves to the LLM's response as a string.
16
- */
17
- callLLM ( engineeredPrompt : string ) : Promise < string > ;
18
-
19
- /**
20
- * Calls the LLM with the provided engineered prompt and prompt ID.
21
- * @param engineeredPrompt - The prompt that has been engineered for the LLM.
22
- * @param promptId - The ID of the prompt.
23
- * @returns A promise that resolves to the LLM's response as a string.
24
- */
25
- callLLM ( engineeredPrompt : string , promptId : string ) : Promise < string > ;
26
-
27
- /**
28
- * Calls the LLM with the provided engineered prompt and input token limit.
29
- * @param engineeredPrompt - The prompt that has been engineered for the LLM.
30
- * @param inputTokenLimit - The limit on the number of input tokens.
31
- * @returns A promise that resolves to the LLM's response as a string.
32
- */
33
- callLLM ( engineeredPrompt : string , inputTokenLimit : number ) : Promise < string > ;
34
-
35
12
/**
36
13
* Calls the LLM with the provided engineered prompt, prompt ID, and input token limit.
37
14
* @param engineeredPrompt - The prompt that has been engineered for the LLM.
You can’t perform that action at this time.
0 commit comments