Skip to content

Commit

Permalink
dev -> main (#869)
Browse files Browse the repository at this point in the history
<!-- ELLIPSIS_HIDDEN -->



> [!IMPORTANT]
> This pull request adds Cloudinary and FFmpeg integrations, new file
management features, and various enhancements and cleanups across the
codebase.
> 
>   - **Environment Variables**:
> - Added `MAX_FREE_SESSIONS` and `MAX_FREE_EXECUTIONS` to
`.env.example`.
>   - **Integrations**:
> - Added Cloudinary and FFmpeg integrations with new models and setup
in `integrations-service`.
>     - Updated `providers.py` to include Cloudinary and FFmpeg.
>   - **Models and Routers**:
>     - Added file management models and routes in `agents-api`.
> - Implemented file upload, retrieval, and deletion in `files` models
and routers.
>   - **Enhancements**:
> - Increased `simpleeval.MAX_STRING_LENGTH` to 2048000 in
`base_evaluate.py`.
>     - Updated `execute_api_call` timeout to 600 seconds.
>   - **Refactoring and Cleanup**:
>     - Removed unused cookbooks and issue templates.
>     - Updated `README-CN.md` and `README-JA.md` for better clarity.
> - Changed Docker configurations for `integrations-service` and
`llm-proxy`.
> 
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=julep-ai%2Fjulep&utm_source=github&utm_medium=referral)<sup>
for 26a3315. It will automatically
update as commits are pushed.</sup>

<!-- ELLIPSIS_HIDDEN -->

---------

Signed-off-by: Diwank Singh Tomer <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Diwank Singh Tomer <[email protected]>
Co-authored-by: Ahmad-mtos <[email protected]>
Co-authored-by: HamadaSalhab <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: creatorrr <[email protected]>
Co-authored-by: vedantsahai18 <[email protected]>
Co-authored-by: Ahmad-mtos <[email protected]>
Co-authored-by: Vedantsahai18 <[email protected]>
Co-authored-by: creatorrr <[email protected]>
  • Loading branch information
10 people authored Nov 22, 2024
1 parent da12720 commit 4ee58c8
Show file tree
Hide file tree
Showing 153 changed files with 8,556 additions and 5,615 deletions.
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ LITELLM_POSTGRES_PASSWORD=<your_litellm_postgres_password>
LITELLM_MASTER_KEY=<your_litellm_master_key>
LITELLM_SALT_KEY=<your_litellm_salt_key>
LITELLM_REDIS_PASSWORD=<your_litellm_redis_password>
MAX_FREE_SESSIONS=50
MAX_FREE_EXECUTIONS=50

# LLM Providers
# --------------
Expand All @@ -34,6 +36,7 @@ LITELLM_REDIS_PASSWORD=<your_litellm_redis_password>
# HUGGING_FACE_HUB_TOKEN=<your_hugging_face_hub_token>
# ANTHROPIC_API_KEY=<your_anthropic_api_key>
# GROQ_API_KEY=<your_groq_api_key>
# GEMINI_API_KEY=<your_gemini_api_key>
# CLOUDFLARE_API_KEY=<your_cloudflare_api_key>
# CLOUDFLARE_ACCOUNT_ID=<your_cloudflare_account_id>
# NVIDIA_NIM_API_KEY=<your_nvidia_nim_api_key>
Expand Down
10 changes: 2 additions & 8 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,16 @@ description: "Submit a bug report to help us improve"
title: "[Bug]: "
labels: ["bug"]
body:
- type: markdown
attributes:
value: We value your time and your efforts to submit this bug report is appreciated. 🙏

- type: textarea
id: description
attributes:
label: "📜 Description"
description: "A clear and concise description of what the bug is."
placeholder: "It bugs out when ..."
placeholder: "A clear and concise description of what the bug is."

- type: textarea
id: steps-to-reproduce
attributes:
label: "👟 Reproduction steps"
description: "How do you trigger this bug? Please walk us through it step by step."
placeholder: "1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
Expand All @@ -27,7 +21,7 @@ body:
- type: checkboxes
id: no-duplicate-issues
attributes:
label: "👀 Have you spent some time to check if this bug has been raised before?"
label: "👀 Have you searched previous issues to see if this has been raised before?"
options:
- label: "I checked and didn't find similar issue"
required: true
52 changes: 0 additions & 52 deletions .github/ISSUE_TEMPLATE/docs_improvement.yml

This file was deleted.

27 changes: 4 additions & 23 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,46 +3,27 @@ description: "Submit a proposal for a new feature"
title: "[Feature]: "
labels: ["enhancement"]
body:
- type: markdown
attributes:
value: We value your time and your efforts to submit this feature request is appreciated. 🙏
- type: textarea
id: feature-description
validations:
required: true
attributes:
label: "🔖 Feature description"
description: "A clear and concise description of what the feature is."
placeholder: "You should add ..."
placeholder: "A clear and concise description of what the feature is."
- type: textarea
id: pitch
attributes:
label: "🎤 Why is this feature needed ?"
description: "Please explain why this feature should be implemented and how it would be used. Add examples, if applicable."
placeholder: "In my use-case, ..."
placeholder: "Please explain why this feature should be implemented and how it would be used. Add examples, if applicable."
- type: textarea
id: solution
attributes:
label: "✌️ How do you aim to achieve this?"
description: "A clear and concise description of what you want to happen."
placeholder: "I want this feature to, ..."
- type: textarea
id: alternative
attributes:
label: "🔄️ Additional Information"
description: "A clear and concise description of any alternative solutions or additional solutions you've considered."
placeholder: "I tried, ..."
placeholder: "A clear and concise description of what you want to happen."
- type: checkboxes
id: no-duplicate-issues
attributes:
label: "👀 Have you spent some time to check if this feature request has been raised before?"
label: "👀 Have you searched issues and PRs to see if this feature request has been raised before?"
options:
- label: "I checked and didn't find similar issue"
required: true
- type: dropdown
id: willing-to-submit-pr
attributes:
label: Are you willing to submit PR?
description: This is absolutely not required, but we are happy to guide you in the contribution process.
options:
- "Yes I am willing to submit a PR!"
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/refactor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: "🛠️ Refactor"
description: "Submit a bug report to help us improve"
title: "[Refactor]: "
labels: ["refactor"]
body:
- type: textarea
id: description
attributes:
label: "📜 Description"
placeholder: "A clear and concise description of what should be refactored."

- type: textarea
id: relevant-files
attributes:
label: "👟 Relevant files"
placeholder: "1. `agents-api/Dockerfile` needs to change
2. `integrations/**/*.py` files need to be reformatted"
67 changes: 36 additions & 31 deletions README-CN.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<sup>[English](README.md) | [中文翻译](README-CN.md) | [日本語翻訳](README-JA.md) | [French](README-FR.md)</sup>

<div align="center" id="top">
<img src="https://socialify.git.ci/julep-ai/julep/image?description=1&descriptionEditable=API%20for%20AI%20agents%20and%20multi-step%20tasks&forks=1&name=1&owner=1&pattern=Solid&stargazers=1&font=Source%20Code%20Pro&logo=https%3A%2F%2Fraw.githubusercontent.com%2Fjulep-ai%2Fjulep%2Fdev%2F.github%2Fjulep-logo.svg&theme=Auto" alt="julep" width="640" height="320" />
<img src="https://github.com/user-attachments/assets/10ba11e4-4ced-400e-a400-ee0f72541780" alt="julep" width="640" height="320" />
</div>

<p align="center">
<br />
<a href="https://docs.julep.ai" rel="dofollow">探索文档</a>
<a href="https://docs.julep.ai" rel="dofollow">探索文档(正在开发中)</a>
·
<a href="https://discord.com/invite/JTSBGRZrzj" rel="dofollow">不和谐</a>
·
Expand Down Expand Up @@ -62,34 +62,39 @@

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
<h3>📖 Table of Contents</h3>

- [主要特点](#%E4%B8%BB%E8%A6%81%E7%89%B9%E7%82%B9)
- [Python 快速入门🐍](#python-%E5%BF%AB%E9%80%9F%E5%85%A5%E9%97%A8)
- [Node.js Quick Start 🟩](#nodejs-quick-start-)
- [Step 1: Create an Agent](#step-1-create-an-agent)
- [Components](#components)
- [Mental Model](#mental-model)
- [Concepts](#concepts)
- [Understanding Tasks](#understanding-tasks)
- [Lifecycle of a Task](#lifecycle-of-a-task)
- [Types of Workflow Steps](#types-of-workflow-steps)
- [Tool Types](#tool-types)
- [User-defined `functions`](#user-defined-functions)
- [`system` tools](#system-tools)
- [Built-in `integrations`](#built-in-integrations)
- [Direct `api_calls`](#direct-api_calls)
- [Integrations](#integrations)
- [Other Features](#other-features)
- [Adding Tools to Agents](#adding-tools-to-agents)
- [Managing Sessions and Users](#managing-sessions-and-users)
- [Document Integration and Search](#document-integration-and-search)
- [SDK 参考](#sdk-%E5%8F%82%E8%80%83)
- [API 参考](#api-%E5%8F%82%E8%80%83)
- [本地快速启动](#%E6%9C%AC%E5%9C%B0%E5%BF%AB%E9%80%9F%E5%90%AF%E5%8A%A8)
- [Julep 和 LangChain 等有什么区别?](#julep-%E5%92%8C-langchain-%E7%AD%89%E6%9C%89%E4%BB%80%E4%B9%88%E5%8C%BA%E5%88%AB)
- [不同的用例](#%E4%B8%8D%E5%90%8C%E7%9A%84%E7%94%A8%E4%BE%8B)
- [不同的外形尺寸](#%E4%B8%8D%E5%90%8C%E7%9A%84%E5%A4%96%E5%BD%A2%E5%B0%BA%E5%AF%B8)
<h3>📖 目录</h3>

- [简介](#introduction)
- [主要特点](#key-features)
- [快速示例](#quick-example)
- [安装](#安装)
- [Python 快速入门 🐍](#python-quick-start-)
- [Node.js 快速入门🟩](#nodejs-quick-start-)
- [步骤 1:创建代理](#step-1-create-an-agent)
- [组件](#components)
- [心智模型](#mental-model)
- [概念](#concepts)
- [理解任务](#understanding-tasks)
- [任务的生命周期](#lifecycle-of-a-task)
- [工作流步骤的类型](#types-of-workflow-steps)
- [工具类型](#tool-types)
- [用户定义的`函数`](#user-defined-functions)
- [`系统` 工具](#system-tools)
- [内置 `integrations`](#built-in-integrations)
-[直接`api_calls`](#direct-api_calls)
- [集成](#integrations)
- [其他功能](#other-features)
- [向代理添加工具](#adding-tools-to-agents)
- [管理会话和用户](#managing-sessions-and-users)
- [文档集成与搜索](#document-integration-and-search)
- [参考](#reference)
- [SDK 参考](#sdk-reference)
- [API 参考](#api-reference)
- [本地快速启动](#local-quickstart)
- [Julep 和 LangChain 等有什么区别?](#julep 和 langchain 等之间有什么区别)
- [不同用例](#different-use-cases)
- [不同的外形尺寸](#different-form-factor)
- [总结](#in-summary)

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

Expand Down Expand Up @@ -1297,7 +1302,7 @@ result: string # Brave Search 的结果
设置:
api_key: string # BrowserBase 的 API 密钥
project_id: string # BrowserBase 的项目 ID
session_id: string # (可选)BrowserBase 的会话 ID
session_id: string #(可选)BrowserBase 的会话 ID
参数:
urls: list[string] # 使用 BrowserBase 加载的 URL
Expand Down
68 changes: 34 additions & 34 deletions README-FR.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<sup>[English](README.md) | [中文翻译](README-CN.md) | [日本語翻訳](README-JA.md) | [French](README-FR.md)</sup>

<div align="center" id="top">
<img src="https://socialify.git.ci/julep-ai/julep/image?description=1&descriptionEditable=API%20for%20AI%20agents%20and%20multi-step%20tasks&forks=1&name=1&owner=1&pattern=Solid&stargazers=1&font=Source%20Code%20Pro&logo=https%3A%2F%2Fraw.githubusercontent.com%2Fjulep-ai%2Fjulep%2Fdev%2F.github%2Fjulep-logo.svg&theme=Auto" alt="julep" width="640" height="320" />
<img src="https://github.com/user-attachments/assets/10ba11e4-4ced-400e-a400-ee0f72541780" alt="julep" width="640" height="320" />
</div>

<p align="center">
<br />
<a href="https://docs.julep.ai" rel="dofollow">Explorer les documents</a>
<a href="https://docs.julep.ai" rel="dofollow">Explorer les documents (en cours)</a>
·
<a href="https://discord.com/invite/JTSBGRZrzj" rel="dofollow">Discorde</a>
·
Expand Down Expand Up @@ -62,39 +62,39 @@ Des nouvelles passionnantes ! Nous participons au DevFest.AI tout au long du moi

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
<h3>📖 Table of Contents</h3>
<h3>📖 Table des matières</h3>

- [Introduction](#introduction)
- [Principales caractéristiques](#principales-caract%C3%A9ristiques)
- [Exemple rapide](#exemple-rapide)
- [Présentation](#introduction)
- [Caractéristiques principales](#key-features)
- [Exemple rapide](#quick-example)
- [Installation](#installation)
- [Démarrage rapide de Python 🐍](#d%C3%A9marrage-rapide-de-python-)
- [Node.js Quick Start 🟩](#nodejs-quick-start-)
- [Step 1: Create an Agent](#step-1-create-an-agent)
- [Components](#components)
- [Mental Model](#mental-model)
- [Démarrage rapide de Python 🐍](#python-quick-start-)
- [Démarrage rapide de Node.js 🟩](#nodejs-quick-start-)
- [Étape 1 : Créer un agent](#step-1-create-an-agent)
- [Composants](#composants)
- [Modèle mental](#mental-model)
- [Concepts](#concepts)
- [Understanding Tasks](#understanding-tasks)
- [Lifecycle of a Task](#lifecycle-of-a-task)
- [Types of Workflow Steps](#types-of-workflow-steps)
- [Tool Types](#tool-types)
- [User-defined `functions`](#user-defined-functions)
- [`system` tools](#system-tools)
- [Built-in `integrations`](#built-in-integrations)
- [Direct `api_calls`](#direct-api_calls)
- [Integrations](#integrations)
- [Other Features](#other-features)
- [Adding Tools to Agents](#adding-tools-to-agents)
- [Managing Sessions and Users](#managing-sessions-and-users)
- [Document Integration and Search](#document-integration-and-search)
- [Référence](#r%C3%A9f%C3%A9rence)
- [Référence du SDK](#r%C3%A9f%C3%A9rence-du-sdk)
- [Référence API](#r%C3%A9f%C3%A9rence-api)
- [Démarrage rapide local](#d%C3%A9marrage-rapide-local)
- [Quelle est la différence entre Julep et LangChain etc ?](#quelle-est-la-diff%C3%A9rence-entre-julep-et-langchain-etc-)
- [Différents cas d'utilisation](#diff%C3%A9rents-cas-dutilisation)
- [Facteur de forme différent](#facteur-de-forme-diff%C3%A9rent)
- [En résumé](#en-r%C3%A9sum%C3%A9)
- [Comprendre les tâches](#understanding-tasks)
- [Cycle de vie d'une tâche](#cycle-de-vie-d-une-tâche)
- [Types d'étapes de flux de travail](#types-of-workflow-steps)
- [Types d'outils](#types-d'outils)
- [`Fonctions` définies par l'utilisateur](#user-defined-functions)
- [outils système](#outils-système)
- [`Intégrations` intégrées](#integrations-integrées)
- [Appels directs `api_calls`](#appels directs-api_calls)
- [Intégrations](#intégrations)
- [Autres fonctionnalités](#other-features)
- [Ajout d'outils aux agents](#adding-tools-to-agents)
- [Gestion des sessions et des utilisateurs](#managing-sessions-and-users)
- [Intégration et recherche de documents](#document-integration-and-search)
- [Référence](#référence)
- [Référence SDK](#sdk-reference)
- [Référence API](#api-reference)
- [Démarrage rapide local](#local-quickstart)
- [Quelle est la différence entre Julep et LangChain etc ?](#quelle-est-la-différence-entre-julep-et-langchain-etc)
- [Différents cas d'utilisation](#different-use-cases)
- [Facteur de forme différent](#different-form-factor)
- [En résumé](#en-resumé)

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

Expand Down Expand Up @@ -684,7 +684,7 @@ Agent --> Documents[Documents]
Documents --> VectorDB[Base de données vectorielles]
Tâches --> Exécutions[Exécutions]
client classDef fill:#9ff,trait:#333,largeur-trait:1px;
client classDef remplissage : #9ff, trait : #333, largeur du trait : 1 px ;
classe Utilisateur client ;
classDef core fill:#f9f,trait:#333,largeur-trait:2px;
Expand Down Expand Up @@ -1159,7 +1159,7 @@ description : Lister les agents à l'aide d'un appel système
outils:
- nom : list_agent_docs
description : Liste tous les documents pour l'agent donné
description : liste tous les documents pour l'agent donné
type : système
système:
ressource : agent
Expand Down
Loading

0 comments on commit 4ee58c8

Please sign in to comment.