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: gpt4o support #3

Merged
merged 7 commits into from
May 31, 2024
Merged

fix: gpt4o support #3

merged 7 commits into from
May 31, 2024

Conversation

wwydmanski
Copy link
Contributor

GPT-4 and GPT-4o often prepend the json with ```json text. We now strip it during json loading

@kiran-raga kiran-raga self-requested a review May 31, 2024 05:29
Copy link

@kiran-raga kiran-raga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Adds support to JSON generated in newer GPT models
  2. Prints stack trace on exit due to exceptions
  3. Relaxes transformer dependency

@kiran-raga kiran-raga merged commit d4b0134 into raga-ai-hub:main May 31, 2024
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.

None yet

2 participants