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/**2 * Encode a string into another string.3 */4export type Encode = (value: string) => string;5/**6 * Decode a string into another string.7 */8export type Decode = (value: string) => string;9export interface ParseOptions {10 /**11 * A function for encoding input strings.12 */13 encodePath?: Encode;14}15export interface PathToRegexpOptions {16 /**17 * Matches the path completely without trailing characters. (default: `true`)18 */19 end?: boolean;20 /**21 * Allows optional trailing delimiter to match. (default: `true`)22 */23 trailing?: boolean;24 /**25 * Match will be case sensitive. (default: `false`)26 */27 sensitive?: boolean;28 /**29 * The default delimiter for segments. (default: `'/'`)30 */31 delimiter?: string;32}33export interface MatchOptions extends PathToRegexpOptions {34 /**35 * Function for decoding strings for params, or `false` to disable entirely. (default: `decodeURIComponent`)36 */37 decode?: Decode | false;38}39export interface CompileOptions {40 /**41 * Function for encoding input strings for output into the path, or `false` to disable entirely. (default: `encodeURIComponent`)42 */43 encode?: Encode | false;44 /**45 * The default delimiter for segments. (default: `'/'`)46 */47 delimiter?: string;48}49/**50 * Plain text.51 */52export interface Text {53 type: "text";54 value: string;55}56/**57 * A parameter designed to match arbitrary text within a segment.58 */59export interface Parameter {60 type: "param";61 name: string;62}63/**64 * A wildcard parameter designed to match multiple segments.65 */66export interface Wildcard {67 type: "wildcard";68 name: string;69}70/**71 * A set of possible tokens to expand when matching.72 */73export interface Group {74 type: "group";75 tokens: Token[];76}77/**78 * A token that corresponds with a regexp capture.79 */80export type Key = Parameter | Wildcard;81/**82 * A sequence of `path-to-regexp` keys that match capturing groups.83 */84export type Keys = Array<Key>;85/**86 * A sequence of path match characters.87 */88export type Token = Text | Parameter | Wildcard | Group;89/**90 * Tokenized path instance.91 */92export declare class TokenData {93 readonly tokens: Token[];94 readonly originalPath?: string | undefined;95 constructor(tokens: Token[], originalPath?: string | undefined);96}97/**98 * ParseError is thrown when there is an error processing the path.99 */100export declare class PathError extends TypeError {101 readonly originalPath: string | undefined;102 constructor(message: string, originalPath: string | undefined);103}104/**105 * Parse a string for the raw tokens.106 */107export declare function parse(str: string, options?: ParseOptions): TokenData;108/**109 * Compile a string to a template function for the path.110 */111export declare function compile<P extends ParamData = ParamData>(path: Path, options?: CompileOptions & ParseOptions): (params?: P) => string;112export type ParamData = Partial<Record<string, string | string[]>>;113export type PathFunction<P extends ParamData> = (data?: P) => string;114/**115 * A match result contains data about the path match.116 */117export interface MatchResult<P extends ParamData> {118 path: string;119 params: P;120}121/**122 * A match is either `false` (no match) or a match result.123 */124export type Match<P extends ParamData> = false | MatchResult<P>;125/**126 * The match function takes a string and returns whether it matched the path.127 */128export type MatchFunction<P extends ParamData> = (path: string) => Match<P>;129/**130 * Supported path types.131 */132export type Path = string | TokenData;133/**134 * Transform a path into a match function.135 */136export declare function match<P extends ParamData>(path: Path | Path[], options?: MatchOptions & ParseOptions): MatchFunction<P>;137/**138 * Transform a path into a regular expression and capture keys.139 */140export declare function pathToRegexp(path: Path | Path[], options?: PathToRegexpOptions & ParseOptions): {141 regexp: RegExp;142 keys: Keys;143};144/**145 * Stringify token data into a path string.146 */147export declare function stringify(data: TokenData): string;148 