langchain
4a5a0cde - Logical and grammatical error in prompt_llm_parser.ipynb (#95)

Commit
2 years ago
Logical and grammatical error in prompt_llm_parser.ipynb (#95) * Update modal.py feat: Raise KeyError when 'prompt' key is missing in JSON response This commit updates the error handling in the code to raise a KeyError when the 'prompt' key is not found in the JSON response. This change makes the code more explicit about the nature of the error, helping to improve clarity and debugging. * prompt_llm_parser.ipynb --------- Co-authored-by: Aashish Saini <141953346+ShorthillsAI@users.noreply.github.com>
Parents
Loading