-
Notifications
You must be signed in to change notification settings - Fork 814
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
Output Schema #922
Output Schema #922
Conversation
Your Render PR Server URL is https://superagent-pr-922.onrender.com. Follow its progress at https://dashboard.render.com/web/srv-co2t5gmd3nmc73cotsg0. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a comment @elisalimli
...peragent/prisma/migrations/20240328135202_add_output_schema_field_agents_table/migration.sql
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@elisalimli this needs work with the REST API and SDKs as well. could you add that as well? On the workflow invoke
function.
@homanp it will work on the SDK too. We just call our existing api_endpoints in SAML. So whatever works there will work on REST API/SDK |
I don't see any |
Yes, we don't. I thought it's redundant to receive outputSchema every time. Instead we're storing in the database and read from there. |
@@ -175,6 +186,7 @@ async def _set_database_provider(self, datasource: dict): | |||
f"Database provider is not set, using default provider - {database}" | |||
) | |||
|
|||
print(database, database_provider) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docs - Output schema
Setting Output Schema for LLM agent type
Summary
Fixes #918
Depends on
#925
Test plan
Here's an example SAML that I tested to scrape structured data from Amazon.com