Skip to content

Commit

Permalink
Merge pull request #1041 from julep-ai/dev
Browse files Browse the repository at this point in the history
hotfix(agents-api): fix in docs routes
  • Loading branch information
HamadaSalhab authored Jan 11, 2025
2 parents 1be5357 + 1d872e3 commit 70bf161
Show file tree
Hide file tree
Showing 6 changed files with 88 additions and 121 deletions.
66 changes: 27 additions & 39 deletions README-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,45 +47,33 @@

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

- [呼吁贡献者🌟](#call-for-contributors-)
- [简介](#introduction)
- [主要特点](#key-features)
- [快速示例](#quick-example)
- [安装](#安装)
- [Python 快速入门 🐍](#python-quick-start-)
- [Node.js 快速入门🟩](#nodejs-quick-start-)
- [组件](#components)
- [心智模型](#mental-model)
- [概念](#concepts)
- [理解任务](#understanding-tasks)
- [任务的生命周期](#lifecycle-of-a-task)
- [工作流步骤的类型](#types-of-workflow-steps)
- [常见步骤](#common-steps)
- [键值步骤](#key-value-steps)
- [迭代步骤](#iteration-steps)
- [条件步骤](#conditional-steps)
- [其他控制流](#other-control-flow)
- [工具类型](#tool-types)
- [用户定义的`函数`](#user-defined-functions)
- [`系统` 工具](#system-tools)
- [可用的系统资源和操作](#available-system-resources-and-operations)
- [内置 `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)
<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-)
- [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)

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

Expand Down
65 changes: 29 additions & 36 deletions README-FR.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,45 +47,38 @@ Vos contributions, grandes ou petites, nous sont précieuses. Construisons ensem

<!-- 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 des matières</h3>
<h3>📖 Table of Contents</h3>

- [Appel à contributeurs 🌟](#call-for-contributors-)
- [Présentation](#introduction)
- [Caractéristiques principales](#key-features)
- [Exemple rapide](#quick-example)
- [Introduction](#introduction)
- [Principales caractéristiques](#principales-caract%C3%A9ristiques)
- [Exemple rapide](#exemple-rapide)
- [Installation](#installation)
- [Démarrage rapide de Python 🐍](#python-quick-start-)
- [Démarrage rapide de Node.js 🟩](#nodejs-quick-start-)
- [Composants](#composants)
- [Modèle mental](#mental-model)
- [Démarrage rapide de Python 🐍](#d%C3%A9marrage-rapide-de-python-)
- [Node.js Quick Start 🟩](#nodejs-quick-start-)
- [Components](#components)
- [Mental Model](#mental-model)
- [Concepts](#concepts)
- [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)
- [Étapes courantes](#étapes-communes)
- [Étapes clé-valeur](#étapes-clé-valeur)
- [Étapes d'itération](#iteration-steps)
- [Étapes conditionnelles](#étapes-conditionnelles)
- [Autre flux de contrôle](#other-control-flow)
- [Types d'outils](#types-d'outils)
- [`Fonctions` définies par l'utilisateur](#user-defined-functions)
- [outils système](#outils-système)
- [Ressources et opérations « système » disponibles](#available-system-resources-and-operations)
- [`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é)
- [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)

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

Expand Down
68 changes: 29 additions & 39 deletions README-JA.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,45 +47,35 @@ Julep プロジェクトに新しい貢献者を迎えられることを嬉し

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

- [貢献者募集🌟](#call-for-contributors-)
- [はじめに](#introduction)
- [主な特徴](#key-features)
- [簡単な例](#quick-example)
- [インストール](#installation)
- [Python クイックスタート 🐍](#python-quick-start-)
- [Node.js クイック スタート 🟩](#nodejs-quick-start-)
- [コンポーネント](#components)
- [メンタルモデル](#mental-model)
- [コンセプト](#concepts)
- [タスクの理解](#understanding-tasks)
- [タスクのライフサイクル](#lifecycle-of-a-task)
- [ワークフロー ステップの種類](#types-of-workflow-steps)
- [共通手順](#common-steps)
- [キーと値のステップ](#key-value-steps)
- [反復ステップ](#iteration-steps)
- [条件付きステップ](#conditional-steps)
- [その他の制御フロー](#other-control-flow)
- [ツールの種類](#tool-types)
- [ユーザー定義の `functions`](#user-defined-functions)
- [`システム` ツール](#system-tools)
- [利用可能な `system` リソースと操作](#available-system-resources-and-operations)
- [組み込みの `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 などの違いは何ですか?](#whats-the-difference-between-julep-and-langchain-etc)
- [さまざまなユースケース](#different-use-cases)
- [異なるフォームファクター](#different-form-factor)
- [要約](#in-summary)
<h3>📖 Table of Contents</h3>

- [主な特徴](#%E4%B8%BB%E3%81%AA%E7%89%B9%E5%BE%B4)
- [簡単な例](#%E7%B0%A1%E5%8D%98%E3%81%AA%E4%BE%8B)
- [インストール](#%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB)
- [Python クイックスタート 🐍](#python-%E3%82%AF%E3%82%A4%E3%83%83%E3%82%AF%E3%82%B9%E3%82%BF%E3%83%BC%E3%83%88-)
- [Node.js Quick Start 🟩](#nodejs-quick-start-)
- [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-%E3%83%AA%E3%83%95%E3%82%A1%E3%83%AC%E3%83%B3%E3%82%B9)
- [API リファレンス](#api-%E3%83%AA%E3%83%95%E3%82%A1%E3%83%AC%E3%83%B3%E3%82%B9)
- [ローカルクイックスタート](#%E3%83%AD%E3%83%BC%E3%82%AB%E3%83%AB%E3%82%AF%E3%82%A4%E3%83%83%E3%82%AF%E3%82%B9%E3%82%BF%E3%83%BC%E3%83%88)
- [Julep と LangChain などの違いは何ですか?](#julep-%E3%81%A8-langchain-%E3%81%AA%E3%81%A9%E3%81%AE%E9%81%95%E3%81%84%E3%81%AF%E4%BD%95%E3%81%A7%E3%81%99%E3%81%8B)
- [さまざまなユースケース](#%E3%81%95%E3%81%BE%E3%81%96%E3%81%BE%E3%81%AA%E3%83%A6%E3%83%BC%E3%82%B9%E3%82%B1%E3%83%BC%E3%82%B9)
- [異なるフォームファクタ](#%E7%95%B0%E3%81%AA%E3%82%8B%E3%83%95%E3%82%A9%E3%83%BC%E3%83%A0%E3%83%95%E3%82%A1%E3%82%AF%E3%82%BF)

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

Expand Down
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ Your contributions, big or small, are valuable to us. Let's build something amaz
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
<h3>📖 Table of Contents</h3>

- [Call for Contributors 🌟](#call-for-contributors-)
- [Introduction](#introduction)
- [Key Features](#key-features)
- [Quick Example](#quick-example)
Expand All @@ -62,15 +61,9 @@ Your contributions, big or small, are valuable to us. Let's build something amaz
- [Understanding Tasks](#understanding-tasks)
- [Lifecycle of a Task](#lifecycle-of-a-task)
- [Types of Workflow Steps](#types-of-workflow-steps)
- [Common Steps](#common-steps)
- [Key-Value Steps](#key-value-steps)
- [Iteration Steps](#iteration-steps)
- [Conditional Steps](#conditional-steps)
- [Other Control Flow](#other-control-flow)
- [Tool Types](#tool-types)
- [User-defined `functions`](#user-defined-functions)
- [`system` tools](#system-tools)
- [Available `system` resources and operations](#available-system-resources-and-operations)
- [Built-in `integrations`](#built-in-integrations)
- [Direct `api_calls`](#direct-api_calls)
- [Integrations](#integrations)
Expand Down
1 change: 1 addition & 0 deletions agents-api/agents_api/routers/docs/create_doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ async def create_agent_doc(
agent_id: UUID,
data: CreateDocRequest,
x_developer_id: Annotated[UUID, Depends(get_developer_id)],
connection_pool: Any = None, # FIXME: Placeholder that should be removed
) -> ResourceCreatedResponse:
doc: Doc = await create_doc_query(
developer_id=x_developer_id,
Expand Down
2 changes: 2 additions & 0 deletions agents-api/agents_api/routers/docs/search_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ async def search_agent_docs(
x_developer_id: Annotated[UUID, Depends(get_developer_id)],
search_params: (TextOnlyDocSearchRequest | VectorDocSearchRequest | HybridDocSearchRequest),
agent_id: UUID,
connection_pool: Any = None, # FIXME: Placeholder that should be removed

) -> DocSearchResponse:
"""
Searches for documents associated with a specific agent.
Expand Down

0 comments on commit 70bf161

Please sign in to comment.