julep-ai / julep

Build AI agents and workflows with a simple API. Supabase for AI agents
https://julep.ai
Apache License 2.0
883 stars 69 forks source link

feat(integration-service): Add integrations service #520

Closed HamadaSalhab closed 1 week ago

HamadaSalhab commented 1 week ago

[!IMPORTANT] Introduces a new integration service with FastAPI, Docker setup, and support for multiple integrations like DALL-E and Wikipedia.

  • Integration Service:
    • Adds integrations-service with Docker setup in docker-compose.yml and Dockerfile.
    • FastAPI application in web.py with routers for execution and integration management.
  • Models:
    • Defines models for DalleImageGenerator, DuckDuckGoSearch, HackerNews, Weather, and Wikipedia in models directory.
    • IntegrationExecutionRequest and IntegrationExecutionResponse for handling execution requests.
  • Utilities:
    • Implements execute_integration in execute_integration.py to handle integration execution logic.
    • Integration utilities for DALL-E, DuckDuckGo, Hacker News, Weather, and Wikipedia in utils/integrations.
  • Configuration:
    • Adds pyproject.toml for dependency management with Poetry.
    • Adds pytype.toml for type checking configuration.

This description was created by Ellipsis for 36d61e913a7fe1185b541318d28cf132a418c8a2. It will automatically update as commits are pushed.