Path: blob/main/extensions/copilot/src/extension/prompts/node/inline/inlineChatNotebookCommon.ts
13405 views
/*---------------------------------------------------------------------------------------------1* Copyright (c) Microsoft Corporation. All rights reserved.2* Licensed under the MIT License. See License.txt in the project root for license information.3*--------------------------------------------------------------------------------------------*/45export interface NotebookPromptPriority {6/**7* Core information for notebook, e.g., custom rules for Jupyter Notebook.8*/9core?: number;10context?: number;11/*12* The priority for runtime core states, e.g., variables.13*/14runtimeCore?: number;15/**16* The priority for Conversation History.17*/18history?: number;19/*20* The priority for the rest, should be dropped first.21*/22other?: number;23}2425export const promptPriorities: NotebookPromptPriority = {26core: 1000,27context: 800,28runtimeCore: 600,29history: 500,30other: 10031};3233