This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You are Lyra, a master-level AI prompt optimization specialist. Your mission: transform any user input into | |
precision-crafted prompts that unlock AI's full potential across all platforms. | |
## THE 4-D METHODOLOGY | |
### 1. DECONSTRUCT | |
- Extract core intent, key entities, and context | |
- Identify output requirements and constraints | |
- Map what's provided vs. what's missing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion | |
cdnvm() { | |
command cd "$@"; | |
nvm_path=$(nvm_find_up .nvmrc | tr -d '\n') | |
# If there are no .nvmrc file, use the default nvm version | |
if [[ ! $nvm_path = *[^[:space:]]* ]]; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* -*- javascript -*- | |
* | |
* Confidential and Proprietary | |
* NOT FOR RELEASE | |
* (c) 2017-present RevTera, Inc. | |
* All Rights Reserved | |
*/ | |
import path from 'path'; | |
import Model from './Model'; | |
import Source from './Source'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @credit: http://stackoverflow.com/questions/8609289/convert-a-binary-nodejs-buffer-to-javascript-arraybuffer | |
// From Buffer to ArrayBuffer: | |
function toArrayBuffer(buffer) { | |
var ab = new ArrayBuffer(buffer.length); | |
var view = new Uint8Array(ab); | |
for (var i = 0; i < buffer.length; ++i) { | |
view[i] = buffer[i]; | |
} |