Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unexpected character: line 1 column 1 (char 0) #1234

Open
risqaliyevds opened this issue Jan 27, 2025 · 1 comment
Open

unexpected character: line 1 column 1 (char 0) #1234

risqaliyevds opened this issue Jan 27, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@risqaliyevds
Copy link

I just clonned last version and i get this error while generating sql reasoning

Image


wren-ai-service-1 | > post_process [src.pipelines.generation.sql_generation_reasoning.post_process()] encountered an error<
wren-ai-service-1 | > Node inputs:
wren-ai-service-1 | {'generate_sql_reasoning': "<Task finished name='Task-403' "
wren-ai-service-1 | 'coro=<AsyncGraphAda...'}
wren-ai-service-1 | ********************************************************************************
wren-ai-service-1 | Traceback (most recent call last):
wren-ai-service-1 | File "/app/.venv/lib/python3.12/site-packages/hamilton/async_driver.py", line 122, in new_fn
wren-ai-service-1 | await fn(**fn_kwargs) if asyncio.iscoroutinefunction(fn) else fn(**fn_kwargs)
wren-ai-service-1 | ^^^^^^^^^^^^^^^
wren-ai-service-1 | File "/app/.venv/lib/python3.12/site-packages/langfuse/decorators/langfuse_decorator.py", line 256, in sync_wrapper
wren-ai-service-1 | self._handle_exception(observation, e)
wren-ai-service-1 | File "/app/.venv/lib/python3.12/site-packages/langfuse/decorators/langfuse_decorator.py", line 517, in _handle_exception
wren-ai-service-1 | raise e
wren-ai-service-1 | File "/app/.venv/lib/python3.12/site-packages/langfuse/decorators/langfuse_decorator.py", line 254, in sync_wrapper
wren-ai-service-1 | result = func(*args, **kwargs)
wren-ai-service-1 | ^^^^^^^^^^^^^^^^^^^^^
wren-ai-service-1 | File "/src/pipelines/generation/sql_generation_reasoning.py", line 73, in post_process
wren-ai-service-1 | return orjson.loads(generate_sql_reasoning.get("replies")[0])
wren-ai-service-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
wren-ai-service-1 | orjson.JSONDecodeError: unexpected character: line 1 column 1 (char 0)
wren-ai-service-1 | -------------------------------------------------------------------
wren-ai-service-1 | Oh no an error! Need help with Hamilton?
wren-ai-service-1 | Join our slack and ask for help! https://join.slack.com/t/hamilton-opensource/shared_invite/zt-2niepkra8-DGKGf_tTYhXuJWBTXtIs4g
wren-ai-service-1 | -------------------------------------------------------------------

@risqaliyevds risqaliyevds added the bug Something isn't working label Jan 27, 2025
@risqaliyevds risqaliyevds changed the title unexpected character: line 1 column 1 (char 0)" unexpected character: line 1 column 1 (char 0) Jan 27, 2025
@cyyeh
Copy link
Member

cyyeh commented Jan 27, 2025

@risqaliyevds we just released a new version of Wren AI. Could you please try again? Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants