Brunobkr/llama.cpp_AlgMor24_github
ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.
03.1k
1/* eslint-disable jsdoc/no-undefined-types */2/**3 * @import { ExtractURITemplateVariables } from "./internal/uri-template.js";4 * @import { TemplateOptions, CreatedTemplate } from "./internal/internal.js";5 * @import { ReadResourceResult } from "./validation/index.js";6 */7 8/**9 * Add a resource template to the server. Resources are added manually to the context by the user to provide the LLM with additional context.10 * Resource templates are used to create resources dynamically based on a URI template. The URI template should be a valid URI template as defined in RFC 6570.11 * Resource templates can have a list method that returns a list of resources that match the template and a complete method that returns a list of resources given one of the template variables, this method will12 * be invoked to provide completions for the template variables to the user.13 * Use the description and title to help the user to understand what the resource is. The mimeType can be used to indicate the type of content.14 *15 * @template {string} TUri16 * @template {ExtractURITemplateVariables<TUri>} TVariables17 * @param {TemplateOptions<TUri>} options18 * @param {(uri: string, params: Record<TVariables, string | string[]>) => Promise<ReadResourceResult> | ReadResourceResult} execute19 */20export function defineTemplate(options, execute) {21 return /** @type {CreatedTemplate<TUri>} */ (22 /** @type {unknown} */ ({23 ...options,24 execute,25 })26 );27}28 