-
Notifications
You must be signed in to change notification settings - Fork 926
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dev -> main #716
base: main
Are you sure you want to change the base?
dev -> main #716
Commits on Sep 30, 2024
-
Implement ToolCallStep & Fix transition after PromptStep (#513)
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Implement `ToolCallStep` and fix transition logic after `PromptStep` in workflow execution. > > - **ToolCallStep Implementation**: > - Implements `tool_call_step()` in `tool_call_step.py` to handle tool calls, including generating a call ID and validating tool names. > - Updates `STEP_TO_ACTIVITY` in `task_execution/__init__.py` to map `ToolCallStep` to `tool_call_step()`. > - **PromptStep Transition Fix**: > - Updates transition logic in `task_execution/__init__.py` to handle tool calls after a `PromptStep`. > - Removes unused code related to tool calls in `PromptStep` handling. > - **State Machine Update**: > - Updates `valid_transitions` in `tasks.py` to allow 'wait' to 'step' transition. > > <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 5ab9e3a. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
Configuration menu - View commit details
-
Copy full SHA for 8ae6038 - Browse repository at this point
Copy the full SHA 8ae6038View commit details -
doc: Update README.md with announcement update (#517)
Co-authored-by: Julep Developers <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f19dd75 - Browse repository at this point
Copy the full SHA f19dd75View commit details -
feat: Add basic support for integration tools to ToolStep (#519)
Signed-off-by: Diwank Singh Tomer <[email protected]> <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > This PR updates the handling of integrations and systems by adding new models, updating workflows, and modifying session options, along with dependency updates and a migration script. > > - **Behavior**: > - Adds `execute_integration` function in `execute_integration.py` to handle integration tool calls. > - Updates `prompt_step.py` to handle unwrapping of prompt responses and tool call results. > - Modifies `tool_call_step.py` to handle tool calls using `Tool` model. > - **Models**: > - Adds `IntegrationDef` and `SystemDef` models in `Tools.py`. > - Updates `CreateToolRequest`, `PatchToolRequest`, `UpdateToolRequest`, and `Tool` to use `IntegrationDef` and `SystemDef`. > - Adds `forward_tool_results` option to session models in `Sessions.py`. > - **Workflow**: > - Updates `TaskExecutionWorkflow` in `task_execution/__init__.py` to handle integration tool calls. > - **Dependencies**: > - Updates `@typespec/*` dependencies in `package.json` to version `0.60.x`. > - **Migration**: > - Adds migration script `migrate_1727235852_add_forward_tool_calls_option.py` to add `forward_tool_calls` option to sessions. > > <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 a49aa12. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c216301 - Browse repository at this point
Copy the full SHA c216301View commit details -
feat(integration-service): Add integrations service (#520)
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.
Configuration menu - View commit details
-
Copy full SHA for ecb1a12 - Browse repository at this point
Copy the full SHA ecb1a12View commit details -
feat(agents-api,integrations): Working integrations for tool-call step (
#521) - **fix(typespec,agents-api): Rename integration providers** - **feat(agents-api,integrations): Working integrations for tool-call step** <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Add integration service handling for tool-call steps in agents API, including provider renames and workflow updates. > > - **Integrations**: > - Implement `run_integration_service` in `clients/integrations.py` to handle integration service calls. > - Update `execute_integration` in `activities/execute_integration.py` to use `run_integration_service` for non-dummy providers. > - Add `INTEGRATION_SERVICE_URL` to `.env.example`, `env.py`, and `docker-compose.yml`. > - **Renames**: > - Rename integration providers in `Tools.py` and `scalars.tsp` (e.g., `dall-e` to `dalle_image_generator`). > - **Workflows**: > - Update `task_execution/__init__.py` to handle integration tool calls using `execute_integration`. > - **Tests**: > - Add `integration_example.yaml` for sample tasks. > - Add tests for integration tool calls in `test_execution_workflow.py`. > - Add `patch_integration_service` in `utils.py` for mocking integration service calls. > > <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 f13f8dd. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 236a564 - Browse repository at this point
Copy the full SHA 236a564View commit details -
fix(agents-api): Fix wait for input step (#522)
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Removes unnecessary transition call in `WaitForInputStep` case in `TaskExecutionWorkflow.run()` and updates tests accordingly. > > - **Behavior**: > - Removes `await transition(context, type="wait", output=output)` from `WaitForInputStep` case in `run()` in `__init__.py`. > - **Tests**: > - Updates `test_execution_workflow.py` to ensure workflow behaves correctly without the removed transition call. > > <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 6600cee. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
Configuration menu - View commit details
-
Copy full SHA for e7532ff - Browse repository at this point
Copy the full SHA e7532ffView commit details -
feat(agents-api): Add support for reading setup args from metadata an…
…d Upgrade to python 3.12 (#525) Signed-off-by: Diwank Singh Tomer <[email protected]> <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Upgrade to Python 3.12 and add support for reading setup arguments from metadata in `agents-api`. > > - **Python Version Upgrade**: > - Upgrade Python to 3.12 in `.tool-versions`, `Dockerfile`, `Dockerfile.worker`, `pyproject.toml`, and `pytype.toml`. > - **Setup Arguments from Metadata**: > - `execute_integration()` in `execute_integration.py` now reads setup arguments from metadata. > - `get_tool_args_from_metadata()` in `get_tool_args_from_metadata.py` updated to handle `arg_type` for "args" and "setup". > - **CI and Documentation**: > - Delete `generate-docs.yml` workflow. > - Update `lint-and-format.yml` to focus on `agents-api` and use Python 3.12. > - Update `pytype` version in `pyproject.toml`. > - Change `x-tool-parameters` to `x-integration-args` in `julep-concepts.md`. > - Adjust backup schedule in `docker-compose.yml` from 1h to 3h. > > <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 b1c0615. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ca8e594 - Browse repository at this point
Copy the full SHA ca8e594View commit details -
feat: Add docker bake builder (#528)
Introduce Docker Bake for building and pushing images with updated GitHub Actions workflows and Dockerfiles. - **GitHub Actions Workflows**: - Add `.github/workflows/dev-push-to-hub.yml` and `.github/workflows/main-push-to-hub.yml` for building and pushing images on `dev` and `main` branch merges. - Remove `push-to-hub.yml` workflow. - **Docker Build System**: - Introduce `docker-bake.hcl` for defining Docker build targets and configurations. - Update Dockerfiles in `agents-api`, `agents-api.worker`, `agents-api.migration` to use Docker Bake. - **Documentation**: - Update `CONTRIBUTING.md` with instructions for building Docker images using Docker Bake. - **Miscellaneous**: - Add submodules for `sdks/node-sdk` and `sdks/python-sdk`.
Configuration menu - View commit details
-
Copy full SHA for ed08024 - Browse repository at this point
Copy the full SHA ed08024View commit details -
fix: Minor fix to docker bake github actions (#529)
- **GitHub Actions**: - Add `docker-bake-on-pr.yml` for baking images on pull requests. - Rename `dev-push-to-hub.yml` to `bake-push-to-hub.yml` and `main-push-to-hub.yml` to `latest-push-to-hub.yml`. - Update `bake-push-to-hub.yml` and `latest-push-to-hub.yml` to use `docker/bake-action@v5` and remove branch name and git sha setting steps.
Configuration menu - View commit details
-
Copy full SHA for 55efe4f - Browse repository at this point
Copy the full SHA 55efe4fView commit details -
feat: Add changelog from release notes (#530)
Update GitHub Actions workflow to generate changelog from release notes on release event. - **Workflow Changes**: - Renames workflow from `Changelog CI` to `Changelog on release` in `.github/workflows/changelog-ci.yml`. - Changes trigger from `pull_request` to `release` with type `published`. - **Actions**: - Updates `actions/checkout` from `v2` to `v4` with `fetch-depth: 0` and `ref: dev`. - Replaces `saadmk11/[email protected]` with `rhysd/changelog-from-release/action@v3` to generate changelog from release notes.
Configuration menu - View commit details
-
Copy full SHA for 0d6acda - Browse repository at this point
Copy the full SHA 0d6acdaView commit details -
Update changelog for v0.4.0 (#531)
Co-authored-by: creatorrr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5e40d9a - Browse repository at this point
Copy the full SHA 5e40d9aView commit details -
fix: Bake on release as well (#532)
Enhance workflows to bake images on release and generate changelogs from release notes. - **Workflows**: - Update `.github/workflows/bake-push-to-hub.yml` to trigger on `release` events in addition to `push` to `dev` and tags `v*`. - Update `.github/workflows/changelog-ci.yml` to trigger on `release` events and generate changelog from release notes using `rhysd/changelog-from-release/action@v3`.
Configuration menu - View commit details
-
Copy full SHA for f79249b - Browse repository at this point
Copy the full SHA f79249bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b759986 - Browse repository at this point
Copy the full SHA b759986View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2291f5 - Browse repository at this point
Copy the full SHA a2291f5View commit details -
Update changelog for v1.0.0-alpha1 (#538)
Co-authored-by: creatorrr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for aaea24e - Browse repository at this point
Copy the full SHA aaea24eView commit details -
Create bandit-security-check-python-agents-api.yml (#534)
- **Workflow Addition**: - Adds `bandit-security-check-python-agents-api.yml` to `.github/workflows/`. - Triggers on pull requests to the `main` branch. - **Security Check**: - Uses `mdegis/[email protected]` to check Python code in `./agents-api/agents_api`. - Configured with `level: high` and `confidence: high`. - `exit_zero: true` allows workflow to pass even if issues are found.
Configuration menu - View commit details
-
Copy full SHA for 654f082 - Browse repository at this point
Copy the full SHA 654f082View commit details -
fix: Fix version in bandit-security-check-python-agents-api.yml (#539)
- **Workflow Configuration**: - Adds `dev` branch to trigger `bandit-security-check-python-agents-api.yml` workflow. - Updates Bandit action version from `v1.1` to `v1.0.1` in the workflow.
Configuration menu - View commit details
-
Copy full SHA for bcd2764 - Browse repository at this point
Copy the full SHA bcd2764View commit details
Commits on Oct 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for fd7d740 - Browse repository at this point
Copy the full SHA fd7d740View commit details -
feat(integrations-service): Add new integrations & refactor integrati…
…ons service (#540) Add new integrations for Brave, BrowserBase, and Spider, and refactor the integration service to support these changes. - **Integrations**: - Add new providers: `brave`, `browserbase`, and `spider` in `providers.py`. - Refactor existing providers: `wikipedia`, `weather`, `hacker_news`. - **Models**: - Add `BraveSearchSetup`, `BraveSearchArguments`, `BraveSearchOutput` in `brave.py`. - Add `BrowserBaseSetup`, `BrowserBaseLoadArguments`, `BrowserBaseLoadOutput` in `browserbase.py`. - Add `SpiderSetup`, `SpiderFetchArguments`, `SpiderFetchOutput` in `spider.py`. - Update `ExecutionRequest`, `ExecutionResponse` in `execution.py` to include new providers. - **Routers**: - Add `get_integration` in `get_integration.py`. - Add `get_integration_tool` in `get_integration_tool.py`. - Update `execute` in `execute.py` to handle new providers and methods. - **Utilities**: - Refactor `execute_integration` in `execute_integration.py` to dynamically load and execute provider methods. - Add integration logic for new providers in `integrations/utils/integrations/`. - **Misc**: - Update `pyproject.toml` to include new dependencies: `spider-client`, `browserbase`. - Update `scalars.tsp` and `models.tsp` to include new integration providers.
Configuration menu - View commit details
-
Copy full SHA for dbaa0b0 - Browse repository at this point
Copy the full SHA dbaa0b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f092a49 - Browse repository at this point
Copy the full SHA f092a49View commit details -
fix(agents-api): Fix updating task execution (#542)
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Improves task execution updates by encoding task tokens with metadata and enhancing error handling in `raise_complete_async.py` and `update_execution.py`. > > - **Behavior**: > - In `raise_complete_async.py`, task tokens are now base64 encoded and include metadata with activity, run, and workflow IDs. > - In `update_execution.py`, added error handling for stopping and resuming executions, using metadata for async activity handle retrieval. > - **Database Queries**: > - In `get_paused_execution_token.py`, query updated to include `metadata` and sort by `created_at` with a limit of 1. > - **Error Handling**: > - Added try-except blocks in `update_execution.py` to handle exceptions when stopping or resuming executions. > > <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 f3de527. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]> Co-authored-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 50a95ca - Browse repository at this point
Copy the full SHA 50a95caView commit details
Commits on Oct 2, 2024
-
fix(agents-api): Fix JobStatus name in get job endpoint (#544)
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Fixes `name` attribute in `get_job_status` in `routers.py` and updates string encoding and exception syntax in other files. > > - **Behavior**: > - Fixes `name` attribute in `get_job_status` function in `routers.py` to use `job_description.workflow_type` instead of `handle.id`. > - **Formatting**: > - Adjusts string encoding in `raise_complete_async.py` and `update_execution.py` to use double quotes for `ascii`. > - Updates exception raising syntax in `update_execution.py` for consistency. > > <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 bfc8490. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
Configuration menu - View commit details
-
Copy full SHA for 990ea1a - Browse repository at this point
Copy the full SHA 990ea1aView commit details -
feat: Added temporal codec server route & cookbooks. Updated the CONT…
…RIBUTING.md file (#543) Added temporal payload decoding route, updated setup instructions in `CONTRIBUTING.md`, and modified Docker and FastAPI configurations. - **New Features**: - Added `/temporal/decode` route in `router.py` for decoding temporal payloads using `PydanticEncodingPayloadConverter`. - **Documentation**: - Updated `CONTRIBUTING.md` with setup instructions, including environment setup, Docker volume creation, and running the project in single or multi-tenant mode. - **Configuration**: - Added `internal.router` to `web.py` to include the new internal routes. - Updated `docker-compose.yml` to expose port `8080` for `agents-api` and `agents-api-multi-tenant` services.
Configuration menu - View commit details
-
Copy full SHA for e97ca4e - Browse repository at this point
Copy the full SHA e97ca4eView commit details -
doc: Added Readme for cookbooks and updated the Colab links (#550)
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Add `README.md` to `cookbooks` with Jupyter notebook overview and Colab links. > > - **Documentation**: > - Adds `README.md` to `cookbooks` directory. > - Provides an overview of Jupyter notebooks for AI tasks. > - Includes Colab links for each notebook: `01-Website_Crawler_using_Spider.ipynb`, `02-Sarcastic_News_Headline_Generator.ipynb`, `03-SmartResearcher_With_WebSearch.ipynb`, `04-TripPlanner_With_Weather_And_WikiInfo.ipynb`. > - Contact information and contribution guidelines included. > > <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 a1ad58e. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]> Co-authored-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9c38645 - Browse repository at this point
Copy the full SHA 9c38645View commit details -
doc: Add ideas to implement in cookbooks/README.md
Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4d12e8b - Browse repository at this point
Copy the full SHA 4d12e8bView commit details -
doc: Update README.md to add a callout for hacktoberfest people
Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0abe269 - Browse repository at this point
Copy the full SHA 0abe269View commit details -
feat(agents-api): Add static checking for Jinja templates & Python ex…
…pressions in task creation | Add validation for subworkflows (#570) Closes #535 <!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Add static validation for Python expressions and Jinja templates in task creation and validate subworkflows in `openapi_model.py` and `steps.tsp`. > > - **Validation**: > - Add `validate_python_expression()` and `validate_jinja_template()` in `openapi_model.py`. > - Integrate validation into `EvaluateStep`, `ToolCallStep`, `PromptStep`, `SetStep`, `LogStep`, `ReturnStep`, `YieldStep`, `IfElseWorkflowStep`, and `MapReduceStep` in `openapi_model.py`. > - **Models**: > - Update `CreateTaskRequest` in `openapi_model.py` to validate subworkflows using `WorkflowType`. > - Add `YieldStep` to `MappableWorkflowStep` and `NonConditionalWorkflowStep` in `steps.tsp`. > - **Misc**: > - Reorder `YieldStep` in `Tasks.py` to maintain consistency. > > <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 9952ad5. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Co-authored-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 46ed8fa - Browse repository at this point
Copy the full SHA 46ed8faView commit details -
doc: Add code reading instructions to CONTRIBUTING.md (#556)
Signed-off-by: Diwank Singh Tomer <[email protected]> <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Adds detailed code reading and contributing instructions to `CONTRIBUTING.md`, covering project architecture, setup, and contribution guidelines. > > - **Documentation**: > - Adds detailed code reading instructions to `CONTRIBUTING.md`. > - Includes sections on project overview, system architecture, API specifications, core API implementation, database and storage, workflow management, testing, and additional services. > - Provides a step-by-step guide for setting up the development environment and contributing to the project. > > <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 4bb3e8c. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 866a4eb - Browse repository at this point
Copy the full SHA 866a4ebView commit details
Commits on Oct 3, 2024
-
fix(agents-api): Switch to monkeypatching because everything is shit (#…
…573) Signed-off-by: Diwank Singh Tomer <[email protected]> <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Refactor validation logic using monkeypatching and add new models and custom types in `openapi_model.py`. > > - **Validation Refactor**: > - Switch from subclassing to monkeypatching for validation functions in `EvaluateStep`, `ToolCallStep`, `PromptStep`, `SetStep`, `LogStep`, `ReturnStep`, `YieldStep`, `IfElseWorkflowStep`, and `MapReduceStep`. > - Add validators for Python expressions and Jinja templates. > - **Model Changes**: > - Add `CreateTransitionRequest` and `CreateEntryRequest` classes. > - Define custom types `ChatMLContent`, `ChatMLRole`, `ChatMLSource`, `ExecutionStatus`, and `TransitionType`. > - **Misc**: > - Allow extra fields in `CreateTaskRequest`, `PatchTaskRequest`, and `UpdateTaskRequest` using `ConfigDict`. > > <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 8c03d93. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2d62857 - Browse repository at this point
Copy the full SHA 2d62857View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85e9929 - Browse repository at this point
Copy the full SHA 85e9929View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ad1926 - Browse repository at this point
Copy the full SHA 3ad1926View commit details
Commits on Oct 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4992615 - Browse repository at this point
Copy the full SHA 4992615View commit details -
Enhanced the error messages (#575)
This PR is to fix the issue mentioned in #572 I have made the required changes in the files create_agent.py, create_or_update_agent.py and delete_agent.py. I have added descriptions to QueryException, ValidationError and TypeError. <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Enhanced error messages for exceptions in agent-related files to provide detailed guidance on potential issues. > > - **Error Messages**: > - Enhanced error messages for `QueryException`, `ValidationError`, and `TypeError` in `create_agent.py`, `create_or_update_agent.py`, and `delete_agent.py`. > - `QueryException`: Now includes a detailed message about potential causes related to database query failures. > - `ValidationError`: Provides guidance on checking input data for missing or incorrect fields. > - `TypeError`: Describes type mismatch issues and suggests reviewing input data types. > > <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 049d7ee. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> Co-authored-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9c38da1 - Browse repository at this point
Copy the full SHA 9c38da1View commit details -
fix(agents-api): Remove unnecessary 'type' property from tool type de…
…finition (#574) Signed-off-by: Diwank Singh Tomer <[email protected]> <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Removed 'type' property from tool classes and added computed 'type' property using a function in `Tools.py`, `openapi_model.py`, and `tasks.py`. > > - **Behavior**: > - Removed `type` property from `CreateToolRequest`, `NamedToolChoice`, `PatchToolRequest`, `Tool`, and `UpdateToolRequest` in `Tools.py`. > - Added computed `type` property to `TaskTool`, `Tool`, `UpdateToolRequest`, and `PatchToolRequest` in `openapi_model.py`. > - Updated `task_to_spec()` in `tasks.py` to use computed `type` property. > - **Misc**: > - Removed `type` property from `Tool` and `NamedToolChoice` in `models.tsp`. > > <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 289e87e. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 51f5e65 - Browse repository at this point
Copy the full SHA 51f5e65View commit details -
Enhanced error message in create, delete agent (#572)
Related to #568 Enhanced HTTPException in `create_agent.py` and `delete_agent.py`. As this issue states, we aim to improve error messages throughout the agents-api. I believe this issue can accommodate multiple pull requests. Your suggestions are highly appreciated. <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Enhanced error messages in `create_agent.py` and `delete_agent.py` for better clarity in `HTTPException` details. > > - **Error Messages**: > - In `create_agent.py`, updated `HTTPException` detail to "Developer not found. Please ensure the provided auth token (which refers to your developer_id) is valid and the developer has the necessary permissions to create an agent." > - In `delete_agent.py`, updated `HTTPException` detail to "The specified developer does not own the requested resource. Please verify the ownership or check if the developer ID is correct." > > <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 a085d41. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> Co-authored-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 06813fb - Browse repository at this point
Copy the full SHA 06813fbView commit details -
feat(agents-api): Naive speed improvement to cozo queries by adding l…
…imit=1 to all relevant queries (#580) Signed-off-by: Diwank Singh Tomer <[email protected]> <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Improve CozoDB query performance by adding `:limit 1` to relevant queries and restructure CI/CD workflows for agents-api. > > - **Performance Improvement**: > - Add `:limit 1` to CozoDB queries in `get_agent.py`, `get_cached_response.py`, and `prepare_chat_context.py` among others to improve query performance. > - **CI/CD Workflow**: > - Rename `lint-and-format.yml` to `lint-agents-api-pr.yml` and remove typecheck and test steps. > - Add `test-agents-api-pr.yml` for running tests on pull requests. > - Add `typecheck-agents-api-pr.yml` for type-checking on pull requests. > > <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 4cd6bb0. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c5ea3ba - Browse repository at this point
Copy the full SHA c5ea3baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f79791 - Browse repository at this point
Copy the full SHA 3f79791View commit details -
Improve docstrings + minor code refactor (#545)
This PR includes: - Adding, formatting and improving of docstring comments - Updating absolute imports to relative imports (similar to other files) <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Improved docstrings, switched to relative imports, and used a constant for `EMBEDDING_SIZE` for better code clarity and consistency. > > - **Docstrings**: > - Improved and formatted docstrings across multiple files for clarity and consistency. > - Added detailed attribute descriptions in exception classes like `AgentNotFoundError` and `UserNotFoundError`. > - **Imports**: > - Updated absolute imports to relative imports in files like `truncation.py`, `worker.py`, and `messages.py` for consistency. > > <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 c27aebf. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Co-authored-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fe8a8c9 - Browse repository at this point
Copy the full SHA fe8a8c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6bcbbe - Browse repository at this point
Copy the full SHA a6bcbbeView commit details -
feat: Add API call tool type (#571)
- **Add optional description field to agent tools** - **feat(typespec): Add API call tool definition type** <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Add API call tool type and description field to agent tools, updating models and types accordingly. > > - **Behavior**: > - Adds `ApiCallDef` and `ApiCallDefUpdate` classes in `Tools.py` to define API call tools. > - Adds `api_call` field to `CreateToolRequest`, `PatchToolRequest`, `UpdateToolRequest`, and `Tool` classes in `Tools.py`. > - Adds `description` field to `CreateToolRequest`, `PatchToolRequest`, `UpdateToolRequest`, and `Tool` classes in `Tools.py`. > - Updates `prepare_chat_context.py` and `prepare_execution_input.py` to include `description` in tool data. > - Implements `execute_api_call()` in `excecute_api_call.py` to handle API call execution. > - **Types**: > - Adds `httpMethod` alias in `scalars.tsp` for valid HTTP methods. > - Defines `ApiCallDef` model in `models.tsp` for API call tools. > - **Misc**: > - Updates `create_tools.py` and `list_tools.py` to handle `description` field in tool records. > - Adds migration `migrate_1727922523_add_description_to_tools.py` to add `description` field to tools table. > - Adds test `workflow: tool call api_call` in `test_execution_workflow.py` to verify API call tool functionality. > > <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 326067a. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]> Co-authored-by: HamadaSalhab <[email protected]> Co-authored-by: vedantsahai18 <[email protected]> Co-authored-by: creatorrr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1c2fb63 - Browse repository at this point
Copy the full SHA 1c2fb63View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb9a1d5 - Browse repository at this point
Copy the full SHA cb9a1d5View commit details -
feat(typespec,agents-api): Add system tool call types (#585)
Signed-off-by: Diwank Singh Tomer <[email protected]> <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Add system tool call types and update API models and specifications for version 1.0.0. > > - **Behavior**: > - Add `timeout` field to `ApiCallDef` and `ApiCallDefUpdate` in `Tools.py`. > - Change `data` type from `dict[str, str]` to `dict[str, Any]` in `ApiCallDef` and `ApiCallDefUpdate`. > - Change `description` type from `str` to `Any` in `FunctionDef`. > - Add `resource`, `operation`, `resource_id`, and `subresource` fields to `SystemDef` and `SystemDefUpdate`. > - **Models**: > - Add new aliases `resourceType`, `subresourceType`, and `operationType` in `models.tsp`. > - Update `SystemDef` model to include new fields in `models.tsp`. > - **API**: > - Add OpenAPI specification for version 1.0.0 in `openapi-1.0.0.yaml`. > - **Misc**: > - Update `versions.tsp` to include version `1.0.0`. > > <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 5241358. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]> Co-authored-by: HamadaSalhab <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 19c6240 - Browse repository at this point
Copy the full SHA 19c6240View commit details -
fix(.github): Fix github actions to run on correct conditions
Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 80984b6 - Browse repository at this point
Copy the full SHA 80984b6View commit details -
feat(gateway): Redirect to api docs on GET /
Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5ee3e7a - Browse repository at this point
Copy the full SHA 5ee3e7aView commit details
Commits on Oct 5, 2024
-
fix(typespec,agents-api): Update metadata_filter to have object type (#…
…586) Signed-off-by: Diwank Singh Tomer <[email protected]> <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Refactors metadata filtering by introducing `FilterModel` and `create_filter_extractor`, updating API endpoints and typespec for structured metadata filtering. > > - **Behavior**: > - Introduces `FilterModel` and `create_filter_extractor` in `query_filter.py` for structured metadata filtering. > - Updates `list_agents`, `list_user_docs`, `list_agent_docs`, and `list_sessions` to use `FilterModel` for `metadata_filter`. > - Removes JSON string parsing for `metadata_filter` in `list_agents.py`, `list_docs.py`, and `list_sessions.py`. > - **Types**: > - Adds `concreteType` alias in `scalars.tsp`. > - Updates `MetadataFilter` alias in `types.tsp` to use `concreteType`. > - Changes `metadata_filter` in `PaginationOptions` model in `types.tsp` to use `MetadataFilter`. > > <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 63eda8b. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]> Co-authored-by: creatorrr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8033549 - Browse repository at this point
Copy the full SHA 8033549View commit details -
feat(agents-api): Add retry policies to temporal workflows/activities (…
…#551) <!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Introduces `DEFAULT_RETRY_POLICY` for consistent retry behavior in Temporal workflows and activities, updating workflows, activities, and tests accordingly. > > - **Retry Policy**: > - Introduces `DEFAULT_RETRY_POLICY` in `retry_policies.py` with specific retry configurations. > - Applies `DEFAULT_RETRY_POLICY` to `run_task_execution_workflow()` in `temporal.py` and `run_embed_docs_task()` in `create_doc.py`. > - **Workflows**: > - Adds `retry_policy=DEFAULT_RETRY_POLICY` to `DemoWorkflow`, `EmbedDocsWorkflow`, `MemRatingWorkflow`, `SummarizationWorkflow`, `TruncationWorkflow`. > - Updates `TaskExecutionWorkflow` in `task_execution/__init__.py` to use `DEFAULT_RETRY_POLICY` for activities. > - **Activities**: > - Updates `raise_complete_async()` in `raise_complete_async.py` to use consistent string formatting. > - Updates `transition()` in `transition.py` to use `DEFAULT_RETRY_POLICY`. > - **Tests**: > - Updates `test_activities.py` to use `DEFAULT_RETRY_POLICY` in workflow execution tests. > > <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 2d945d3. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]> Co-authored-by: Diwank Singh Tomer <[email protected]> Co-authored-by: creatorrr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2e0108e - Browse repository at this point
Copy the full SHA 2e0108eView commit details -
fix(agents-api): Add metadata_filter change to users/list route as well
Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 196b827 - Browse repository at this point
Copy the full SHA 196b827View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2bda99 - Browse repository at this point
Copy the full SHA e2bda99View commit details -
Configuration menu - View commit details
-
Copy full SHA for f67023f - Browse repository at this point
Copy the full SHA f67023fView commit details
Commits on Oct 6, 2024
-
docs: add Japanese README (#598)
I created Japanese translated README. <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Add Japanese translation of README and update language links in existing READMEs. > > - **Documentation**: > - Add `README-JP.md` for Japanese translation of the README. > - Update language navigation links in `README.md` and `README-CN.md` to include Japanese translation. > > <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 f6dc4d2. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
Configuration menu - View commit details
-
Copy full SHA for b759331 - Browse repository at this point
Copy the full SHA b759331View commit details -
fix: Minor html fixes in READMEs
Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 35ec6af - Browse repository at this point
Copy the full SHA 35ec6afView commit details -
doc: Update README according to feedback, add TOC and collapse devfes…
…t callout (#599) Signed-off-by: Diwank Singh Tomer <[email protected]> <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Enhances `README` files by adding TOC and collapsing DevFest.AI callout, and introduces a GitHub Action for TOC generation. > > - **GitHub Actions**: > - Adds `.github/workflows/doctoc-on-dev-push.yml` to generate TOC on push to `dev` branch using `technote-space/toc-generator@v4`. > - **README Updates**: > - Collapses "Contributors and DevFest.AI Participants" section in `README.md`, `README-CN.md`, and `README-JP.md` using `<details>` and `<summary>` tags. > - Removes Julep 1.0 Alpha release announcement from `README.md`, `README-CN.md`, and `README-JP.md`. > > <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 b65a1f0. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]> Co-authored-by: vedantsahai18 <[email protected]> Co-authored-by: creatorrr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d26c977 - Browse repository at this point
Copy the full SHA d26c977View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2828962 - Browse repository at this point
Copy the full SHA 2828962View commit details -
Configuration menu - View commit details
-
Copy full SHA for c9883f7 - Browse repository at this point
Copy the full SHA c9883f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b9b65a - Browse repository at this point
Copy the full SHA 8b9b65aView commit details -
Configuration menu - View commit details
-
Copy full SHA for bb90f95 - Browse repository at this point
Copy the full SHA bb90f95View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6ca528 - Browse repository at this point
Copy the full SHA a6ca528View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0de4c02 - Browse repository at this point
Copy the full SHA 0de4c02View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0a296c - Browse repository at this point
Copy the full SHA a0a296cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a15afc - Browse repository at this point
Copy the full SHA 3a15afcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 100eba8 - Browse repository at this point
Copy the full SHA 100eba8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94cd57c - Browse repository at this point
Copy the full SHA 94cd57cView commit details -
1
Configuration menu - View commit details
-
Copy full SHA for d849487 - Browse repository at this point
Copy the full SHA d849487View commit details -
Configuration menu - View commit details
-
Copy full SHA for 024b4ec - Browse repository at this point
Copy the full SHA 024b4ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for ae238ee - Browse repository at this point
Copy the full SHA ae238eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b8e2d7 - Browse repository at this point
Copy the full SHA 0b8e2d7View commit details
Commits on Oct 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 46c0a23 - Browse repository at this point
Copy the full SHA 46c0a23View commit details -
fix: Add developer_id constraints in all queries when possible (#603)
Signed-off-by: Diwank Singh Tomer <[email protected]> <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Add developer_id constraints to database queries and introduce environment flags for developer verification. > > - **Behavior**: > - Add `developer_id` constraints to queries in `create_or_update_agent.py`, `get_agent.py`, `prepare_session_data.py`, `create_or_update_user.py`, and `patch_user.py` to ensure operations are scoped to the correct developer. > - Introduce `do_verify_developer` and `do_verify_developer_owns_resource` flags in `env.py` to toggle developer verification. > - **Queries**: > - Modify queries in `create_or_update_agent.py` and `get_agent.py` to include `developer_id` in input and match conditions. > - Update `prepare_session_data.py` to pass `developer_id` in session-related queries. > - Add `developer_id` checks in `create_or_update_user.py` and `patch_user.py` for user operations. > - **Utils**: > - Update `verify_developer_id_query` and `verify_developer_owns_resource_query` in `utils.py` to respect new environment flags. > > <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 09d8dad. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 00af85d - Browse repository at this point
Copy the full SHA 00af85dView commit details -
feat(agents-api): Add doc search system tool (#604)
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Adds document creation and search functionalities for agents and users, updates `list_docs` with a new parameter, and refactors `base_evaluate` for complex dictionaries. > > - **Behavior**: > - Adds support for document creation and search operations in `execute_system.py` for both agents and users. > - Introduces `create_agent_doc`, `create_user_doc`, `search_agent_docs`, and `search_user_docs` functions. > - Handles `text`, `vector`, and `hybrid` search requests using `HybridDocSearchRequest`, `TextOnlyDocSearchRequest`, and `VectorDocSearchRequest`. > - Replaces `developer_id` with `x_developer_id` for certain operations. > - **Models**: > - Updates `list_docs` in `list_docs.py` to include `include_without_embeddings` parameter. > - **Misc**: > - Refactors `base_evaluate` in `base_evaluate.py` to handle nested dictionaries with string values. > > <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 8432e95. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]> Co-authored-by: Diwank Singh Tomer <[email protected]> Co-authored-by: HamadaSalhab <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e36f33b - Browse repository at this point
Copy the full SHA e36f33bView commit details -
doc: Add devfest email assistant README
Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5b041ca - Browse repository at this point
Copy the full SHA 5b041caView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca9ecb9 - Browse repository at this point
Copy the full SHA ca9ecb9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 637d50b - Browse repository at this point
Copy the full SHA 637d50bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c19e20 - Browse repository at this point
Copy the full SHA 8c19e20View commit details -
Configuration menu - View commit details
-
Copy full SHA for bcfb5d2 - Browse repository at this point
Copy the full SHA bcfb5d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa616d2 - Browse repository at this point
Copy the full SHA aa616d2View commit details
Commits on Oct 8, 2024
-
Enhanced error messages in models/user (#583)
Related to #568 Enhanced error messages in `agents-api/agents_api/models/user/` <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Enhanced error messages for exceptions in user-related modules to improve clarity and debugging. > > - **Error Messages**: > - Enhanced error messages for `QueryException`, `ValidationError`, and `TypeError` in `create_or_update_user.py`, `create_user.py`, and `delete_user.py`. > - Improved error messages in `get_user.py`, `list_users.py`, `patch_user.py`, and `update_user.py` to provide more detailed feedback on database query failures, input validation issues, and type mismatches. > > <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 c2d3e10. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Co-authored-by: Diwank Singh Tomer <[email protected]> Co-authored-by: creatorrr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5f2557e - Browse repository at this point
Copy the full SHA 5f2557eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b1d127c - Browse repository at this point
Copy the full SHA b1d127cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d1e38e9 - Browse repository at this point
Copy the full SHA d1e38e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for a29434e - Browse repository at this point
Copy the full SHA a29434eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a9cac1d - Browse repository at this point
Copy the full SHA a9cac1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a60e23 - Browse repository at this point
Copy the full SHA 5a60e23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 650e588 - Browse repository at this point
Copy the full SHA 650e588View commit details -
Configuration menu - View commit details
-
Copy full SHA for 966f7d8 - Browse repository at this point
Copy the full SHA 966f7d8View commit details -
Docs(README): Fix mistakes in README (#613)
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Fixes mistakes in README files by updating provider names, session chat structures, and document handling functions. > > - **Provider and API Key Updates**: > - Change `provider` from `google` to `brave` and update `api_key` references in `README.md`, `README-CN.md`, and `README-JP.md`. > - **Session Chat Structure**: > - Update `client.sessions.chat` to use `messages` array instead of `message` string in `README.md`, `README-CN.md`, and `README-JP.md`. > - **Document Handling**: > - Change `client.documents.create` to `client.agents.docs.create` and `client.documents.search` to `client.agents.docs.search` in `README.md`, `README-CN.md`, and `README-JP.md`. > > <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 867ad75. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
Configuration menu - View commit details
-
Copy full SHA for 007c2ef - Browse repository at this point
Copy the full SHA 007c2efView commit details -
feat(memory-store): Make
cozo_data
volume external (#616)<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Set `cozo_data` volume to external in `docker-compose.yml`. > > - **Volumes**: > - Set `cozo_data` volume to `external: true` in `docker-compose.yml`, aligning with `cozo_backup`. > > <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 017823f. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
Configuration menu - View commit details
-
Copy full SHA for 7effdd3 - Browse repository at this point
Copy the full SHA 7effdd3View commit details -
Modified the import to use openai and set the API key using openai.ap…
…i_key (#611) The openai library does not have a Client class that can be imported directly. Instead, we can use openai.api_key for authentication and the module's built-in methods to interact with the API. Set the API key using openai.api_key. In the RecSum-experiments.ipynb file I have converted user_input to lowercase using input("You: ").lower() before the comparison. This ensures that both "bye" and "Bye" (or any variation like "BYE") are treated the same, making the condition work as intended. PR #594, accidentally got closed. @creatorrr I removed the .DS_Store file that I checked in accidentally. Co-authored-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0424843 - Browse repository at this point
Copy the full SHA 0424843View commit details -
Feat(agents-api): Replace Retry Policies with Temporal Interceptors &…
… Add more non-retryable errors (#612) <!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Replaces retry policies with Temporal interceptors to handle non-retryable errors and updates worker to use these interceptors. > > - **Interceptors**: > - Add `CustomActivityInterceptor` and `CustomWorkflowInterceptor` in `interceptors.py` to handle non-retryable errors by raising `ApplicationError`. > - `CustomInterceptor` combines both activity and workflow interceptors. > - **Non-Retryable Errors**: > - Define `NON_RETRYABLE_ERROR_TYPES` and `is_non_retryable_error()` in `exceptions/tasks.py` to identify non-retryable errors. > - **Retry Policy**: > - Set `DEFAULT_RETRY_POLICY` to `None` in `retry_policies.py` due to conflict with interceptors. > - **Worker**: > - Update `create_worker()` in `worker.py` to use `CustomInterceptor`. > > <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 7a50b72. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Co-authored-by: HamadaSalhab <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d2759b3 - Browse repository at this point
Copy the full SHA d2759b3View commit details -
doc: Copy README.md to docs/README (#619)
Signed-off-by: Diwank Singh Tomer <[email protected]> <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Replace `docs/README.md` with a symbolic link to `README.md` for consistency and reduced redundancy. > > - **Documentation**: > - Replace `docs/README.md` with a symbolic link to `README.md` to ensure consistency and reduce redundancy. > > <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 00cba9f. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7cfa193 - Browse repository at this point
Copy the full SHA 7cfa193View commit details
Commits on Oct 10, 2024
-
feat(agents-api): Add some LiteLLM exceptions to the list of non-retr…
…yable errors (#622) Added the following exceptions: - `litellm.exceptions.NotFoundError`. - `litellm.exceptions.InvalidRequestError`. - `litellm.exceptions.AuthenticationError`. - `litellm.exceptions.ServiceUnavailableError`. - `litellm.exceptions.OpenAIError`. - `litellm.exceptions.APIError`. <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Add LiteLLM exceptions to non-retryable errors in `tasks.py`. > > - **Exceptions**: > - Added `litellm.exceptions.NotFoundError`, `InvalidRequestError`, `AuthenticationError`, `ServiceUnavailableError`, `OpenAIError`, and `APIError` to `NON_RETRYABLE_ERROR_TYPES` in `tasks.py`. > > <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 018360c. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
Configuration menu - View commit details
-
Copy full SHA for 4fe49d1 - Browse repository at this point
Copy the full SHA 4fe49d1View commit details -
feat(agents-api): Add
wait_for_input
step to the acceptable steps i……nside `foreach` step (#625) <!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Add `WaitForInputStep` to `foreach` step in agents API, updating `Tasks.py`, `steps.tsp`, and OpenAPI specs. > > - **Behavior**: > - Add `WaitForInputStep` to `ForeachDo` and `ForeachDoUpdateItem` in `Tasks.py`, allowing it as a valid step in `foreach`. > - Update `SequentialWorkflowStep` alias in `steps.tsp` to include `WaitForInputStep`. > - **OpenAPI**: > - Update `openapi-0.4.0.yaml` and `openapi-1.0.0.yaml` to include `WaitForInputStep` in `ForeachDo` and `ForeachDoUpdateItem` schemas. > > <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 ac9b7c1. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]> Co-authored-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3291120 - Browse repository at this point
Copy the full SHA 3291120View commit details
Commits on Oct 11, 2024
-
- **fix(agents-api): Allow url etc to be overridden by arguments** - **fix(agents-api): base64 encode http content** - **feat(agents-api): Extend stdlib** - **fix(agents-api): Fix interceptors and simplify get/set steps** - **fix(agents-api): Fix the bug where execution.output was not being set** <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > This PR enhances API call execution, extends the standard library, improves error handling, refines execution transitions, and updates workflow execution in the `agents-api` module. > > - **API Call Execution**: > - `execute_api_call` in `excecute_api_call.py` now supports overriding `url` and `headers` via `RequestArgs`. > - HTTP content is base64 encoded before being returned. > - **Standard Library Extension**: > - `utils.py` extended with classes for `re`, `json`, `yaml`, `time`, `random`, `itertools`, `functools`, `base64`, `urllib`, `string`, `zoneinfo`, `datetime`, `math`, and `statistics`. > - **Error Handling**: > - Updated `is_non_retryable_error` in `exceptions/tasks.py` to accept `BaseException`. > - `CustomActivityInterceptor` and `CustomWorkflowInterceptor` in `interceptors.py` now handle `BaseException`. > - **Execution Transition**: > - Fixed bug in `create_execution_transition.py` where `execution.output` was not set correctly for non-error transitions. > - **Workflow Execution**: > - Removed user state management from `TaskExecutionWorkflow` in `task_execution/__init__.py`. > - Updated `continue_as_child` in `helpers.py` to handle user state via workflow memo. > - **Testing**: > - Updated tests in `test_execution_workflow.py` to cover new functionalities and ensure correct behavior. > > <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 2b78559. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]> Co-authored-by: creatorrr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a51441a - Browse repository at this point
Copy the full SHA a51441aView commit details -
doc: Add cookbooks and ideas for what to build with julep (#592)
Signed-off-by: Diwank Singh Tomer <[email protected]> <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Add Claude-generated notebooks for task execution and management using Julep client, with updates to execution handling and agent models. > > - **Behavior**: > - Adds `time.sleep()` to wait for task execution completion in `01-Website_Crawler_using_Spider.py`, `02-Sarcastic_News_Headline_Generator.py`, `03-SmartResearcher_With_WebSearch.py`, `04-TripPlanner_With_Weather_And_WikiInfo.py`, `07-Integrating_External_Tools_and_APIs.py`, `08-Managing_Persistent_Sessions.py`, `09-User_Management_and_Personalization.py`, `10-Document_Management_and_Search.py`, `11-Advanced_Chat_Interactions.py`, `12-Monitoring_Task_Executions.py`, and `13-Error_Handling_and_Recovery.py`. > - Updates print statements for execution steps in `01-Website_Crawler_using_Spider.py`, `02-Sarcastic_News_Headline_Generator.py`, `03-SmartResearcher_With_WebSearch.py`, `04-TripPlanner_With_Weather_And_WikiInfo.py`, `07-Integrating_External_Tools_and_APIs.py`, `08-Managing_Persistent_Sessions.py`, `09-User_Management_and_Personalization.py`, `10-Document_Management_and_Search.py`, `11-Advanced_Chat_Interactions.py`, `12-Monitoring_Task_Executions.py`, and `13-Error_Handling_and_Recovery.py`. > - Changes agent model to `gpt-4o` in `05-Basic_Agent_Creation_and_Interaction.py`, `06-Designing_Multi-Step_Tasks.py`, `07-Integrating_External_Tools_and_APIs.py`, `08-Managing_Persistent_Sessions.py`, `09-User_Management_and_Personalization.py`, `10-Document_Management_and_Search.py`, `11-Advanced_Chat_Interactions.py`, `12-Monitoring_Task_Executions.py`, and `13-Error_Handling_and_Recovery.py`. > - **Misc**: > - Adds "UNDER CONSTRUCTION" comments to indicate incomplete functionality in `05-Basic_Agent_Creation_and_Interaction.py`, `10-Document_Management_and_Search.py`, `11-Advanced_Chat_Interactions.py`, `12-Monitoring_Task_Executions.py`, and `13-Error_Handling_and_Recovery.py`. > > <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 7ffae7f. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]> Co-authored-by: vedantsahai18 <[email protected]> Co-authored-by: Ikko Eltociear Ashimine <[email protected]> Co-authored-by: creatorrr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d0bef2c - Browse repository at this point
Copy the full SHA d0bef2cView commit details -
Fix: 404 - page not found #631 (#632)
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Fix broken `CONTRIBUTING.md` link and update Table of Contents in `README.md` and `docs/README.md`. > > - **Links**: > - Update `CONTRIBUTING.md` link to absolute URL in `README.md` and `docs/README.md`. > - **Table of Contents**: > - Add "Call for Contributors!" and "DevFest.AI October 2024" sections to TOC in `README.md` and `docs/README.md`. > > <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 e31f247. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> Co-authored-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2cd6ab0 - Browse repository at this point
Copy the full SHA 2cd6ab0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f340e7 - Browse repository at this point
Copy the full SHA 1f340e7View commit details -
feat: Add prometheus and grafana support (#523)
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Add Prometheus and Grafana support with FastAPI metrics and Docker Compose configurations. > > - **Metrics Integration**: > - Add `prometheus-fastapi-instrumentator` to `web.py` for FastAPI metrics. > - Update `pyproject.toml` to include `prometheus-fastapi-instrumentator` dependency. > - **Docker Compose**: > - Add `prometheus/docker-compose.yml` for Prometheus configuration. > - Add `grafana/docker-compose.yml` for Grafana configuration. > - Update root `docker-compose.yml` to include Prometheus and Grafana services. > - **Traefik Configuration**: > - Update `traefik.yml.template` to route `/grafana` to Grafana service. > > <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 124ecc7. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Co-authored-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5ba7f44 - Browse repository at this point
Copy the full SHA 5ba7f44View commit details
Commits on Oct 12, 2024
-
fix: Exclude unset fields from agent's default settings (#628)
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > `create_or_update_agent` now excludes unset fields from `default_settings`, and a test is skipped in `test_docs_queries.py`. > > - **Behavior**: > - In `create_or_update_agent`, `default_settings` now uses `model_dump(exclude_unset=True)` to exclude unset fields. > - **Tests**: > - Skips test `model: get docs` in `test_docs_queries.py` with a note to execute embedding workflow to fix it. > > <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 b49f435. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Co-authored-by: Diwank Singh Tomer <[email protected]> Co-authored-by: whiterabbit1983 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6bd24eb - Browse repository at this point
Copy the full SHA 6bd24ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for df34760 - Browse repository at this point
Copy the full SHA df34760View commit details
Commits on Oct 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 406e98a - Browse repository at this point
Copy the full SHA 406e98aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 69d3087 - Browse repository at this point
Copy the full SHA 69d3087View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02d5ba0 - Browse repository at this point
Copy the full SHA 02d5ba0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fd32d0 - Browse repository at this point
Copy the full SHA 6fd32d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7dbb93 - Browse repository at this point
Copy the full SHA b7dbb93View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5cef184 - Browse repository at this point
Copy the full SHA 5cef184View commit details -
feat: Create a new blob-store service for handling large temporal pay…
…loads (#642) - **feat(blob-store): Add blob store for storing large blobs for agent workflows** - **feat(blob-store): Add authentication** <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Introduces a new blob-store service using SeaweedFS for handling large temporal payloads, with Docker and authentication setup. > > - **Blob Store Service**: > - Introduces a new blob-store service using SeaweedFS in `blob-store/Dockerfile`, `docker-compose.yml`, and `docker-compose-ha.yml`. > - Adds `entrypoint.sh` for environment variable checks and configuration file generation. > - Includes `s3.json.template` for S3 configuration. > - **Environment Configuration**: > - Updates `.env.example` with `S3_ENDPOINT`, `S3_ACCESS_KEY`, and `S3_SECRET_KEY` for blob store configuration. > - Adds `USE_BLOB_STORE_FOR_TEMPORAL` and `BLOB_STORE_CUTOFF_KB` for temporal payload handling. > - **Authentication**: > - Implements authentication in `s3.json.template` with access and secret keys for the `julep` account. > - **Miscellaneous**: > - Adds `.gitignore` entry for `/s3.json` in `blob-store/.gitignore`. > - Updates main `docker-compose.yml` to include `blob-store/docker-compose.yml`. > > <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 736b9df. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e02ee06 - Browse repository at this point
Copy the full SHA e02ee06View commit details -
feat: Automate README translations (#624)
Draft PR for #600 > Some known issues that are to be fixed yet (this is just a draft PR) - The workflow takes too long for translations, approx. ~10 mins, may batch translating content be helpful? - Code blocks are exempted from translations due to unexpected translations of syntax - Hyperlinks for TOC currently aren't being translated Currently the translator uses Google AJAX Api for translations so the translations may not be "good". Best approach would perhaps be utilizing machine translation instead. <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Automates translation of `README.md` into multiple languages using a GitHub workflow and Python script, preserving code blocks and HTML tags. > > - **Workflow**: > - Adds `.github/workflows/translate-readme.yml` to automate translation of `README.md` on push. > - Uses `deep-translator` and `parmapper` for translation and parallel processing. > - Translates into Chinese, Japanese, and French. > - **Script**: > - `scripts/readme_translator.py` translates `README.md`, preserving code blocks and HTML tags. > - Uses `GoogleTranslator` from `deep-translator` for language translation. > - Saves translated files as `README-CN.md`, `README-JA.md`, `README-FR.md`. > - **Known Issues**: > - Translation process is slow (~10 mins), potential for batching. > - Code blocks and TOC links are not translated. > > <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 020e102. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: itsamziii <[email protected]> Co-authored-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 958217f - Browse repository at this point
Copy the full SHA 958217fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d11c22a - Browse repository at this point
Copy the full SHA d11c22aView commit details -
feat: Add simple deploy compose file
Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ca03414 - Browse repository at this point
Copy the full SHA ca03414View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ac6dc8 - Browse repository at this point
Copy the full SHA 0ac6dc8View commit details -
doc: Add some more documentation to .env.example
Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8e25bee - Browse repository at this point
Copy the full SHA 8e25beeView commit details -
fix: Fix TAG in docker-compose files
Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 799a9dd - Browse repository at this point
Copy the full SHA 799a9ddView commit details -
feat: add issue template form (#634)
Fix #620 This is enhance the user experience to report issues. <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Adds new issue templates for bug reports, documentation improvements, and feature requests, enhancing user interaction and issue management. > > - **New Templates**: > - Adds `bug_report.yml` for bug reporting with fields for description, reproduction steps, expected and actual behavior, OS, browsers, and more. > - Adds `docs_improvement.yml` for documentation suggestions with fields for current section, improvement suggestion, and additional context. > - Adds `feature_request.yml` for feature proposals with fields for feature description, pitch, solution, and alternatives. > - **Configuration**: > - Adds `config.yml` to disable blank issues and provide a Discord contact link. > > <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 bf0bb0c. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for e05c1a0 - Browse repository at this point
Copy the full SHA e05c1a0View commit details -
fix(typespec): Misc fixes in typespec definitions (#638)
Signed-off-by: Diwank Singh Tomer <[email protected]> <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Redefines `ChildStreamEndpoint`, updates dependencies, and removes `YieldStep` from task definitions in typespec files. > > - **Behavior**: > - Redefines `ChildStreamEndpoint` in `interfaces.tsp` to use `SSEStream<StreamEvent<T>>`. > - Removes `YieldStep` from task definitions in `endpoints.tsp` and `openapi-0.4.0.yaml`. > - **Models**: > - Adds `StreamEvent<T>` union in `types.tsp`. > - **Dependencies**: > - Updates `package.json` dependencies to `@typespec/[email protected]`, `@typespec/[email protected]`, `@typespec/[email protected]`, and others. > - **Misc**: > - Adds `TasksGetRoute` interface in `endpoints.tsp`. > - Enables `omit-unreachable-types` in `tspconfig.yaml`. > > <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 2f2eafe. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fecdc81 - Browse repository at this point
Copy the full SHA fecdc81View commit details -
Allow to Add a Move to Top button to enhance the ease of navigation f…
…or README readers. (#636) Added a Move to Top button to enhance the ease of navigation for README readers. because of readme file length. Hi 👋 @creatorrr, Please review my PR and accept my small contribution and if need any changes please let me know. Thank you <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Add 'Move to Top' button to README.md for easier navigation. > > - **README.md**: > - Adds a 'Move to Top' button at the end of the file for easier navigation. > > <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 809e5cf. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
Configuration menu - View commit details
-
Copy full SHA for 7d7f76a - Browse repository at this point
Copy the full SHA 7d7f76aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ec49071 - Browse repository at this point
Copy the full SHA ec49071View commit details
Commits on Oct 14, 2024
-
Update changelog for v1.0.0 (#644)
This PR was automatically created by [changelog-from-release](https://github.com/rhysd/changelog-from-release) action for v1.0.0 Co-authored-by: creatorrr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5b68b81 - Browse repository at this point
Copy the full SHA 5b68b81View commit details -
Configuration menu - View commit details
-
Copy full SHA for d803b9a - Browse repository at this point
Copy the full SHA d803b9aView commit details -
refactor: Refactor garafana and prometheus deployment stuff (#646)
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Refactor Grafana and Prometheus deployment by consolidating configurations into a single `monitoring` directory and updating related `docker-compose` setups. > > - **Refactoring**: > - Consolidate Grafana and Prometheus configurations into `monitoring` directory. > - Remove `grafana/docker-compose.yml` and `prometheus/docker-compose.yml`. > - Update `docker-compose.yml` to include `monitoring/docker-compose.yml` instead of separate Grafana and Prometheus files. > - **File Moves**: > - Move `grafana/provisioning/datasources/datasource.yml` to `monitoring/grafana/provisioning/datasources/datasource.yml`. > - Move `prometheus/config/prometheus.yml` to `monitoring/prometheus/config/prometheus.yml`. > - **Configuration Changes**: > - Update `monitoring/docker-compose.yml` to include both Grafana and Prometheus services with shared volume configurations. > - Add `depends_on` condition for Prometheus service in `monitoring/docker-compose.yml`. > > <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 cb36d21. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
Configuration menu - View commit details
-
Copy full SHA for a20285e - Browse repository at this point
Copy the full SHA a20285eView commit details -
Configuration menu - View commit details
-
Copy full SHA for df7a146 - Browse repository at this point
Copy the full SHA df7a146View commit details -
Configuration menu - View commit details
-
Copy full SHA for 220f9a0 - Browse repository at this point
Copy the full SHA 220f9a0View commit details
Commits on Oct 15, 2024
-
Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 697d95e - Browse repository at this point
Copy the full SHA 697d95eView commit details -
fix(monitoring): Update volume paths in monitoring docker-compose.yml (…
…#654) <!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Update volume paths for Prometheus and Grafana in `monitoring/docker-compose.yml`. > > - **Volume Path Updates**: > - Update Prometheus volume path from `./config/prometheus.yml` to `./prometheus/config/prometheus.yml` in `monitoring/docker-compose.yml`. > - Update Grafana volume path from `./provisioning` to `./grafana/provisioning` in `monitoring/docker-compose.yml`. > > <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 d7886dd. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
Configuration menu - View commit details
-
Copy full SHA for f48b1b2 - Browse repository at this point
Copy the full SHA f48b1b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 24c2bd5 - Browse repository at this point
Copy the full SHA 24c2bd5View commit details -
fix: Use ruamel.yaml instead of pyyaml (#651)
Signed-off-by: Diwank Singh Tomer <[email protected]> <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Replace `pyyaml` with `ruamel.yaml` for YAML processing and perform minor code cleanups. > > - **YAML Processing**: > - Replace `pyyaml` with `ruamel.yaml` in `utils.py`, `template.py`, and `routers/tasks/router.py`. > - Add `yaml.py` in `common/utils` to define `dump` and `load` functions using `ruamel.yaml`. > - **Code Cleanup**: > - Remove unused imports in `excecute_api_call.py` and `execute_system.py`. > - Fix `None` comparison in `execute_system.py`. > - Remove unused exception variable in `update_execution.py`. > - **Dependencies**: > - Remove `pyyaml` and add `ruamel-yaml` in `pyproject.toml`. > > <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 0854ead. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0855438 - Browse repository at this point
Copy the full SHA 0855438View commit details -
feat(agents-api): Increase
api_call
tools' timeouts to 60s (#656)<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Increase timeout to 60 seconds for HTTP requests in `execute_api_call()` in `excecute_api_call.py`. > > - **Behavior**: > - Increase timeout to 60 seconds in `execute_api_call()` in `excecute_api_call.py` for HTTP requests using `httpx.AsyncClient`. > > <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 7ff06bd. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
Configuration menu - View commit details
-
Copy full SHA for 2689c0a - Browse repository at this point
Copy the full SHA 2689c0aView commit details -
fix(agents-api): API calls with 429, etc should be retried (#657)
Signed-off-by: Diwank Singh Tomer <[email protected]> <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Enhance API call retry logic for specific HTTP status codes and improve error handling in `execute_api_call`. > > - **Behavior**: > - `execute_api_call` in `excecute_api_call.py` now retries on HTTP status codes 408, 429, 503, and 504. > - JSON parsing errors in `execute_api_call` are caught, logging a debug message and setting `json` to `None`. > - **Exceptions**: > - Removed `httpx.RequestError` and `httpx.HTTPStatusError` from `NON_RETRYABLE_ERROR_TYPES` in `tasks.py`. > - Updated `is_non_retryable_error` to retry on specific HTTP errors (408, 429, 503, 504). > - **Testing**: > - Added `workflow: tool call api_call test retry` test in `test_execution_workflow.py` to verify retry logic for specific HTTP status codes. > > <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 9b3fa19. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]> Co-authored-by: creatorrr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0e07c68 - Browse repository at this point
Copy the full SHA 0e07c68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 52796e1 - Browse repository at this point
Copy the full SHA 52796e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 795187c - Browse repository at this point
Copy the full SHA 795187cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fb7c4c - Browse repository at this point
Copy the full SHA 1fb7c4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 18412c3 - Browse repository at this point
Copy the full SHA 18412c3View commit details -
fix: Split payload content by smaller batches for embedding (#653)
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > `embed_docs` in `embed_docs.py` now processes payloads in smaller batches asynchronously using `batched` and `asyncio`, with a new test case added. > > - **Behavior**: > - `embed_docs` in `embed_docs.py` now processes payload content in smaller batches using `batched` from `itertools`. > - Introduces `max_batch_size` parameter to control batch size, defaulting to 100. > - Uses `asyncio.wait` for asynchronous embedding of batches. > - **Functions**: > - Adds `embed_batch` inner function to process each batch of indices and snippets. > - Modifies `embed_docs` to use `embed_batch` for batch processing. > - **Imports**: > - Adds `asyncio` and `batched` imports to support new batching logic. > - **Tests**: > - Adds test case in `test_activities.py` to verify `embed_docs` with batching logic using `unittest.mock.patch`. > > <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 30b26be. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> Co-authored-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3dacacd - Browse repository at this point
Copy the full SHA 3dacacdView commit details -
fix(agents-api): Fix search embeddings query to avoid snippets with e…
…mbedding == null (#662) Signed-off-by: Diwank Singh Tomer <[email protected]> <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Adds conditions in `search_docs_by_embedding.py` to exclude null embeddings, ensuring only valid embeddings are processed. > > - **Behavior**: > - In `search_docs_by_embedding` in `search_docs_by_embedding.py`, added conditions to exclude snippets with `embedding == null`. > - Ensures only valid embeddings are processed in the search query. > - **Misc**: > - Added `candidate` clause in `search_docs_by_text.py` for consistency. > > <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 7decd8a. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 994dbe0 - Browse repository at this point
Copy the full SHA 994dbe0View commit details -
Have updated the whole `README.md` file and refined it <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Refines `README.md` and `docs/README.md` with formatting improvements and content reorganization for clarity and consistency. > > - **Formatting**: > - Remove unnecessary whitespace in `README.md` and `docs/README.md`. > - Update markdown syntax for better readability and consistency. > - **Content Reorganization**: > - Reorganize sections for clarity and improved flow. > - Ensure consistent formatting and structure across both `README.md` files. > > <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 a9b38e2. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
Configuration menu - View commit details
-
Copy full SHA for c48f03e - Browse repository at this point
Copy the full SHA c48f03eView commit details -
Add E-commerce Order Processing Workflow Cookbook (#650)
**Overview:** This pull request introduces a new cookbook titled `01-E-commerce_Order_Processing_Workflow.ipynb`. It provides a comprehensive guide for automating the order processing system, which includes handling order placements, inventory checks, payment processing, and shipment tracking. **Key Features:** - **Introduction:** An overview explaining the purpose of the cookbook. - **Installation Section:** Instructions for installing the Julep client to facilitate the order processing workflow. - **Structured Sections:** - **Creating an Agent:** Steps to create a Julep agent for handling user interactions. - **Defining a Task:** Guidance on how to define tasks for order placement and inventory management. - **Creating Executions:** Detailed instructions on how to create and manage executions for order processing. - **Code Quality:** - The code is well-commented, follows PEP 8 style guidelines, and uses meaningful variable names. - Error handling is implemented gracefully to ensure a robust execution flow. **Documentation:** - Each step is explained clearly, assuming the reader is new to Julep. - Links to relevant Julep documentation are included for further reference. **Testing:** - The notebook has been thoroughly tested in Google Colab to ensure it runs without errors. - Sample outputs are included to demonstrate the functionality of the order processing workflow. <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Adds a Jupyter notebook for automating e-commerce order processing with tasks for order placement, inventory checking, payment processing, and shipment tracking. > > - **New Feature**: > - Adds `01-E-commerce_Order_Processing_Workflow.ipynb` for automating e-commerce order processing. > - Includes tasks for order placement, inventory checking, payment processing, and shipment tracking. > - **Code Structure**: > - Uses `uuid` for task and agent identification. > - Implements tasks using `yaml.safe_load` for task definitions. > - Functions `place_order`, `check_inventory`, `process_payment`, and `track_shipment` handle respective tasks. > - **Testing and Documentation**: > - Tested in Google Colab with sample outputs. > - Well-commented code with PEP 8 compliance. > > <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 c067fde. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Co-authored-by: Diwank Singh Tomer <[email protected]> Co-authored-by: creatorrr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4bab852 - Browse repository at this point
Copy the full SHA 4bab852View commit details -
fix: added a fix for
failed decoding error arguments
(#665)<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Fix decoding error by switching to `PyYAML` and updating cookbooks to use formatted strings for YAML loading. > > - **YAML Handling**: > - Replace `ruamel.yaml` with `PyYAML` in `yaml.py`, using `CSafeLoader` and `CSafeDumper` for `load()` and `dump()` functions. > - Remove `ruamel-yaml` dependency from `pyproject.toml`. > - **Cookbooks**: > - Update `06-Designing_Multi-Step_Tasks.py`, `07-Integrating_External_Tools_and_APIs.py`, `08-Managing_Persistent_Sessions.py`, `09-User_Management_and_Personalization.py`, `10-Document_Management_and_Search.py`, and `11-Advanced_Chat_Interactions.py` to use formatted strings in `yaml.safe_load()` calls. > - **Imports**: > - Add `msgpack` import under `workflow.unsafe.imports_passed_through()` in `__init__.py`. > > <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 b514c54. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Co-authored-by: Vedantsahai18 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f4f9b87 - Browse repository at this point
Copy the full SHA f4f9b87View commit details
Commits on Oct 16, 2024
-
fix(agents-api): temporal additional errors raised and caught (#667)
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Improves error handling in Temporal interceptors and removes unnecessary string formatting in YAML loading across multiple cookbooks. > > - **Error Handling**: > - In `interceptors.py`, `CustomActivityInterceptor` and `CustomWorkflowInterceptor` now catch additional errors: `ContinueAsNewError`, `ReadOnlyContextError`, `NondeterminismError`, `RPCError`, `TemporalError`, and `FailureError`. > - **Code Cleanup**: > - Removed unnecessary `f` string formatting in `yaml.safe_load()` calls in `06-Designing_Multi-Step_Tasks.py`, `07-Integrating_External_Tools_and_APIs.py`, `08-Managing_Persistent_Sessions.py`, `09-User_Management_and_Personalization.py`, and `11-Advanced_Chat_Interactions.py`. > > <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 a09782b. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Co-authored-by: Vedantsahai18 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4c51bfe - Browse repository at this point
Copy the full SHA 4c51bfeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8390c60 - Browse repository at this point
Copy the full SHA 8390c60View commit details -
ƒeat(agents-api): Allow confidence control for embeddings search in s…
…ystem-type tools (#673) <!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Adds confidence control to document search in `execute_system()` and updates `README.md` with Julep vs. LangChain comparison. > > - **Behavior**: > - Adds `confidence` parameter to `HybridDocSearchRequest` and `VectorDocSearchRequest` in `execute_system()` for agent and user document searches, defaulting to 0.7. > - **Documentation**: > - Adds "Why Julep vs. LangChain?" section in `README.md` with sub-sections on use cases, form factor, and summary. > > <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 56a9559. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Co-authored-by: HamadaSalhab <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 24f0c23 - Browse repository at this point
Copy the full SHA 24f0c23View commit details -
Configuration menu - View commit details
-
Copy full SHA for a225275 - Browse repository at this point
Copy the full SHA a225275View commit details -
feat(litellm-proxy): Add support for
o1-mini
ando1-preview
models (#676) <!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Add support for `o1-mini` and `o1-preview` models in `litellm-config.yaml` with specific configurations. > > - **Models**: > - Add support for `o1-mini` and `o1-preview` models in `litellm-config.yaml`. > - Configure `o1-mini` and `o1-preview` with `model` names `openai/o1-mini` and `openai/o1-preview` respectively. > - Both models use `os.environ/OPENAI_API_KEY` for `api_key` and are tagged as `paid`. > > <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 12137df. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
Configuration menu - View commit details
-
Copy full SHA for 3847fff - Browse repository at this point
Copy the full SHA 3847fffView commit details -
Configuration menu - View commit details
-
Copy full SHA for fd64463 - Browse repository at this point
Copy the full SHA fd64463View commit details -
feat(agents-api): Use blob store for objects that are too big (#645)
Fixes #579 Signed-off-by: Diwank Singh Tomer <[email protected]> <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Integrates blob store for large object handling in agents-api with S3 client and updated serialization logic. > > - **Blob Store Integration**: > - Adds `s3.py` for S3 client operations: `get_s3_client()`, `list_buckets()`, `setup()`, `exists()`, `add_object()`, `get_object()`, `delete_object()`, and `add_object_with_hash()`. > - Updates `env.py` to include blob store configurations: `use_blob_store_for_temporal`, `blob_store_bucket`, `blob_store_cutoff_kb`, `s3_endpoint`, `s3_access_key`, `s3_secret_key`. > - Modifies `codec.py` to use blob store for serialization if `use_blob_store_for_temporal` is true and object size exceeds `blob_store_cutoff_kb`. > - **Functionality**: > - Decorator `auto_blob_store` in `storage_handler.py` to automatically store large outputs in blob store and load inputs from blob store if they are `RemoteObject`. > - Applies `auto_blob_store` to multiple functions in `activities` and `task_steps` to handle large data. > - **Configuration**: > - Updates `.env.example` and `docker-compose.yml` to include blob store environment variables. > - Adds `boto3` and `xxhash` to `pyproject.toml` dependencies. > > <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 2ea0155. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]> Co-authored-by: creatorrr <[email protected]> Co-authored-by: HamadaSalhab <[email protected]> Co-authored-by: HamadaSalhab <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for cd6045d - Browse repository at this point
Copy the full SHA cd6045dView commit details -
Add queries and tokens metrics (#647)
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Add Prometheus metrics tracking to various API functions using a new `increase_counter` decorator. > > - **Metrics**: > - Add `increase_counter` decorator in `counters.py` to increment Prometheus counters for function calls. > - Apply `increase_counter` to multiple functions across various models, including `create_agent`, `create_or_update_agent`, `patch_agent`, `update_agent`, `create_doc`, `create_entries`, `create_execution`, `create_execution_transition`, `create_temporal_lookup`, `update_execution`, `create_or_update_session`, `create_session`, `update_session`, `create_or_update_task`, `create_task`, `patch_task`, `update_task`, `create_tools`, `patch_tool`, `update_tool`, `create_or_update_user`, `create_user`, `patch_user`, `update_user`. > - **Dependencies**: > - Add `prometheus-client` to `pyproject.toml` for metrics tracking. > - **Misc**: > - Add `total_tokens_per_user` counter in `metrics.py` to track token usage per user in `chat.py`. > > <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 fe315d7. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]> Co-authored-by: Diwank Singh Tomer <[email protected]> Co-authored-by: creatorrr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9019b57 - Browse repository at this point
Copy the full SHA 9019b57View commit details -
Implement Personal Finance Tracker Agent (#672)
### Description: This pull request introduces a Personal Finance Tracker agent designed to help users manage their expenses and budget effectively. The main features include: 1. **Logging Expenses**: Users can log their expenses with details such as amount, category, and description. 2. **Setting Budgets**: Users can set budget limits for specific categories to help manage their spending. 3. **Sending Financial Advice**: The agent can send tailored financial advice to users via email. #### Key Components: - **Agent Creation**: A `Personal Finance Tracker` agent is instantiated using a unique UUID. - **Task Definitions**: Three main tasks are defined in YAML: - **Log Expense**: Captures user expenses. - **Set Budget**: Allows users to establish budget limits for categories. - **Send Financial Advice**: Sends financial advice to a specified email address. - **Execution Functions**: Functions to execute each task, providing feedback to the user about the status of their actions. <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Introduces a Personal Finance Tracker agent with tasks for logging expenses, setting budgets, and sending financial advice, and updates README with a Julep vs. LangChain comparison. > > - **Agent and Tasks**: > - Introduces `Personal Finance Tracker` agent in `cookbooks/15_personal_finance_tracker.py`. > - Defines tasks: `Log Expense`, `Set Budget`, and `Send Financial Advice` using YAML schemas. > - **Execution Functions**: > - Adds `log_expense()`, `set_budget()`, and `send_financial_advice()` functions to execute tasks and provide user feedback. > - **Documentation**: > - Updates `README.md` with a new section "Why Julep vs. LangChain?" comparing use cases and form factors. > > <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 10d7e9d. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Co-authored-by: Mayank8881 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0d111ad - Browse repository at this point
Copy the full SHA 0d111adView commit details -
hotfix: update_execution throws error if output not dictionary
Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fffa9b4 - Browse repository at this point
Copy the full SHA fffa9b4View commit details -
hotfix: Add custom attributes to the workflow
Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f09267c - Browse repository at this point
Copy the full SHA f09267cView commit details -
hotfix for hotfix: Add custom attributes to the workflow
Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8def211 - Browse repository at this point
Copy the full SHA 8def211View commit details -
hotfix: raise_complete_async bad beartype annotation
Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5262a5b - Browse repository at this point
Copy the full SHA 5262a5bView commit details
Commits on Oct 17, 2024
-
feat(agents-api): Add
alpha
to hybrid search params in system tools…… execution (#682) <!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Add `alpha` parameter to hybrid search in `execute_system()` with default value 0.75 and adjust `confidence` default to 0.5. > > - **Behavior**: > - Add `alpha` parameter to `HybridDocSearchRequest` in `execute_system()` for hybrid search when both `text` and `vector` are present. > - Default `alpha` value set to 0.75. > - Change default `confidence` value from 0.7 to 0.5 in hybrid search context. > > <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 e67b64c. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Co-authored-by: HamadaSalhab <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eb13894 - Browse repository at this point
Copy the full SHA eb13894View commit details -
feat(agents-api): Tweak queries for search (#685)
- **feat(agents-api): Tweak the proximity indices** - **feat(agents-api): Tweak queries for search** <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Enhances search functionality by adding NLP-based query generation, adjusting search parameters, and updating database indices in the `agents-api`. > > - **NLP Module**: > - Added `nlp.py` for keyword extraction and query building using spaCy. > - Functions include `extract_keywords()`, `find_proximity_groups()`, and `text_to_custom_query()`. > - **Search Functionality**: > - Updated `search_docs_by_embedding()` in `search_docs_by_embedding.py` to adjust `confidence` to 0.5 and `ef` to 32. > - Modified `search_docs_by_text()` in `search_docs_by_text.py` to use `paragraph_to_custom_queries()` for query generation. > - **Database Indices**: > - Migration `migrate_1729114011_tweak_proximity_indices.py` updates LSH and FTS indices for better proximity handling. > - **Dependencies**: > - Added `spacy`, `en-core-web-sm`, and `msgpack` to `pyproject.toml`. > - Adjusted `numpy` version constraint in `pyproject.toml`. > > <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 3018c6e. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]> Co-authored-by: creatorrr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for aa44bfd - Browse repository at this point
Copy the full SHA aa44bfdView commit details -
fix(agents-api): Fix for temporal running out of history size (#687)
Closes #678 Closes #679 Signed-off-by: Diwank Singh Tomer <[email protected]> <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > This PR introduces remote data handling in the agents API to prevent Temporal from running out of history size by storing large inputs and outputs in a blob store. > > - **Activities**: > - Add `save_inputs_remote_fn` and `load_inputs_remote_fn` in `sync_items_remote.py` to handle large inputs by storing them in a blob store. > - Define `save_inputs_remote` and `load_inputs_remote` as activities. > - **Remote Handling**: > - Introduce `RemoteObject`, `BaseRemoteModel`, and `RemoteList` in `remote.py` to manage remote data storage and retrieval. > - Modify `StepContext` in `tasks.py` to use `RemoteObject` for `execution_input` and `inputs`. > - **Storage**: > - Implement `store_in_blob_store_if_large` and `load_from_blob_store_if_remote` in `storage_handler.py` to manage large data. > - Add `auto_blob_store_workflow` decorator for workflows to handle remote data. > - **Workflows**: > - Update `TaskExecutionWorkflow` in `task_execution/__init__.py` to use remote activities for input/output handling. > - Modify helper functions in `task_execution/helpers.py` to support remote data handling. > - **Configuration**: > - Change `blob_store_cutoff_kb` in `env.py` and `docker-compose.yml` to 64KB and 128KB respectively for better data management. > > <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 f7879d3. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c77a1a4 - Browse repository at this point
Copy the full SHA c77a1a4View commit details -
fix(agents-api): Install gcc/g++ and other dependencies (#692)
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Add system dependencies in `Dockerfile` and `Dockerfile.worker` to support building Python packages with native extensions. > > - **Dependencies**: > - Install `gcc`, `g++`, and development libraries in `Dockerfile` and `Dockerfile.worker` to support building Python packages with native extensions. > - Libraries include `libssl-dev`, `libffi-dev`, `libbz2-dev`, among others. > - **Dockerfiles**: > - Update `Dockerfile` and `Dockerfile.worker` to include new dependencies. > > <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 4007541. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Co-authored-by: vedantsahai18 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e2f1b49 - Browse repository at this point
Copy the full SHA e2f1b49View commit details
Commits on Oct 18, 2024
-
fix(agents-api): Fix search stuff (#695)
Signed-off-by: Diwank Singh Tomer <[email protected]> <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Add `clean` option to `extract_keywords` and filter empty queries in `nlp.py`; update imports and defaults in `utils.py`. > > - **Behavior**: > - Add `clean` parameter to `extract_keywords()` in `nlp.py` to optionally strip non-alphanumeric characters. > - Filter out empty queries in `paragraph_to_custom_queries()` in `nlp.py`. > - **Imports**: > - Add `debug` to imports in `utils.py`. > - **Function Defaults**: > - Change default `only_on_error` to `True` in `cozo_query()` in `utils.py`. > > <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 ca38891. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8720d46 - Browse repository at this point
Copy the full SHA 8720d46View commit details -
hotfix: Fix agent.about in jinja templates (#694)
While reviewing the codebase, I noticed this bug in Jinja template. <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Fixes Jinja template bug by replacing `agent.name` with `agent.about` in relevant files. > > - **Bug Fix**: > - Corrects Jinja template variable from `agent.name` to `agent.about` in `default_system_template.md`, `julep-concepts.md`, and `constants.tsp`. > - Ensures `agent.about` is correctly displayed in templates when available. > > <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 463a0e6. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
Configuration menu - View commit details
-
Copy full SHA for 81df5be - Browse repository at this point
Copy the full SHA 81df5beView commit details -
fix(agents-api): Fix remote blob store loading before transitions (#696)
Signed-off-by: Diwank Singh Tomer <[email protected]> <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Fixes remote blob store loading in `transition_step` and JSON serialization in `create_execution_transition`. > > - **Behavior**: > - `transition_step` in `transition_step.py` now loads output from blob store if remote using `load_from_blob_store_if_remote()`. > - `create_execution_transition` in `create_execution_transition.py` serializes `data.output` to JSON if it has `model_dump`. > - **Code Cleanup**: > - Removed redundant `model_dump` function in `task_execution/__init__.py`. > - **Misc**: > - Added `notebooks/Untitled*.ipynb` to `.gitignore`. > > <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 6ea7aa0. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]> Co-authored-by: creatorrr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ee24b86 - Browse repository at this point
Copy the full SHA ee24b86View commit details -
fix(agents-api): All tests pass (again) (#701)
- **fix(agents-api): Fix tests related to docs** - **fix(agents-api): Fix tests related to executions** - **fix(agents-api): All tests pass (again)** <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Fix tests in `agents-api` by updating error handling, environment variables, and test logic to ensure all tests pass. > > - **Error Handling**: > - Add `CompleteAsyncError` to exception handling in `interceptors.py` for `execute_activity` and `execute_workflow`. > - **Environment Variables**: > - Add `use_blob_store_for_temporal`, `blob_store_bucket`, `blob_store_cutoff_kb`, `s3_endpoint`, `s3_access_key`, and `s3_secret_key` to `env.py`. > - **Document Models**: > - Modify `get_doc.py` and `list_docs.py` to filter out `None` embeddings. > - Update `search_docs_by_text.py` to handle empty `fts_queries`. > - **Execution Models**: > - Fix `get_execution.py` and `list_executions.py` to check if `output` is a dictionary before accessing `OUTPUT_UNNEST_KEY`. > - **Storage Handler**: > - Add checks for `use_blob_store_for_temporal` in `storage_handler.py`. > - **Tests**: > - Remove `skip` decorator from `test_docs_queries.py` and `test_execution_workflow.py`. > - Add new test cases in `test_workflow_routes.py` for YAML task creation and execution. > > <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 7f53f2c. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]> Co-authored-by: creatorrr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3669ca5 - Browse repository at this point
Copy the full SHA 3669ca5View commit details
Commits on Oct 19, 2024
-
D/cookbookfix: cookbooks bugs fixed for 5,10,11. And files renamed ac…
…cording to naming convention (#707) <!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Fix bugs in cookbooks 5, 10, 11 and rename files for consistency. > > - **Behavior**: > - `05-Basic_Agent_Creation_and_Interaction.py`: Fix session creation by removing `context_overflow` parameter and correct chat history retrieval. > - `10-Document_Management_and_Search.py`: Remove `filters` from search input and fix document search output handling. > - `11-Advanced_Chat_Interactions.py`: Adjust chat logic for weather information and improve context management. > - **Renames**: > - Rename `14_automated_webinar_scheduling_workflow.py` to `14-Automated_Webinar_Scheduling_Workflow.py`. > - Rename `15_personal_finance_tracker.py` to `15-Personal_Finance_Tracker.py`. > - Rename `e_commerce_order_processing_workflow.py` to `16-E_commerce_Order_Processing_Workflow.py`. > > <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 7cdfd86. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Co-authored-by: Vedantsahai18 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e341fb1 - Browse repository at this point
Copy the full SHA e341fb1View commit details -
doc: Update README.md according to feedback (#709)
Signed-off-by: Diwank Singh Tomer <[email protected]> <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Update `README.md` and related files to improve Table of Contents visibility and content clarity. > > - **README.md**: > - Changed `<details>` to `<details open>` for Table of Contents visibility. > - Refined Julep's capabilities description for clarity. > - Added reference to "Understanding Tasks" in the introductory tip. > - Included a mermaid sequence diagram to illustrate workflow. > - **doctoc-on-push.yml**: > - Set `FOLDING` to `false` to keep Table of Contents expanded. > > <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 8bc4453. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]> Co-authored-by: creatorrr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 69532b5 - Browse repository at this point
Copy the full SHA 69532b5View commit details -
fix(agents-api,integrations): Misc fixes and tenacity retry in integr…
…ations" (#710) - **fix(integrations): General upkeep + tenacity retry** - **feat(agents-api): Misc fixes in agents-api** <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Add `tenacity` retry logic to integration functions, remove unused integrations, and improve agents-api and integrations services. > > - **Integrations**: > - Add `tenacity` retry logic to `search()` in `brave.py`, `load()` in `browserbase.py`, `send()` in `email.py`, `crawl()` in `spider.py`, `get()` in `weather.py`, and `search()` in `wikipedia.py`. > - Remove unused integrations: `dalle_image_generator.py`, `duckduckgo_search.py`, `gmail/send_mail.py`, `hacker_news.py`, and `request.py`. > - Remove `hacker_news` provider from `providers.py`. > - **Agents API**: > - Update `log_step()` in `log_step.py` to include `include_remote=True` in `context.model_dump()`. > - Add `NEWLINE` constant to `utils.py` and `template.py`. > - Add `ApplicationError` to non-retryable exceptions in `interceptors.py`. > - Increase sleep time in `test_doc()` in `fixtures.py` from 0.1 to 0.5 seconds. > - **Misc**: > - Remove unused imports in `base_models.py`, `email.py`, `wikipedia.py`, `get_integration.py`, and `execute_integration.py`. > - Add `tenacity` to `pyproject.toml` dependencies. > > <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 55fe24a. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 12f8698 - Browse repository at this point
Copy the full SHA 12f8698View commit details -
fix(.github): Make translate action run on all pushes
Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for df409ed - Browse repository at this point
Copy the full SHA df409edView commit details -
fix(.github): Restore translate action run only on README update
Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 52ba2f9 - Browse repository at this point
Copy the full SHA 52ba2f9View commit details -
This PR updates the translated versions of README.md Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for f2ffbf5 - Browse repository at this point
Copy the full SHA f2ffbf5View commit details -
<!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Updated documentation to reflect recent changes in Julep, including API references, guides, and tutorials for improved clarity and accuracy. > > - **README Updates**: > - Updated table of contents in `README-CN.md`, `README-FR.md`, `README-JA.md` to reflect new sections and structure. > - Corrected and streamlined content in `README.md` for clarity and consistency. > - **API Documentation**: > - Removed construction notices from `docs/api-reference/README.md`, `agents-api-1.md`, `agents-api-2.md`, `agents-api-3.md`, `agents-api-4.md`, `agents-api.md`. > - Updated API endpoint details in `agent_endpoints.md`, `doc_endpoints.md`, `session_endpoints.md`, `tool_endpoints.md`, `user_endpoints.md`. > - **Concepts and Explanations**: > - Enhanced descriptions and examples in `agents.md`, `documents.md`, `sessions/README.md`, `adaptive-context.md`, `users.md`. > - Clarified core concepts in `core_concepts.md`, `default_system_template.md`, `execution_state_machine.md`, `metadata_precedence.md`, `multi_agent_sessions.md`, `task_workflows.md`, `tool_integration.md`. > - **How-to Guides**: > - Improved task customization and execution handling in `customizing_tasks.md`, `handling_executions.md`. > - Updated user and session management guides in `managing_users.md`, `using_chat_features.md`. > - **Tutorials**: > - Refined steps and examples in `creating_your_first_agent.md`, `integrating_tools.md`, `managing_sessions.md`. > > <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 5dac7ad. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Co-authored-by: ayush2390 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7b441ab - Browse repository at this point
Copy the full SHA 7b441abView commit details -
feat(doc): Translate README.md (#718)
This PR updates the translated versions of README.md --------- Co-authored-by: ayush2390 <[email protected]> Co-authored-by: ayush2390 <[email protected]> Co-authored-by: ayush2390 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1ad0aa0 - Browse repository at this point
Copy the full SHA 1ad0aa0View commit details
Commits on Oct 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 10f63a2 - Browse repository at this point
Copy the full SHA 10f63a2View commit details -
This PR updates the translated versions of README.md Co-authored-by: creatorrr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0ed295f - Browse repository at this point
Copy the full SHA 0ed295fView commit details -
Configuration menu - View commit details
-
Copy full SHA for baa2fa2 - Browse repository at this point
Copy the full SHA baa2fa2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8166607 - Browse repository at this point
Copy the full SHA 8166607View commit details
Commits on Oct 21, 2024
-
feat(agents-api): Increase timeout to 60s for executing integration a…
…ctivity (#726) <!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Increase timeout to 60 seconds for `AsyncClient` in `run_integration_service` to allow longer execution times. > > - **Behavior**: > - Increase timeout to 60 seconds for `AsyncClient` in `run_integration_service` function in `integrations.py` to allow longer execution times for integration activities. > > <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 f62a392. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
Configuration menu - View commit details
-
Copy full SHA for dd7480e - Browse repository at this point
Copy the full SHA dd7480eView commit details -
docs(cookbooks): Refactor Cookbook #01 (#730)
- Changed the workflow to include a step to summarize the crawled results. - Added better comments, markdown cells & cells outputs.
Configuration menu - View commit details
-
Copy full SHA for d9799e6 - Browse repository at this point
Copy the full SHA d9799e6View commit details
Commits on Oct 22, 2024
-
feat(agents-api): Add
embed_instruction
argument to embeddings & do……cument creation endpoints (#715) <!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Adds `embed_instruction` argument to document creation and embedding endpoints, updating models and OpenAPI spec accordingly. > > - **Behavior**: > - Adds `embed_instruction` argument to `CreateDocRequest` and `EmbedQueryRequest` in `Docs.py`. > - Updates `create_doc()` in `create_doc.py` to handle `embed_instruction` by removing it from `doc_data`. > - Modifies `run_embed_docs_task()` in `create_doc.py` to pass `embed_instruction`. > - Updates `embed()` in `embed.py` to prepend `embed_instruction` to `text_to_embed`. > - **OpenAPI Specification**: > - Adds `embed_instruction` to `CreateDocRequest` and `EmbedQueryRequest` models in `models.tsp`. > - Updates `openapi-0.4.0.yaml` and `openapi-1.0.0.yaml` to include `embed_instruction` in required properties for `CreateDocRequest` and `EmbedQueryRequest`. > > <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 b68ab1d. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Co-authored-by: HamadaSalhab <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7f7fce9 - Browse repository at this point
Copy the full SHA 7f7fce9View commit details
Commits on Oct 24, 2024
-
feat(agents-api): Optimize Search Queries NLP processing pipeline (#735)
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Optimized NLP processing in `nlp.py` with caching, batch processing, and enhanced query building, and switched deployment to Gunicorn. > > - **Performance Optimization**: > - Introduced `KeywordMatcher` singleton with batch processing in `nlp.py` for efficient keyword matching. > - Added `lru_cache` to `clean_keyword()` and `_create_pattern()` for caching results. > - Optimized `extract_keywords()` to process spans in a single pass and count frequencies efficiently. > - **Functionality Changes**: > - Modified `paragraph_to_custom_queries()` to include `min_keywords` parameter for filtering low-value queries. > - Enhanced `find_proximity_groups()` with sorted positions and union-find for efficient grouping. > - Improved `build_query()` with cached patterns for query construction. > - **Deployment**: > - Changed `ENTRYPOINT` in `Dockerfile` to use Gunicorn with `gunicorn_conf.py`. > - Added `gunicorn_conf.py` for Gunicorn configuration. > - Updated `pyproject.toml` to include `gunicorn` and `uvloop` dependencies. > - **Miscellaneous**: > - Precompiled regex patterns for whitespace and non-alphanumeric characters in `nlp.py`. > - Disabled unused components in spaCy pipeline for performance. > > <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 0f4c4e0. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]> Co-authored-by: HamadaSalhab <[email protected]> Co-authored-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 65e912d - Browse repository at this point
Copy the full SHA 65e912dView commit details
Commits on Oct 26, 2024
-
feat(agents-api): Performance improvements (#749)
- **feat(agents-api,typespec): Limit max_k for search to 50; max items for embed to 100** - **refactor(typespec): Remove older 0.4.0 version of typespec** - **feat: Add metadata filter argument to doc search** - **feat(agents-api): Performance improvements - use KNN unless dataset too big** - **feat(agents-api): Performance improvements - merge metadata_filter** <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > This PR improves agents API performance by limiting search and embed parameters, adding metadata filtering, updating typespec versions, and optimizing search functions. > > - **Behavior**: > - Limit `max_k` for search to 50 and max items for embed to 100 in `Docs.py`. > - Add `metadata_filter` argument to document search functions in `search_docs_by_embedding.py`, `search_docs_by_text.py`, and `search_docs_hybrid.py`. > - Use KNN for search unless dataset exceeds `ann_threshold` in `search_docs_by_embedding.py`. > - **Refactor**: > - Remove older `0.4.0` version of typespec. > - Update `openapi.yaml` to `1.0.0` version. > - **Models**: > - Split `EmbedQueryRequest` into `SingleEmbedQueryRequest` and `MultipleEmbedQueryRequest` in `Docs.py` and `models.tsp`. > - **Misc**: > - Adjust `workers` and add `timeout` in `gunicorn_conf.py`. > - Update `docker-compose.yml` to sync `gunicorn_conf.py`. > > <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 c0bd25c. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]> Co-authored-by: Dmitry Paramonov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bb6b238 - Browse repository at this point
Copy the full SHA bb6b238View commit details -
feat(.github): Create generate-openapi-code-from-typespec (#746)
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Add GitHub Actions workflow to generate OpenAPI code from TypeSpec, with environment setup and caching. > > - **Workflow**: > - New GitHub Actions workflow `generate-openapi-code-from-typespec` added. > - Triggers on `pull_request` and `push` events. > - **Environment Setup**: > - Uses `actions/setup-python@v5` to set Python 3.12. > - Uses `actions/setup-node@v4` to set up Node.js with npm caching. > - Configures Poetry with `snok/install-poetry@v1` and sets virtualenvs in-project. > - **Caching**: > - Caches Poetry virtualenv in `agents-api/.venv` using `actions/cache@v4`. > - **Code Generation**: > - Runs `scripts/generate_openapi_code.sh` to generate OpenAPI code. > > <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 25acd5b. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 4f50d9e - Browse repository at this point
Copy the full SHA 4f50d9eView commit details -
hotfix(agents-api): 429 on resource busy
Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 67fe9d5 - Browse repository at this point
Copy the full SHA 67fe9d5View commit details -
hotfix(agents-api): Fix resource busy 429
Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 73e9977 - Browse repository at this point
Copy the full SHA 73e9977View commit details -
hotfix: Add claude-new and no-cache on debug
Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for daf8d92 - Browse repository at this point
Copy the full SHA daf8d92View commit details
Commits on Oct 28, 2024
-
feat(gateway | scheduler): Add service for publicly viewing temporal …
…ui (#755) <!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Adds `temporal-ui-public` service for public Temporal UI access with Traefik routing and environment configuration. > > - **New Service**: > - Adds `temporal-ui-public` service in `scheduler/docker-compose.yml` with environment variables and port configuration. > - Configures `TEMPORAL_UI_PUBLIC_URL` in `gateway/docker-compose.yml` and `entrypoint.sh`. > - **Traefik Configuration**: > - Adds `temporal-ui-public` and `temporal-ui-public-assets` routers in `traefik.yml.template`. > - Adds `temporal-ui-strip-prefix` middleware in `traefik.yml.template`. > - **Environment Variables**: > - Introduces `TEMPORAL_UI_PUBLIC_URL` in `gateway/docker-compose.yml` and `entrypoint.sh`. > > <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 62a78da. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
Configuration menu - View commit details
-
Copy full SHA for bcec6d2 - Browse repository at this point
Copy the full SHA bcec6d2View commit details -
chore(integrations-service): Add ASGI server config (#757)
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Configure ASGI server with Gunicorn and Uvicorn, remove unused integrations, and update dependencies. > > - **Server Configuration**: > - Switch from running `integrations.web` with Python to using Gunicorn in `Dockerfile`. > - Add `gunicorn_conf.py` for Gunicorn configuration with Uvicorn worker. > - Set `INTEGRATIONS_SERVICE_PORT` in `.env.example` and `docker-compose.yml`. > - **Dependencies**: > - Add `gunicorn` and `uvloop` to `pyproject.toml`. > - **Code Removal**: > - Remove `__tts_query.py` and `__twitter.py` from `integrations/utils/integrations/`. > - **Misc**: > - Use `uvloop` in `web.py` for event loop policy. > > <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 bdd888a. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
Configuration menu - View commit details
-
Copy full SHA for abb2087 - Browse repository at this point
Copy the full SHA abb2087View commit details -
feat(agents-api): Add some custom error messages to base_evaluate (#758)
I added some error messages in base_evaluate to help users identify some specific errors. <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Adds custom error messages to `base_evaluate` in `base_evaluate.py` for Jinja template misuse and variable name misspellings, using `thefuzz` for suggestions. > > - **Error Handling**: > - Introduces `EvaluateError` class in `base_evaluate.py` to provide custom error messages. > - Detects Jinja template misuse and suggests using Python expressions. > - Uses `thefuzz` to suggest correct variable names when `NameNotDefined` error occurs. > - **Dependencies**: > - Adds `thefuzz` to `pyproject.toml` for fuzzy string matching. > > <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 5a25b84. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Co-authored-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7892cd7 - Browse repository at this point
Copy the full SHA 7892cd7View commit details -
fix(agents-api): Add limit to kNN search. Update search_docs_by_embed…
…ding.py (#761) <!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Adds a limit to kNN search in `search_docs_by_embedding` to enhance diversity based on `mmr_strength`. > > - **Behavior**: > - Adds a limit to kNN search in `search_docs_by_embedding` to retrieve `k*(3 if mmr_strength else 1)` candidates for diversity. > - Adjusts the limit in both the `search_query` and `normal_interim_query` sections. > - **Misc**: > - Updates comments to reflect the new limit logic. > > <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 edc471d. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
Configuration menu - View commit details
-
Copy full SHA for 2b74ef9 - Browse repository at this point
Copy the full SHA 2b74ef9View commit details -
fix(integrations-docker): fixed port issue in docker build step (#765)
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Fixes port mapping issue in `docker-compose.yml` by setting default port to 8000 if not specified. > > - **Docker Configuration**: > - In `docker-compose.yml`, fixed port mapping issue by setting default port to 8000 if `INTEGRATIONS_SERVICE_PORT` is not specified. > - Moved `build` directive above `environment` for better organization. > > <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 8638efc. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
Configuration menu - View commit details
-
Copy full SHA for 5c380d4 - Browse repository at this point
Copy the full SHA 5c380d4View commit details
Commits on Oct 29, 2024
-
Update readme_translator.py (#768)
1. Add Logging: Instead of using print statements for errors, we can use the logging module for better error tracking. 2. Refactor Code: Break down the translate_segment function into smaller functions for clarity. 3. Add Type Hints: Improve type hints for better code understanding. 4. Handle Empty Translations: Add a check to handle cases where the translation might be empty. 5. Use Context Manager for File Operations: Ensure files are properly closed after operations. <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Enhance `readme_translator.py` with logging, refactoring, type hints, improved error handling, and better file management. > > - **Logging**: > - Replace print statements with logging in `translate_sub_segment()` and `main()` for error tracking and process updates. > - **Refactoring**: > - Break down `translate_segment()` into smaller functions: `is_html_tag()`, `is_special_character()`, and `translate_sub_segment()`. > - **Type Hints**: > - Add type hints to functions for better code understanding. > - **Error Handling**: > - Add check in `translate_sub_segment()` to handle empty translations. > - **File Management**: > - Use context manager in `save_translated_readme()` to ensure files are closed properly. > > <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 9d1e0cf. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
Configuration menu - View commit details
-
Copy full SHA for 2096347 - Browse repository at this point
Copy the full SHA 2096347View commit details -
fix(agents-api): Fix Error-Retrying Mechanism (#760)
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Fix error-retrying mechanism by updating retryable error logic and interceptors, and adding retry to utility function. > > - **Error Handling**: > - Change logic to retry on known errors in `tasks.py` by introducing `RETRYABLE_ERROR_TYPES` and `RETRYABLE_HTTP_STATUS_CODES`. > - Update `is_retryable_error()` to return `True` for retryable errors and specific HTTP status codes. > - **Interceptors**: > - Modify `CustomActivityInterceptor` and `CustomWorkflowInterceptor` in `interceptors.py` to use `is_retryable_error()`. > - **Utilities**: > - Add retry mechanism to `cozo_query_dec()` in `utils.py` using `tenacity` to handle `HTTPException` with status code 429. > > <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 2943e26. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Co-authored-by: HamadaSalhab <[email protected]> Co-authored-by: Diwank Singh Tomer <[email protected]> Co-authored-by: sweep-ai[bot] <128439645+sweep-ai[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for f9a7ed5 - Browse repository at this point
Copy the full SHA f9a7ed5View commit details -
refactor(typespec): Use typespec generated models (#766)
- **feat(typespec): Add granular integration definitions** - **feat(agents-api): Update integration defs** - **feat(integrations): Remove unused integrations** - **feat(typespec): Add provider cards** - **fix(typespec): Remove redundant wikipedia setup** - **refactor(integrations): Use typespec generated models** <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Refactor integration models to use typespec-generated models, add granular integration definitions, update agents API, and configure CI for linting and testing. > > - **Behavior**: > - Refactor `execute_integration()` in `execute_integration.py` to use `BaseIntegrationDef` instead of `IntegrationDef`. > - Remove unused integrations like `browserbase` and `hacker_news`. > - **Models**: > - Add `BaseIntegrationDef` and specific integration models like `BraveIntegrationDef`, `EmailIntegrationDef`, etc. > - Add provider cards for integrations like `BraveProviderCard`, `EmailProviderCard`, etc. > - **CI/CD**: > - Add `lint-integrations-service-pr.yml` and `test-integrations-service-pr.yml` for CI linting and testing. > - **Misc**: > - Update `pyproject.toml` to use `datamodel-code-generator` version `0.26.2`. > - Add `__main__.py` to `integrations-service` for entry point. > - Remove redundant setup in `wikipedia` integration. > > <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 191b319. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]> Co-authored-by: creatorrr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 226013a - Browse repository at this point
Copy the full SHA 226013aView commit details -
chore(agents-api): Bump cozo version (#769)
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Update CozoDB commit hash in `memory-store/Dockerfile` to a newer version. > > - **Dockerfile Update**: > - Update `COZO_COMMIT` in `memory-store/Dockerfile` from `57b7b440fd93440d985f2259eeaaf2ba5cc7569e` to `695d0282fa9836bd93b4ff4313ec1cfb514c4f3b`. > > <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 7a68397. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
Configuration menu - View commit details
-
Copy full SHA for 4d2390d - Browse repository at this point
Copy the full SHA 4d2390dView commit details -
hotfix(integrations): Fix stupid bugs from diwank
Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c821093 - Browse repository at this point
Copy the full SHA c821093View commit details -
Configuration menu - View commit details
-
Copy full SHA for de5821b - Browse repository at this point
Copy the full SHA de5821bView commit details -
feat(typespec): Add types for computer-use tools (#772)
Signed-off-by: Diwank Singh Tomer <[email protected]> <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > This pull request adds new tool types for computer-use tools, including computer actions, text editor commands, and bash commands, with updates across models and TypeSpec files. > > - **Behavior**: > - Added new tool types `ChosenComputer20241022`, `ChosenTextEditor20241022`, and `ChosenBash20241022` in `Chat.py` and `Entries.py`. > - Updated `tool_calls` in `MessageModel` to include new tool types. > - **Models**: > - Added models `Computer20241022Def`, `TextEditor20241022Def`, and `Bash20241022Def` in `Tools.py`. > - Added `BaseChosenToolCall` to handle new tool types. > - **TypeSpec**: > - Added `anthropic.tsp` for new tool definitions. > - Updated `models.tsp` to include new tool types in `ToolType` enum. > - **OpenAPI**: > - Updated OpenAPI schema to reflect new tool types in `openapi-1.0.0.yaml`. > > <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 0db5d91. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]> Co-authored-by: creatorrr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ba1241b - Browse repository at this point
Copy the full SHA ba1241bView commit details -
feat(typespec): Add types for browserbase tools (#774)
Signed-off-by: Diwank Singh Tomer <[email protected]> <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Adds types and integration definitions for browserbase tools, focusing on session management and context creation. > > - **Behavior**: > - Adds types for browserbase tools in `Tools.py` and `main.tsp`. > - Introduces session management and context creation methods. > - **Models**: > - Adds `BrowserbaseCreateSessionArguments`, `BrowserbaseGetSessionArguments`, and other session-related models in `Tools.py`. > - Adds `BaseBrowserbaseIntegrationDef` and `BrowserbaseContextIntegrationDef` models. > - **Integration**: > - Updates `CreateToolRequest`, `PatchToolRequest`, `Tool`, and `UpdateToolRequest` to include browserbase integration definitions. > - Adds `BrowserbaseProviderCard` in `main.tsp` to define provider methods. > - **Misc**: > - Adds `contexts.tsp`, `extensions.tsp`, and `sessions.tsp` for browserbase tool specifications. > - Updates OpenAPI spec in `openapi-1.0.0.yaml` to include new browserbase components. > > <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 c84c935. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 101be27 - Browse repository at this point
Copy the full SHA 101be27View commit details
Commits on Oct 30, 2024
-
feat(integrations-service): Add Browserbase provider (#776)
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Adds `Browserbase` provider and `RemoteBrowser` integration with session management and remote actions to the integrations service. > > - **Behavior**: > - Adds `Browserbase` provider in `providers.py` with session management methods: `list`, `create`, `get`, `complete`, and `get_live_urls`. > - Introduces `RemoteBrowser` integration in `providers.py` with actions like `key`, `type`, `mouse_move`, etc. > - **Models**: > - Adds models to `browserbase.py` for session outputs and `remote_browser.py` for action results. > - Updates `__init__.py` to include new Browserbase models. > - **Dependencies**: > - Adds `selenium`, `playwright`, `httpx`, and `pillow` to `pyproject.toml`. > - **TypeSpec**: > - Defines `Browserbase` and `RemoteBrowser` integration methods in `contexts.tsp`, `extensions.tsp`, `main.tsp`, `sessions.tsp`, and `remote_browser.tsp`. > > <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 e0d9137. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> Co-authored-by: HamadaSalhab <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 37e3748 - Browse repository at this point
Copy the full SHA 37e3748View commit details -
fix(agents-api): Executing agent-level integration tools in `tool_cal…
…l` step (#778) <!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Adjusts `ToolCallStep` in `TaskExecutionWorkflow` to handle different integration spec formats with conditional logic for `TaskToolDef`. > > - **Behavior**: > - Adjusts `ToolCallStep` handling in `TaskExecutionWorkflow` to support different integration spec formats. > - Introduces conditional logic to differentiate `TaskToolDef` from other specs, adjusting `provider`, `setup`, and `method` extraction. > - **Misc**: > - Adds `TaskToolDef` import in `__init__.py`. > > <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 ed1f234. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
Configuration menu - View commit details
-
Copy full SHA for 730c142 - Browse repository at this point
Copy the full SHA 730c142View commit details -
feat(agents-api): claude computer tool call hotfix in the prompt step (…
…#775) <!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Add hotfix for Anthropic API handling in `prompt_step` and introduce TikTok hook generator script. > > - **Behavior**: > - Modify `prompt_step` in `prompt_step.py` to handle Anthropic models using the Anthropic API directly. > - Add `format_anthropic_tools()` to format Anthropic tools for the API call. > - Use `COMPUTER_USE_BETA_FLAG` for Anthropic model beta features. > - **Dependencies**: > - Add `anthropic` package to `pyproject.toml`. > - **Environment**: > - Add `anthropic_api_key` to `env.py` and `docker-compose.yml`. > - **Misc**: > - Import `Anthropic` client in `prompt_step.py`. > - Add `17-Hook-Generator-Trending-Reels.py` for generating TikTok hooks using Julep client. > > <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 4dd3f64. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com> Co-authored-by: Vedantsahai18 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7f3bee0 - Browse repository at this point
Copy the full SHA 7f3bee0View commit details -
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Implements Maximal Marginal Relevance (MMR) in document search with a new `mmr_strength` parameter, updating search logic and API. > > - **Behavior**: > - Introduces `mmr_strength` parameter in `BaseDocSearchRequest` in `Docs.py` to control MMR behavior. > - Implements MMR logic in `maximal_marginal_relevance()` in `mmr.py`. > - Integrates MMR in `search_user_docs()` and `search_agent_docs()` in `search_docs.py`. > - **Search Logic**: > - Modifies `search_docs_by_embedding()` and `search_docs_hybrid()` to adjust `k` based on `mmr_strength`. > - Adds `embedding` field to `Snippet` model in `Docs.py` and `models.tsp`. > - **Dependencies**: > - Adds `simsimd` to `pyproject.toml` for optimized cosine similarity calculations. > - **Misc**: > - Updates OpenAPI spec in `openapi-1.0.0.yaml` to include `mmr_strength` and `embedding` fields. > > <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 583f70a. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]> Co-authored-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 74982fa - Browse repository at this point
Copy the full SHA 74982faView commit details
Commits on Oct 31, 2024
-
Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 29c2674 - Browse repository at this point
Copy the full SHA 29c2674View commit details -
feat(agents-api): Add support for claude computer-use (#787)
```python from anthropic import Anthropic from anthropic.types.beta.beta_message import BetaMessage from litellm import ChatCompletionMessageToolCall, Function, Message from litellm.types.utils import Choices, ModelResponse # ... # ... # Check if the model is Anthropic and bash/editor/computer use tool is included if "claude" in agent_model.lower() and any( tool.type in ["bash_20241022", "text_editor_20241022", "computer_20241022"] for tool in agent_tools ): # Retrieve the API key from the environment variable betas = [COMPUTER_USE_BETA_FLAG] # Use Anthropic API directly client = Anthropic(api_key=anthropic_api_key) # Claude Response claude_response: BetaMessage = await client.beta.messages.create( model=agent_model, messages=prompt, tools=formatted_agent_tools, max_tokens=1024, betas=betas, ) # Claude returns [ToolUse | TextBlock] # We need to convert tool_use to tool_calls # And set content = TextBlock.text # But we need to ensure no more than one text block is returned if ( len([block for block in claude_response.content if block.type == "text"]) > 1 ): raise ApplicationError("Claude should only return one message") text_block = next( (block for block in claude_response.content if block.type == "text"), None, ) stop_reason = claude_response.stop_reason if stop_reason == "tool_use": choice = Choices( message=Message( role="assistant", content=text_block.text if text_block else None, tool_calls=[ ChatCompletionMessageToolCall( type="function", function=Function( name=block.name, arguments=block.input, ), ) for block in claude_response.content if block.type == "tool_use" ], ), finish_reason="tool_calls", ) else: assert text_block, "Claude should always return a text block for stop_reason=stop" choice = Choices( message=Message( role="assistant", content=text_block.text, ), finish_reason="stop", ) ``` <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Adds support for Anthropic Claude model with new tool types, updates models, and fixes a bug in `execute_system.py`. > > - **Behavior**: > - Adds support for Anthropic Claude model with `computer_20241022`, `text_editor_20241022`, and `bash_20241022` tools in `prompt_step.py`. > - Handles tool use in Claude responses, raising an error if multiple messages are returned. > - **Models**: > - Adds `type` field to `Tool`, `CreateToolRequest`, `PatchToolRequest`, and `UpdateToolRequest` models. > - Updates `ToolType` enum to include new tool types. > - **Misc**: > - Fixes a bug in `execute_system.py` related to `delete` operation handling. > - Imports `AsyncAnthropic` in `prompt_step.py` for asynchronous API calls. > > <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 5867ecb. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Co-authored-by: vedantsahai18 <[email protected]> Co-authored-by: Vedantsahai18 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b63327b - Browse repository at this point
Copy the full SHA b63327bView commit details -
feat: Misc improvements to types and stdlib in jinja (#788)
Closes #723 Signed-off-by: Diwank Singh Tomer <[email protected]> <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > This PR updates type definitions, modifies default values, and enhances Jinja environment setup for improved functionality and maintainability. > > - **Behavior**: > - Changed default value of `inherit_tools` to `false` in `CreateTaskRequest`, `PatchTaskRequest`, and `UpdateTaskRequest` in `Tasks.py` and `Tools.py`. > - Added `label` field to various workflow step models in `Tasks.py` for step referencing. > - Updated `id` type from `UUID` to `string` in `ToolRefById` and `ToolResponse` in `Tools.py`. > - **Jinja Environment**: > - Consolidated Jinja environment globals setup in `template.py` using `constants`, `stdlib`, and `ALLOWED_FUNCTIONS`. > - **Misc**: > - Added `schema_` field to `ApiCallDef` in `Tools.py` for response schema definition. > - Updated `litellm` version in `pyproject.toml` to `^1.51.2`. > - Marked a test as skipped in `test_docs_routes.py` due to random CI failures. > > <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 1b0f870. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2b635cf - Browse repository at this point
Copy the full SHA 2b635cfView commit details -
fix(agents-api): Fix tool conversion issues (#789)
Signed-off-by: Diwank Singh Tomer <[email protected]> <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Refactor `agents-api` to improve tool conversion and system call handling by centralizing handler logic and streamlining argument processing. > > - **Behavior**: > - Refactor `execute_system` in `execute_system.py` to use `get_handler` for handler retrieval and streamline argument transformation. > - Update `prompt_step` in `prompt_step.py` to format tools using `format_tool` and handle tool types more effectively. > - Modify `tool_call_step` in `tool_call_step.py` to construct tool calls using `construct_tool_call` and handle different tool types. > - **Utilities**: > - Add `get_handler` function in `utils.py` to centralize handler retrieval logic based on `SystemDef`. > - Introduce `_create_search_request` in `execute_system.py` to handle search request creation. > - **Models**: > - Update `ExecutionInput` and `StepContext` in `tasks.py` to support `CreateToolRequest` alongside `Tool`. > - **Workflows**: > - Adjust `TaskExecutionWorkflow` in `task_execution/__init__.py` to handle tool calls and system calls using the refactored logic. > - **Misc**: > - Add `langchain-core` dependency in `pyproject.toml`. > > <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 0af2684. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]> Co-authored-by: vedantsahai18 <[email protected]> Co-authored-by: Vedantsahai18 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c952ff9 - Browse repository at this point
Copy the full SHA c952ff9View commit details -
feat(agents-api): Add
session.chat
system tool (#785)<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Add `session.chat` system tool for chat operations, refactor `base_evaluate` for nested expressions, and update models for complex expression handling. > > - **Behavior**: > - Add `session.chat` operation handling in `execute_system.py` for chat operations within sessions. > - Update `get_handler` in `utils.py` to support `session.chat` operation. > - **Evaluation**: > - Refactor `base_evaluate` in `base_evaluate.py` to use `_recursive_evaluate()` for handling nested expressions. > - **Models**: > - Update `EvaluateStep`, `ReturnStep`, `ToolCallStep`, `WaitForInputInfo`, and `YieldStep` in `Tasks.py` to support nested expressions. > - Modify `ExpressionObject` and `NestedExpressionObject` in `steps.tsp` to handle complex expression structures. > - **Environment**: > - Adjust `use_blob_store_for_temporal` in `env.py` to disable during testing. > > <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 8047d4a. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Co-authored-by: HamadaSalhab <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 01db610 - Browse repository at this point
Copy the full SHA 01db610View commit details -
feat: Add connect_url argument to the remote browser args model (#792)
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Add `connect_url` to `RemoteBrowserArguments` for remote browser connection setup, updating TypeSpec and OpenAPI specs. > > - **Behavior**: > - Add `connect_url` field to `RemoteBrowserArguments` in `remote_browser.tsp` for specifying the connection URL. > - Update OpenAPI spec in `openapi-1.0.0.yaml` to include `connect_url` as a required field in `Tools.RemoteBrowserArguments` and optional in `Tools.RemoteBrowserArgumentsUpdate`. > - Modify `perform_action` in `remote_browser.py` to use `connect_url` from `RemoteBrowserSetup` or `RemoteBrowserArguments` for connection. > - **Models**: > - Add `connect_url` to `RemoteBrowserArguments` and `RemoteBrowserArgumentsUpdate` in `Tools.py`. > - Update `RemoteBrowserSetup` and `RemoteBrowserSetupUpdate` to use `Annotated[str | None, Field(...)]` for `connect_url`. > - **Misc**: > - Ensure `connect_url` is nullable in OpenAPI spec for `RemoteBrowserSetup` and `RemoteBrowserSetupUpdate`. > > <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 2c5902e. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Co-authored-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 864a30a - Browse repository at this point
Copy the full SHA 864a30aView commit details -
Added parsing for Brave Search Output (#779)
Made changes so that a fully typed JSON object is returned by Brave Search . This fixes issue #771 <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Parse Brave Search JSON output into `SearchResult` objects and update `BraveSearchOutput` to return a list of these objects. > > - **Behavior**: > - `search()` in `brave.py` now parses JSON results into `SearchResult` objects. > - `BraveSearchOutput` now returns a list of `SearchResult` instead of a single string. > - **Models**: > - Adds `SearchResult` model in `brave.py` with `title`, `link`, and `snippet` fields. > - Updates `BraveSearchOutput` in `brave.py` to use `List[SearchResult]` for `result`. > > <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 61e813a. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Co-authored-by: Diwank Singh Tomer <[email protected]> Co-authored-by: vedantsahai18 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b324093 - Browse repository at this point
Copy the full SHA b324093View commit details -
feat(agents-api): Add python expression support to prompt step (#795)
- **wip(agents-api): Auto-run tools in prompt steps** - **refactor: Lint integrations-service (CI)** - **feat(agents-api): Add python expression support to prompt step** - **feat(agents-api): Default prompt_step.tools = 'all'** <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Add Python expression support to prompt steps in agents API, with default tool settings and refactoring. > > - **Behavior**: > - Add Python expression evaluation for prompts starting with `$_` in `prompt_step()` in `prompt_step.py`. > - Default `tools` in `PromptStep` to `'all'` in `Tasks.py`. > - Default `auto_run_tools` to `True` for `PromptStep` and `False` for sessions in `Sessions.py` and `Tasks.py`. > - **Refactoring**: > - Remove unused import `Developer` from `execute_system.py`. > - Remove unused import `RootModel` from `Tools.py`. > - Linting changes in `integrations-service`. > - **Testing**: > - Add test for prompt step with Python expression in `test_execution_workflow.py`. > > <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 4254083. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]> Co-authored-by: creatorrr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7264881 - Browse repository at this point
Copy the full SHA 7264881View commit details -
fix(agents-api & integrations-service): Fix Browserbase/RemoteBrowser…
… integrations (#784) <!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Fixes Browserbase and RemoteBrowser integrations by adding new fields, making arguments optional, and changing URL types. > > - **Behavior**: > - Add `project_id`, `api_url`, and `connect_url` fields to `BrowserbaseSetup` and `BrowserbaseSetupUpdate` in `Tools.py`. > - Make `arguments` optional in several `IntegrationDef` classes in `Tools.py`. > - Change `connect_url` type from `AnyUrl` to `str` in `RemoteBrowserSetup` and `RemoteBrowserSetupUpdate` in `Tools.py`. > - **Models**: > - Update `SessionInfo`, `BrowserbaseCreateSessionOutput`, and `BrowserbaseGetSessionOutput` in `browserbase.py` to allow `None` for several fields. > - Add `BrowserbaseContextOutput` to `browserbase.py`. > - Update `ExecutionArguments` and `ExecutionResponse` in `execution.py` to include new Browserbase and RemoteBrowser models. > - **Misc**: > - Remove unused imports in `get_integrations.py` and `execute_integration.py`. > - Add `project_id`, `api_url`, and `connect_url` to `get_browserbase_client()` in `browserbase.py`. > > <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 40734ad. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]> Co-authored-by: HamadaSalhab <[email protected]> Co-authored-by: Diwank Singh Tomer <[email protected]> Co-authored-by: creatorrr <[email protected]> Co-authored-by: aarya-16 <[email protected]> Co-authored-by: vedantsahai18 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1f8fe30 - Browse repository at this point
Copy the full SHA 1f8fe30View commit details
Commits on Nov 1, 2024
-
fix: Use search_params.limit value instead of constant (#797)
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Replaced constant `k` with `search_params.limit` for dynamic document processing in search functions and updated models. > > - **Behavior**: > - Replace constant `k` with `search_params.limit` in `search_user_docs()` and `search_agent_docs()` for `maximal_marginal_relevance()` call. > - Allows dynamic control over document processing based on `search_params.limit`. > - **Functions**: > - Affects `search_user_docs()` and `search_agent_docs()` in `search_docs.py`. > - **Models**: > - Change `snippets` to `snippet` in `DocReference` in `Docs.py` and `models.tsp`. > - **Misc**: > - Add `RootModel` import in `Tools.py`. > > <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 4c47490. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
Configuration menu - View commit details
-
Copy full SHA for 94ca66f - Browse repository at this point
Copy the full SHA 94ca66fView commit details -
fix: many miscellaneous fixes to integrations and agents API (#796)
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Refines Remote Browser functionality by removing `wait_for_load`, updating models, and enhancing `PlaywrightActions` with error handling and screenshot capabilities. > > - **Behavior**: > - Removed `wait_for_load` action from `RemoteBrowserArguments` and `RemoteBrowserArgumentsUpdate`. > - Updated `task_to_spec()` in `tasks.py` to exclude `task_id`, `id`, and `agent_id`. > - Modified `create_task()` and `create_or_update_task()` to return query results directly. > - **Models**: > - Updated `RemoteBrowserSetup` to remove `RemoteBrowserSetupUpdate` and its fields. > - Refined `RemoteBrowserOutput` to include `output`, `error`, `base64_image`, and `system` fields. > - **Functions**: > - Enhanced `PlaywrightActions` with `_with_error_and_screenshot` decorator for error handling and screenshots. > - Added methods `_get_screen_size()`, `_set_screen_size()`, `_wait_for_load()`, `_execute_javascript()`, `_set_window_vars()`, `_get_mouse_coordinates()`, and `_get_element_coordinates()`. > - **Misc**: > - Removed `spec_to_task` import from `get_task.py` and `list_tasks.py`. > > <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 c8ef196. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]> Co-authored-by: creatorrr <[email protected]> Co-authored-by: HamadaSalhab <[email protected]> Co-authored-by: HamadaSalhab <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8ba2b5f - Browse repository at this point
Copy the full SHA 8ba2b5fView commit details
Commits on Nov 2, 2024
-
chore(sdks): Point to the latest sdk submodules
Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1f59558 - Browse repository at this point
Copy the full SHA 1f59558View commit details -
Configuration menu - View commit details
-
Copy full SHA for cbdd3e8 - Browse repository at this point
Copy the full SHA cbdd3e8View commit details -
feat(agents-api): Improve error reporting for ValidationError on unio…
…n types (#801) Previously, the error messages on validation errors were horrendous. The following input would have yielded a huge, unreadable mess as an error message. This happened because we make heavy use of union types and pydantic tries to unify each type and collects the error for each one of them. Fixed by returning only the deepest matching exceptions. ### Input ```yaml name: Browserbase Task tools: - name: computer type: computer_20241022 computer_20241022: display_height_px: 768 display_width_px: 1024 display_number: 1 - name: spider_crawler type: integration integration: provider: spider setup: spider_api_key: "sk-8d6285a0-7b9f-493d-bcf4-3e15e68b1304" main: - tool: spider_crawler arguments: url: "'https://julep.ai'" - prompt: - role: useaar # <---- the problem content: hi ``` ### New error format ```python {'errors': ["Input should be 'user', 'assistant', 'system', 'function', 'function_response', 'function_call' or 'auto'"], 'offending_input': {'prompt': [{'role': 'useaar', 'content': 'hi'}]}, 'location': ['main', 1, 'PromptStep', 'prompt', 'list[PromptItem]', 0, 'role']} ``` ```json { "errors": [ "Input should be 'user', 'assistant', 'system', 'function', 'function_response', 'function_call' or 'auto'" ], "offending_input": { "prompt": [ { "role": "useaar", "content": "hi" } ] }, "location": [ "main", 1, "PromptStep", "prompt", "list[PromptItem]", 0, "role" ] } ``` ### Previous error format ```python [{'type': 'missing', 'loc': ('body', 'main', 1, 'EvaluateStep', 'evaluate'), 'msg': 'Field required', 'input': {'prompt': [{'role': 'useaar', 'content': 'hi'}]}}, {'type': 'missing', 'loc': ('body', 'main', 1, 'ToolCallStep', 'tool'), 'msg': 'Field required', 'input': {'prompt': [{'role': 'useaar', 'content': 'hi'}]}}, {'type': 'literal_error', 'loc': ('body', 'main', 1, 'PromptStep', 'prompt', 'list[PromptItem]', 0, 'role'), 'msg': "Input should be 'user', 'assistant', 'system', 'function', 'function_response', 'function_call' or 'auto'", 'input': 'useaar', 'ctx': {'expected': "'user', 'assistant', 'system', 'function', 'function_response', 'function_call' or 'auto'"}}, {'type': 'string_type', 'loc': ('body', 'main', 1, 'PromptStep', 'prompt', 'str'), 'msg': 'Input should be a valid string', 'input': [{'role': 'useaar', 'content': 'hi'}]}, {'type': 'missing', 'loc': ('body', 'main', 1, 'GetStep', 'get'), 'msg': 'Field required', 'input': {'prompt': [{'role': 'useaar', 'content': 'hi'}]}}, {'type': 'missing', 'loc': ('body', 'main', 1, 'SetStep', 'set'), 'msg': 'Field required', 'input': {'prompt': [{'role': 'useaar', 'content': 'hi'}]}}, {'type': 'missing', 'loc': ('body', 'main', 1, 'LogStep', 'log'), 'msg': 'Field required', 'input': {'prompt': [{'role': 'useaar', 'content': 'hi'}]}}, {'type': 'missing', 'loc': ('body', 'main', 1, 'YieldStep', 'workflow'), 'msg': 'Field required', 'input': {'prompt': [{'role': 'useaar', 'content': 'hi'}]}}, {'type': 'missing', 'loc': ('body', 'main', 1, 'ReturnStep', 'return'), 'msg': 'Field required', 'input': {'prompt': [{'role': 'useaar', 'content': 'hi'}]}}, {'type': 'missing', 'loc': ('body', 'main', 1, 'SleepStep', 'sleep'), 'msg': 'Field required', 'input': {'prompt': [{'role': 'useaar', 'content': 'hi'}]}}, {'type': 'missing', 'loc': ('body', 'main', 1, 'ErrorWorkflowStep', 'error'), 'msg': 'Field required', 'input': {'prompt': [{'role': 'useaar', 'content': 'hi'}]}}, {'type': 'missing', 'loc': ('body', 'main', 1, 'WaitForInputStep', 'wait_for_input'), 'msg': 'Field required', 'input': {'prompt': [{'role': 'useaar', 'content': 'hi'}]}}, {'type': 'missing', 'loc': ('body', 'main', 1, 'IfElseWorkflowStep', 'if'), 'msg': 'Field required', 'input': {'prompt': [{'role': 'useaar', 'content': 'hi'}]}}, {'type': 'missing', 'loc': ('body', 'main', 1, 'IfElseWorkflowStep', 'then'), 'msg': 'Field required', 'input': {'prompt': [{'role': 'useaar', 'content': 'hi'}]}}, {'type': 'missing', 'loc': ('body', 'main', 1, 'SwitchStep', 'switch'), 'msg': 'Field required', 'input': {'prompt': [{'role': 'useaar', 'content': 'hi'}]}}, {'type': 'missing', 'loc': ('body', 'main', 1, 'ForeachStep', 'foreach'), 'msg': 'Field required', 'input': {'prompt': [{'role': 'useaar', 'content': 'hi'}]}}, {'type': 'missing', 'loc': ('body', 'main', 1, 'ParallelStep', 'parallel'), 'msg': 'Field required', 'input': {'prompt': [{'role': 'useaar', 'content': 'hi'}]}}, {'type': 'missing', 'loc': ('body', 'main', 1, 'Main', 'over'), 'msg': 'Field required', 'input': {'prompt': [{'role': 'useaar', 'content': 'hi'}]}}, {'type': 'missing', 'loc': ('body', 'main', 1, 'Main', 'map'), 'msg': 'Field required', 'input': {'prompt': [{'role': 'useaar', 'content': 'hi'}]}}] ``` ```json [ { "type": "missing", "loc": [ "body", "main", 1, "EvaluateStep", "evaluate" ], "msg": "Field required", "input": { "prompt": [ { "role": "useaar", "content": "hi" } ] } }, { "type": "missing", "loc": [ "body", "main", 1, "ToolCallStep", "tool" ], "msg": "Field required", "input": { "prompt": [ { "role": "useaar", "content": "hi" } ] } }, { "type": "literal_error", "loc": [ "body", "main", 1, "PromptStep", "prompt", "list[PromptItem]", 0, "role" ], "msg": "Input should be 'user', 'assistant', 'system', 'function', 'function_response', 'function_call' or 'auto'", "input": "useaar", "ctx": { "expected": "'user', 'assistant', 'system', 'function', 'function_response', 'function_call' or 'auto'" } }, { "type": "string_type", "loc": [ "body", "main", 1, "PromptStep", "prompt", "str" ], "msg": "Input should be a valid string", "input": [ { "role": "useaar", "content": "hi" } ] }, { "type": "missing", "loc": [ "body", "main", 1, "GetStep", "get" ], "msg": "Field required", "input": { "prompt": [ { "role": "useaar", "content": "hi" } ] } }, { "type": "missing", "loc": [ "body", "main", 1, "SetStep", "set" ], "msg": "Field required", "input": { "prompt": [ { "role": "useaar", "content": "hi" } ] } }, { "type": "missing", "loc": [ "body", "main", 1, "LogStep", "log" ], "msg": "Field required", "input": { "prompt": [ { "role": "useaar", "content": "hi" } ] } }, { "type": "missing", "loc": [ "body", "main", 1, "YieldStep", "workflow" ], "msg": "Field required", "input": { "prompt": [ { "role": "useaar", "content": "hi" } ] } }, { "type": "missing", "loc": [ "body", "main", 1, "ReturnStep", "return" ], "msg": "Field required", "input": { "prompt": [ { "role": "useaar", "content": "hi" } ] } }, { "type": "missing", "loc": [ "body", "main", 1, "SleepStep", "sleep" ], "msg": "Field required", "input": { "prompt": [ { "role": "useaar", "content": "hi" } ] } }, { "type": "missing", "loc": [ "body", "main", 1, "ErrorWorkflowStep", "error" ], "msg": "Field required", "input": { "prompt": [ { "role": "useaar", "content": "hi" } ] } }, { "type": "missing", "loc": [ "body", "main", 1, "WaitForInputStep", "wait_for_input" ], "msg": "Field required", "input": { "prompt": [ { "role": "useaar", "content": "hi" } ] } }, { "type": "missing", "loc": [ "body", "main", 1, "IfElseWorkflowStep", "if" ], "msg": "Field required", "input": { "prompt": [ { "role": "useaar", "content": "hi" } ] } }, { "type": "missing", "loc": [ "body", "main", 1, "IfElseWorkflowStep", "then" ], "msg": "Field required", "input": { "prompt": [ { "role": "useaar", "content": "hi" } ] } }, { "type": "missing", "loc": [ "body", "main", 1, "SwitchStep", "switch" ], "msg": "Field required", "input": { "prompt": [ { "role": "useaar", "content": "hi" } ] } }, { "type": "missing", "loc": [ "body", "main", 1, "ForeachStep", "foreach" ], "msg": "Field required", "input": { "prompt": [ { "role": "useaar", "content": "hi" } ] } }, { "type": "missing", "loc": [ "body", "main", 1, "ParallelStep", "parallel" ], "msg": "Field required", "input": { "prompt": [ { "role": "useaar", "content": "hi" } ] } }, { "type": "missing", "loc": [ "body", "main", 1, "Main", "over" ], "msg": "Field required", "input": { "prompt": [ { "role": "useaar", "content": "hi" } ] } }, { "type": "missing", "loc": [ "body", "main", 1, "Main", "map" ], "msg": "Field required", "input": { "prompt": [ { "role": "useaar", "content": "hi" } ] } } ] ``` <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Enhance error reporting for `ValidationError` and `RequestValidationError` in `make_exception_handler` by providing detailed error information. > > - **Error Handling**: > - Enhance `make_exception_handler` in `web.py` to improve error reporting for `ValidationError` and `RequestValidationError`. > - Extracts deepest matching errors, common location, and offending input for better clarity. > - Returns only the error messages in the response. > > <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 5292f57. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]> Co-authored-by: creatorrr <[email protected]> Co-authored-by: vedantsahai18 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0aa4aeb - Browse repository at this point
Copy the full SHA 0aa4aebView commit details
Commits on Nov 3, 2024
-
hotfix: Fix dependabot reported safety issues and random bugs
Signed-off-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 286795c - Browse repository at this point
Copy the full SHA 286795cView commit details
Commits on Nov 4, 2024
-
fix(agents-api): Fix handling error message type (#804)
Fix error type handling in web.py <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Fixes error message extraction and type handling in `_handler()` in `web.py` to improve error handling robustness. > > - **Behavior**: > - Fixes error message extraction in `_handler()` in `web.py` to handle cases where `msg` attribute is missing in error objects. > - **Type Handling**: > - Uses `cast` to ensure `exc` is of type `Union[ValidationError, RequestValidationError]` in `_handler()` in `web.py`. > > <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 6ed8d64. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Co-authored-by: Ahmad-mtos <[email protected]> Co-authored-by: Diwank Singh Tomer <[email protected]> Co-authored-by: creatorrr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 23a27f6 - Browse repository at this point
Copy the full SHA 23a27f6View commit details -
fix(agents-api): Prompt step settings & tool formatting (#805)
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Enhance agents API by refining prompt step settings, tool formatting, and adding comprehensive docstrings across models and routers. > > - **Behavior**: > - In `execute_system.py`, modify argument transformation for doc-related operations to exclude 'create' and 'search'. > - In `prompt_step.py`, update prompt step settings to exclude specific keys and format tools using `get_handler_with_filtered_params()`. > - **Functions**: > - Add `get_handler_with_filtered_params()` in `utils.py` to filter out problematic parameters for JSON schema serialization. > - **Models**: > - Add docstrings to `create_doc.py`, `list_docs.py`, `update_session.py`, `create_task.py`, `delete_task.py`, `get_task.py`, `list_tasks.py`, `update_task.py`, `get_user.py`, and `list_users.py`. > - Rename `id` to `doc_id` in `create_doc.py`. > - **Routers**: > - Add docstrings to `create_doc.py`, `search_docs.py`, and `chat.py`. > - **Misc**: > - Rename `get_handler()` to `get_handler_with_filtered_params()` in `prompt_step.py`. > > <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 60623ea. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Co-authored-by: HamadaSalhab <[email protected]> Co-authored-by: Diwank Singh Tomer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5eec4fb - Browse repository at this point
Copy the full SHA 5eec4fbView commit details -
fix(agents-api): prompt step tool calls (#806)
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > In `prompt_step`, set `formatted_tools` to `None` for non-Anthropic models as tool calls are not implemented. > > - **Behavior**: > - In `prompt_step`, set `formatted_tools` to `None` for non-Anthropic models as tool calls are not implemented. > - **Comments**: > - Added FIXME comment indicating the hardcoded `None` value for `formatted_tools` due to unimplemented tool calls. > > <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 366b845. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
Configuration menu - View commit details
-
Copy full SHA for 5137448 - Browse repository at this point
Copy the full SHA 5137448View commit details
Commits on Nov 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ce0d549 - Browse repository at this point
Copy the full SHA ce0d549View commit details -
fix(agents-api): Add
mmr_strength
in search tools & increase timeou……t for `transition_step` (#808) <!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Add `mmr_strength` to search requests and increase `transition_step` timeout based on environment in `agents-api`. > > - **Behavior**: > - Add `mmr_strength` parameter to `_create_search_request()` in `execute_system.py` for `HybridDocSearchRequest`, `TextOnlyDocSearchRequest`, and `VectorDocSearchRequest`. > - Increase `schedule_to_close_timeout` for `transition_step` in `transition.py` to 600 seconds unless in debug or testing mode. > - **Misc**: > - Import `debug` and `testing` from `env` in `transition.py`. > > <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 bd64aa2. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
Configuration menu - View commit details
-
Copy full SHA for 6573688 - Browse repository at this point
Copy the full SHA 6573688View commit details
Commits on Nov 6, 2024
-
fix(agents-api): codec route fixed + handled explicit checks for code…
… decoding (#809) <!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Improves payload decoding and routing in agents-api with enhanced error handling and compatibility checks. > > - **Behavior**: > - Enhanced `decode_payloads()` in `internal/router.py` to handle Pydantic models, bytes, and metadata more robustly. > - Added error handling for payload decoding failures, logging errors in `internal/router.py`. > - **Codec**: > - Updated `from_payload()` in `codec.py` to include explicit checks for encoding and Python version compatibility. > - Added logging for decoding failures in `codec.py`. > - **Routing**: > - Added `agents-api-internal` route in `traefik.yml.template` for `/api/temporal/{path:.*}` with higher priority than general route. > > <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 75e2363. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Co-authored-by: standard-input[bot] <183254018+standard-input[bot]@users.noreply.github.com> Co-authored-by: Vedantsahai18 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 325145f - Browse repository at this point
Copy the full SHA 325145fView commit details
Commits on Nov 7, 2024
-
feat(agents-api): union the headers from arguments and setup for api …
…call execution (#811) <!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Merge headers from `request_args` and `api_call` in `execute_api_call` to ensure both are included in API requests. > > - **Behavior**: > - In `execute_api_call` in `excecute_api_call.py`, headers from `request_args` and `api_call` are now merged using `{**(arg_headers or {}), **(api_call.headers or {})}`. > - This change ensures that headers from both sources are included in the API request, with `request_args` headers taking precedence in case of conflicts. > > <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 1e5d2d2. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
Configuration menu - View commit details
-
Copy full SHA for 2d2f624 - Browse repository at this point
Copy the full SHA 2d2f624View commit details