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<h1 align=center>2 <a href="http://chaijs.com" title="Chai Documentation">3 <img alt="ChaiJS" src="http://chaijs.com/img/chai-logo.png">4 </a>5 <br>6 pathval7</h1>8 9<p align=center>10 Tool for Object value retrieval given a string path for <a href="http://nodejs.org">node</a> and the browser.11</p>12 13<p align=center>14 <a href="./LICENSE">15 <img16 alt="license:mit"17 src="https://img.shields.io/badge/license-mit-green.svg?style=flat-square"18 />19 </a>20 <a href="https://github.com/chaijs/pathval/releases">21 <img22 alt="tag:?"23 src="https://img.shields.io/github/tag/chaijs/pathval.svg?style=flat-square"24 />25 </a>26 <a href="https://travis-ci.org/chaijs/pathval">27 <img28 alt="build:?"29 src="https://img.shields.io/travis/chaijs/pathval/master.svg?style=flat-square"30 />31 </a>32 <a href="https://coveralls.io/r/chaijs/pathval">33 <img34 alt="coverage:?"35 src="https://img.shields.io/coveralls/chaijs/pathval/master.svg?style=flat-square"36 />37 </a>38 <a href="https://www.npmjs.com/packages/pathval">39 <img40 alt="npm:?"41 src="https://img.shields.io/npm/v/pathval.svg?style=flat-square"42 />43 </a>44 <a href="https://www.npmjs.com/packages/pathval">45 <img46 alt="dependencies:?"47 src="https://img.shields.io/npm/dm/pathval.svg?style=flat-square"48 />49 </a>50 <a href="">51 <img52 alt="devDependencies:?"53 src="https://img.shields.io/david/chaijs/pathval.svg?style=flat-square"54 />55 </a>56 <br/>57 <a href="https://saucelabs.com/u/chaijs-pathval">58 <img59 alt="Selenium Test Status"60 src="https://saucelabs.com/browser-matrix/chaijs-pathval.svg"61 />62 </a>63 <br>64 <a href="https://chai-slack.herokuapp.com/">65 <img66 alt="Join the Slack chat"67 src="https://img.shields.io/badge/slack-join%20chat-E2206F.svg?style=flat-square"68 />69 </a>70 <a href="https://gitter.im/chaijs/chai">71 <img72 alt="Join the Gitter chat"73 src="https://img.shields.io/badge/gitter-join%20chat-D0104D.svg?style=flat-square"74 />75 </a>76</p>77 78## What is pathval?79 80Pathval is a module which you can use to retrieve or set an Object's property for a given `String` path.81 82## Installation83 84### Node.js85 86`pathval` is available on [npm](http://npmjs.org). To install it, type:87 88 $ npm install pathval89 90### Browsers91 92You can also use it within the browser; install via npm and use the `pathval.js` file found within the download. For example:93 94```html95<script src="./node_modules/pathval/pathval.js"></script>96```97 98## Usage99 100The primary export of `pathval` is an object which has the following methods:101 102* `hasProperty(object, name)` - Checks whether an `object` has `name`d property or numeric array index.103* `getPathInfo(object, path)` - Returns an object with info indicating the value of the `parent` of that path, the `name ` of the property we're retrieving and its `value`.104* `getPathValue(object, path)` - Retrieves the value of a property at a given `path` inside an `object`'.105* `setPathValue(object, path, value)` - Sets the `value` of a property at a given `path` inside an `object` and returns the object in which the property has been set.106 107```js108var pathval = require('pathval');109```110 111#### .hasProperty(object, name)112 113```js114var pathval = require('pathval');115 116var obj = { prop: 'a value' };117pathval.hasProperty(obj, 'prop'); // true118```119 120#### .getPathInfo(object, path)121 122```js123var pathval = require('pathval');124 125var obj = { earth: { country: 'Brazil' } };126pathval.getPathInfo(obj, 'earth.country'); // { parent: { country: 'Brazil' }, name: 'country', value: 'Brazil', exists: true }127```128 129#### .getPathValue(object, path)130 131```js132var pathval = require('pathval');133 134var obj = { earth: { country: 'Brazil' } };135pathval.getPathValue(obj, 'earth.country'); // 'Brazil'136```137 138#### .setPathValue(object, path, value)139 140```js141var pathval = require('pathval');142 143var obj = { earth: { country: 'Brazil' } };144pathval.setPathValue(obj, 'earth.country', 'USA');145 146obj.earth.country; // 'USA'147```148 