Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
add gpt4o-mini support (#625)
Shuchang Zhengec5a0a03c094
diff --git a/README.md b/README.mdindex 9ed9710be..1aef4d13e 100644--- a/README.md+++ b/README.md@@ -250,11 +250,34 @@ More extensive documentation can be found on our [documentation website](https:/---># Frequently Asked Questions (FAQs)-### What gets us excited about Skyvern?-+## What gets us excited about Skyvern?Our focus is bringing stability to browser-based workflows. We leverage LLMs to create an AI Agent capable of interacting with websites like you or I would — all via a simple API call.--+## Skyvern Configurations+### Skyvern Agent+#### Supported LLMs+| Provider | Supported Models |+| -------- | ------- |+| OpenAI | gpt4-turbo, gpt-4o, gpt-4o-mini |+| Anthropic | Claude 3 (Haiku, Sonnet, Opus), Claude 3.5 (Sonnet) |+| Azure OpenAI | Any GPT models. Better performance with a multimodal llm (azure/gpt4-o) |+| AWS Bedrock | Anthropic Claude 3 (Haiku, Sonnet, Opus), Claude 3.5 (Sonnet) |++#### Environment Variables+| Variable | Description | Type | Sample Value |+| -------- | ------- | ------- | ------- |+| `ENABLE_OPENAI` | Register OpenAI models | Boolean | `true`, `false` |+| `ENABLE_ANTHROPIC` | Register Anthropic models | Boolean | `true`, `false` |+| `ENABLE_AZURE` | Register Azure OpenAI models | Boolean | `true`, `false` |+| `ENABLE_BEDROCK` | Register AWS Bedrock models | Boolean | `true`, `false` |+| `LLM_KEY` | The name of the model you want to use | String | Currently supported llm keys: `OPENAI_GPT4_TURBO`, `OPENAI_GPT4V`, `OPENAI_GPT4O`, `OPENAI_GPT4O_MINI`, `ANTHROPIC_CLAUDE3`, `ANTHROPIC_CLAUDE3_OPUS`, `ANTHROPIC_CLAUDE3_SONNET`, `ANTHROPIC_CLAUDE3_HAIKU`, `ANTHROPIC_CLAUDE3.5_SONNET`, `BEDROCK_ANTHROPIC_CLAUDE3_OPUS`, `BEDROCK_ANTHROPIC_CLAUDE3_SONNET`, `BEDROCK_ANTHROPIC_CLAUDE3_HAIKU`, `BEDROCK_ANTHROPIC_CLAUDE3.5_SONNET`, `AZURE_OPENAI` |+| `OPENAI_API_KEY` | OpenAI API Key | String | `sk-1234567890` |+| `ANTHROPIC_API_KEY` | Anthropic API key | String | `sk-1234567890` |+| `AZURE_API_KEY` | Azure deployment API key | String | `sk-1234567890` |+| `AZURE_DEPLOYMENT` | Azure OpenAI Deployment Name | String | `skyvern-deployment` |+| `AZURE_API_BASE` | Azure deployment api base url | String | `https://skyvern-deployment.openai.azure.com/` |+| `AZURE_API_VERSION` | Azure API Version | String | `2024-02-01` |++### Skyvern UI# Feature RoadmapThis is our planned roadmap for the next few months. If you have any suggestions or would like to see a feature added, please don't hesitate to reach out to us [via email](mailto:[email protected]) or [discord](https://discord.gg/fG2XXEuQX3).diff --git a/docs/getting-started/quickstart-open-source.mdx b/docs/getting-started/quickstart-open-source.mdxindex 2b8c58dd1..09834aff6 100644--- a/docs/getting-started/quickstart-open-source.mdx+++ b/docs/getting-started/quickstart-open-source.mdx@@ -1,2 +1,3 @@+We are working on this page. For now, please check out [the open source quickstart doc](https://github.com/Skyvern-AI/skyvern?tab=readme-ov-file#quickstart).-<img src="https://thumbs.dreamstime.com/b/pug-dog-holding-pliers-screwdriver-behind-old-wooden-sign-text-under-construction-white-background-constructor-92836854.jpg" />\ No newline at end of file+<img src="https://thumbs.dreamstime.com/b/pug-dog-holding-pliers-screwdriver-behind-old-wooden-sign-text-under-construction-white-background-constructor-92836854.jpg" />diff --git a/skyvern/forge/sdk/api/llm/config_registry.py b/skyvern/forge/sdk/api/llm/config_registry.pyindex 091a2bf5c..da13c1383 100644--- a/skyvern/forge/sdk/api/llm/config_registry.py+++ b/skyvern/forge/sdk/api/llm/config_registry.py@@ -77,6 +77,15 @@ if SettingsManager.get_settings().ENABLE_OPENAI:LLMConfigRegistry.register_config("OPENAI_GPT4O", LLMConfig("gpt-4o", ["OPENAI_API_KEY"], supports_vision=True, add_assistant_prefix=False))+ LLMConfigRegistry.register_config(+ "OPENAI_GPT4O_MINI",+ LLMConfig(+ "gpt-4o-mini",+ ["OPENAI_API_KEY"],+ supports_vision=True,+ add_assistant_prefix=False,+ ),+ )if SettingsManager.get_settings().ENABLE_ANTHROPIC: