Current Date: 2024-12-10 Tuesday 13:20:29

Please generate 3 insightful questions for each of the 3 categories based on the provided data model. Both the questions and category names should be translated into EN. The output format should maintain the structure but with localized text. (ollama.py:98)
Forcing deployment: {'data': {'deploy': {'status': 'FAILED', 'error': 'Wren AI: Deploy wren AI failed or timeout, hash: bd7ee64177d93fd76972a74056b35e8e02092831'}}}
INFO:     172.18.0.7:54906 - "GET /v1/question-recommendations/45c8e855-eb3f-448d-a19f-dffb8631f6f8 HTTP/1.1" 200 OK

********************************************************************************
> generate [src.pipelines.generation.question_recommendation.generate()] encountered an error<
> Node inputs:
{'generator': '<src.providers.llm.ollama.AsyncGenerator object at...',
 'prompt': "<Task finished name='Task-99' coro=<AsyncGraphAdap..."}
********************************************************************************
Traceback (most recent call last):
  File "/app/.venv/lib/python3.12/site-packages/hamilton/async_driver.py", line 122, in new_fn
    await fn(**fn_kwargs) if asyncio.iscoroutinefunction(fn) else fn(**fn_kwargs)
    ^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/langfuse/decorators/langfuse_decorator.py", line 217, in async_wrapper
    self._handle_exception(observation, e)
  File "/app/.venv/lib/python3.12/site-packages/langfuse/decorators/langfuse_decorator.py", line 513, in _handle_exception
    raise e
  File "/app/.venv/lib/python3.12/site-packages/langfuse/decorators/langfuse_decorator.py", line 215, in async_wrapper
    result = await func(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/src/pipelines/generation/question_recommendation.py", line 43, in generate
    return await generator.run(prompt=prompt.get("prompt"))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/src/providers/llm/ollama.py", line 120, in run
    return await self._convert_to_response(response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/src/providers/llm/ollama.py", line 69, in _convert_to_response
    replies = [resp_dict["response"]]
               ~~~~~~~~~^^^^^^^^^^^^
KeyError: 'response'
Calculating embeddings:  38%|███▊      | 6/16 [00:33<00:58,  5.80s/it]-------------------------------------------------------------------
Oh no an error! Need help with Hamilton? 7/8 [00:33<00:04,  4.84s/it]
Join our slack and ask for help! https://join.slack.com/t/hamilton-opensource/shared_invite/zt-2niepkra8-DGKGf_tTYhXuJWBTXtIs4g
-------------------------------------------------------------------

2024-12-10 05:20:31,451 - wren-ai-service - ERROR - An error occurred during question recommendation generation: 'response' (question_recommendation.py:60)