DEV Community

Cover image for Using APIs with AI
Adrian Brown
Adrian Brown

Posted on

1

Using APIs with AI

TLDR;

What is Apollo-SDK?

It's a cli toolkit for developers to build automation pipelines on their own. You can aggregate multiple LLMs into one place using one single api and sync data across different sources. This allows you to centralize the deployment of multiple models into one channel and build from there using one api. You can use your model, our model or a combination of both.

Apollo user interface (UI) is designed for creating decision making workflows. With Apollo platform, you can perform no-code AI tasks using the best engines in the market. Apollo SDK is looking for opensource contributors. The UI is coming soon!

What can I do with it?

You should checkout our feature list here. We offer models for lots of providers using Image, Speech, Video and Text.

Quickstart

Lets install the SDK first...

pip install apollo-sdk
Enter fullscreen mode Exit fullscreen mode

Let's setup your first Integration!

It will pull from your local database (and keep it in sync).

# import the package
from apollo.client import Apollo

# sync data from your database instance
# (we support supabase at the current moment or postgresql via uri format)
Apollo.connect("postgres://username:password@hostname:port/database_name")

# If you want to test out operation on your external connection
Apollo.fetch_tables()
Apollo.query("desc", "table", "column")
Enter fullscreen mode Exit fullscreen mode

...and create a workflow with a simple command:

# import the package
from apollo.client import Apollo

# Use our custom model to test building decisions
Apollo.use("Apollo")

# We support video, speech, image and text. Try text!
Apollo.detectText("Phrase1", "contains", "Threats")
Enter fullscreen mode Exit fullscreen mode

In practice, you probably want to use our user interface (UI) so you dont have to write code. If so, ping us at adrian@apolloapi.io!

๐Ÿ”Œ Integrations

We pre-built integrations with providers like:

  • Supabase
  • Postgresql
  • Firebase

...We have a huge need for developing integrations with Mongodb, Mysql and more.

To get involved checkout some of our issues here!

๐Ÿงช Clients

Apollo has built in support for custom API calls via rest using make_http_requests & make_http_request methods.

We are building the following:

  • Graphql
  • gRPC
  • XML formats

API Trace View

Struggling with slow API calls? ๐Ÿ‘€

Dan Mindru walks through how he used Sentry's new Trace View feature to shave off 22.3 seconds from an API call.

Get a practical walkthrough of how to identify bottlenecks, split tasks into multiple parallel tasks, identify slow AI model calls, and more.

Read more โ†’

Top comments (0)

Billboard image

Try REST API Generation for Snowflake

DevOps for Private APIs. Automate the building, securing, and documenting of internal/private REST APIs with built-in enterprise security on bare-metal, VMs, or containers.

  • Auto-generated live APIs mapped from Snowflake database schema
  • Interactive Swagger API documentation
  • Scripting engine to customize your API
  • Built-in role-based access control

Learn more

๐Ÿ‘‹ Kindness is contagious

Please leave a โค๏ธ or a friendly comment on this post if you found it helpful!

Okay