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

feature: support structured outputs from AI and used them in evaluations #104

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

csansoon
Copy link
Contributor

@csansoon csansoon commented Aug 7, 2024

Also implemented optionally transactional provider log generation upon
calling ai service

@csansoon csansoon added the 🚧 wip Work in progress label Aug 7, 2024
@csansoon csansoon force-pushed the document-logs branch 12 times, most recently from 37082e9 to 61615d4 Compare August 8, 2024 09:46
Base automatically changed from document-logs to main August 8, 2024 10:06
@csansoon csansoon force-pushed the response-schema branch 2 times, most recently from 311b280 to a2bb4c2 Compare September 11, 2024 14:14
@geclos geclos changed the title Response schema feature: support structured outputs from AI and used them in evaluations Sep 13, 2024
@geclos geclos removed the 🚧 wip Work in progress label Sep 13, 2024
@geclos geclos force-pushed the response-schema branch 9 times, most recently from adc500f to e112e71 Compare September 16, 2024 13:53
@@ -88,12 +90,13 @@
"@latitude-data/mailers": "workspace:^",
"@sindresorhus/slugify": "^2.2.1",
"@t3-oss/env-core": "^0.11.1",
"ai": "^3.2.42",
"ai": "^3.3.3",
Copy link
Contributor

Choose a reason for hiding this comment

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

El buen version bump

}
| {
type: ChainEventTypes.Complete
config: Config
messages: Message[]
messages?: Message[]
object?: any
Copy link
Contributor

Choose a reason for hiding this comment

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

We should have a AnyObject and avoid any always

andresgutgon
andresgutgon previously approved these changes Sep 16, 2024
Adds support for structured outputs responses from providers and
implements it in evaluations and across our UI
@geclos geclos merged commit 6240403 into main Sep 16, 2024
3 checks passed
@geclos geclos deleted the response-schema branch September 16, 2024 15:22
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.

3 participants