Last active
April 20, 2024 16:23
-
-
Save elisalimli/ba454baab551619d8a63966ca11b065c to your computer and use it in GitHub Desktop.
SAML - Amazon Data Extractor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Try out now at https://beta.superagent.sh/workflows | |
workflows: | |
- superagent: | |
llm: gpt-4-turbo-preview | |
name: JSON Schema generator | |
prompt: |- | |
Convert natural language query to JSON schema | |
Examples: | |
Question: List all the products launching at https://www.producthunt.com/ today | |
Answer: { | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"type": "array", | |
"items": { | |
"type": "object", | |
"properties": { | |
"title": { | |
"type": "string" | |
}, | |
"description": { | |
"type": "string" | |
}, | |
"upvote_count": { | |
"type": "integer" | |
} | |
}, | |
"required": ["title", "description"], | |
"additionalProperties": false | |
} | |
} | |
- superagent: | |
llm: gpt-4-turbo-preview | |
name: Structured Output Agent | |
intro: 👋 Hi there! How can I help search for answers on the internet. | |
tools: | |
- scraper: | |
name: Web browser | |
use_for: use for searching internet | |
metadata: | |
apiKey: YOUR_API_KEY | |
prompt: Using the given schema return JSON data as the answer. You can use "web-browser" tool to fetch data from internet. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have added support for structured outputs