Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSON Output LLM Recipes

Practical JSON output recipes for OpenAI-compatible chat completions with OriginStartAI.

Use this repo when your app needs structured responses for product extraction, lead qualification, support triage, or internal workflow automation.

Fast Path

  1. Create an account: https://originstartai.com?utm_source=github&utm_medium=repo&utm_campaign=github_secondary_repos&utm_content=json-output-llm-recipes
  2. Get an API key from the console.
  3. Copy .env.example to .env.
  4. Set ORIGINSTARTAI_API_KEY, ORIGINSTARTAI_BASE_URL, and ORIGINSTARTAI_MODEL.
  5. Run the JSON output recipe.

New user offer: recharge $5 and get $5 extra API credits.

Python

pip install openai python-dotenv
python recipes/python/json_output.py

Node.js

npm install
npm run json

Output Shape

{
  "lead_score": 82,
  "use_case": "customer support automation",
  "next_step": "send pricing and integration guide"
}

Related

Releases

Packages

Contributors

Languages