--llm-format-model
- CLI
- --llm-format-model
- REST
- llm_format_model
The provider connection string for the model that writes llm_text and llm_json output.
Navigator Sharing
If you provide an --llm-format-model and also call --navigate, the model you specify will also be available as if you had provided it via --navigator-type. Navigators that cannot generate their own text will also use this model to generate text if they need to insert content.
Example
zshot -f summary.txt \
-t llm_text \
--llm-format-model "anthropic://YOUR_API_KEY@" \
--llm-format-prompt "Summarize the lead story in one sentence." \
https://zshot-cli.com/example_assets/gazette/{
"url": "https://zshot-cli.com/example_assets/gazette/",
"output_type": "llm_text",
"llm_format_model": "anthropic://YOUR_API_KEY@",
"llm_format_prompt": "Summarize the lead story in one sentence."
}curl -X POST http://127.0.0.1:3000/ \
-H "Content-Type: application/json" \
-d '{"url":"https://zshot-cli.com/example_assets/gazette/","output_type":"llm_text","llm_format_model":"anthropic://YOUR_API_KEY@","llm_format_prompt":"Summarize the lead story in one sentence."}' \
-o summary.txt