Prompt management and optimization at lytix
lytix
cli commands.
lytix
CLI here.git pull
your prompts)git pull
for your prompts.
If there are changes that are uncommited or would cause a conflict, you will be prompted to resolve them. You can pass the --force
flag to skip this check and overwrite your local changes.
.ts
types file for you based on the inputs
Inside prompt.json
, the variables
field is where you can add your variables. It supports:
type
: STRING
| NUMBER
| BOOLEAN
- The type of the variablename
: The name of the variableprompt.json
file with a toEcho
variable might look like this:
inputs.mdx
file:
git commit && git push
).
promptId
promptId
& Use Promptv2
baseURL: https://api.lytix.co/proxy/v2/openai
. Please follow instructions here to setup the lytix OpenAI integration.lytixPromptId
to start using your prompt. You can now pass an empty messages
array and add the lytixPromptId
& lytixPromptVariables
to your request: