@raycast/api 1.82.5 → 1.83.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/meta.json +1 -1
- package/package.json +1 -1
- package/types/index.d.ts +5 -25
package/meta.json
CHANGED
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -488,10 +488,9 @@ export declare namespace AI {
|
|
|
488
488
|
export type Creativity = "none" | "low" | "medium" | "high" | "maximum" | number;
|
|
489
489
|
/**
|
|
490
490
|
* The AI model to use to answer to the prompt.
|
|
491
|
-
* @defaultValue `AI.Model["
|
|
491
|
+
* @defaultValue `AI.Model["OpenAI_GPT4o-mini"]`
|
|
492
492
|
*/
|
|
493
493
|
export enum Model {
|
|
494
|
-
"OpenAI_GPT3.5-turbo" = "openai-gpt-3.5-turbo",
|
|
495
494
|
OpenAI_GPT4 = "openai-gpt-4",
|
|
496
495
|
"OpenAI_GPT4-turbo" = "openai-gpt-4-turbo",
|
|
497
496
|
OpenAI_GPT4o = "openai-gpt-4o",
|
|
@@ -509,7 +508,7 @@ export declare namespace AI {
|
|
|
509
508
|
"Perplexity_Llama3.1_Sonar_Huge" = "perplexity-llama-3.1-sonar-huge-128k-online",
|
|
510
509
|
"Perplexity_Llama3.1_Sonar_Large" = "perplexity-llama-3.1-sonar-large-128k-online",
|
|
511
510
|
"Perplexity_Llama3.1_Sonar_Small" = "perplexity-llama-3.1-sonar-small-128k-online",
|
|
512
|
-
/** @deprecated Use `AI.Model["
|
|
511
|
+
/** @deprecated Use `AI.Model["OpenAI_GPT4o-mini"]` instead */
|
|
513
512
|
"OpenAI_GPT3.5-turbo-instruct" = "openai-gpt-3.5-turbo-instruct",
|
|
514
513
|
/** @deprecated Use `AI.Model.Llama3_70B` instead */
|
|
515
514
|
Llama2_70B = "llama2-70b",
|
|
@@ -522,28 +521,9 @@ export declare namespace AI {
|
|
|
522
521
|
/** @deprecated Use `AI.Model["Perplexity_Llama3.1_Sonar_Large"]` instead */
|
|
523
522
|
Perplexity_Llama3_Sonar_Large = "perplexity-llama-3-sonar-large-online",
|
|
524
523
|
/** @deprecated Use `AI.Model["Perplexity_Llama3.1_Sonar_Small"]` instead */
|
|
525
|
-
Perplexity_Llama3_Sonar_Small = "perplexity-llama-3-sonar-small-online"
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
export type Direct = () => string | Promise<string>;
|
|
529
|
-
export type Submenu = () => {
|
|
530
|
-
id: string;
|
|
531
|
-
title: string;
|
|
532
|
-
content: () => string | Promise<string>;
|
|
533
|
-
}[] | Promise<{
|
|
534
|
-
id: string;
|
|
535
|
-
title: string;
|
|
536
|
-
content: () => string | Promise<string>;
|
|
537
|
-
}[]>;
|
|
538
|
-
export type TypeAheadSubmenu = (query: string) => {
|
|
539
|
-
id: string;
|
|
540
|
-
title: string;
|
|
541
|
-
content: () => string | Promise<string>;
|
|
542
|
-
}[] | Promise<{
|
|
543
|
-
id: string;
|
|
544
|
-
title: string;
|
|
545
|
-
content: () => string | Promise<string>;
|
|
546
|
-
}[]>;
|
|
524
|
+
Perplexity_Llama3_Sonar_Small = "perplexity-llama-3-sonar-small-online",
|
|
525
|
+
/** @deprecated Use `AI.Model["OpenAI_GPT4o-mini"]` instead */
|
|
526
|
+
"OpenAI_GPT3.5-turbo" = "openai-gpt-3.5-turbo"
|
|
547
527
|
}
|
|
548
528
|
/** @deprecated Use the `AI.Model` enum instead */
|
|
549
529
|
export type __DeprecatedModelUnion = "openai-gpt-3.5-turbo-instruct" | "openai-gpt-3.5-turbo" | "openai-gpt-4" | "openai-gpt-4-turbo" | "anthropic-claude-haiku" | "anthropic-claude-opus" | "anthropic-claude-sonnet" | "perplexity-sonar-medium-online" | "perplexity-sonar-small-online" | "llama2-70b" | "mixtral-8x7b" | "codellama-70b-instruct"
|