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

Fix issue with parsing errors in Mapping agent #54

Conversation

caufieldjh
Copy link
Member

LLM was returning Markdown-formatted JSON, but that isn't valid JSON, so it failed to parse.

@caufieldjh caufieldjh merged commit 9f7fffa into main Aug 15, 2024
0 of 3 checks passed
@caufieldjh caufieldjh deleted the 52-mapping-agent-returns-jsondecodeerror-expecting-value-line-1-column-1-char-0 branch August 15, 2024 21:15
@matentzn
Copy link
Member

Out of curiosity (so I can understand why others might do the same) - we create your own mapping/mapping set data classes?

@caufieldjh
Copy link
Member Author

@matentzn do you mean instead of using the sssom mapping classes? No technical reason other than simplicity as far as I know, plus the fact that curategpt doesn't require mappings to be URI vs URI, so there's no guarantee it would be valid sssom.

@matentzn
Copy link
Member

Ok thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mapping agent returns JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2 participants