Commit Graph

19 Commits

Author SHA1 Message Date
João Moura
0dd77b5662 small formatting details 2024-07-01 05:32:22 -07:00
Lorenze Jay
9678d22724 Lorenzejay/byoa (#776)
* better spacing

* works with llama index

* works on langchain custom just need delegation to work

* cleanup for custom_agent class

* works with different argument expectations for agent_executor

* cleanup for hierarchial process, better agent_executor args handler and added to the crew agent doc page

* removed code examples for langchain + llama index, added to docs instead

* added key output if return is not a str for and added some tests

* added hinting for CustomAgent class

* removed pass as it was not needed

* closer just need to figuire ou agentTools

* running agents - llamaindex and langchain with base agent

* some cleanup on baseAgent

* minimum for agent to run for base class and ensure it works with hierarchical process

* cleanup for original agent to take on BaseAgent class

* Agent takes on langchainagent and cleanup across

* token handling working for usage_metrics to continue working

* installed llama-index, updated docs and added better name

* fixed some type errors

* base agent holds token_process

* heirarchail process uses proper tools and no longer relies on hasattr for token_processes

* removal of test_custom_agent_executions

* this fixes copying agents

* leveraging an executor class for trigger llamaindex agent

* llama index now has ask_human

* executor mixins added

* added output converter base class

* type listed

* cleanup for output conversions and tokenprocess eliminated redundancy

* properly handling tokens

* simplified token calc handling

* original agent with base agent builder structure setup

* better docs

* no more llama-index dep

* cleaner docs

* test fixes

* poetry reverts and better docs

* base_agent_tools set for third party agents

* updated task and test fix
2024-06-27 14:56:08 -03:00
João Moura
d6b08f097f updating .gitignore 2024-05-05 02:52:43 -03:00
João Moura
e14d457905 updating gitignore 2024-05-02 21:57:49 -03:00
João Moura
3360cad4cc updating git ignore 2024-05-02 20:52:43 -03:00
João Moura
6129c908b8 updating gitignore 2024-04-03 05:04:00 -03:00
João Moura
044fbbdbac updating gitignore 2024-04-01 10:45:17 -03:00
João Moura
703f1378dc updating git ignore 2024-04-01 10:45:17 -03:00
João Moura
13766e4339 updating gitignore 2024-04-01 10:45:17 -03:00
João Moura
90d1e6d5ea updating telemetry code and gitignore 2024-02-24 16:18:26 -03:00
João Moura
3610f56475 startign support to crew docs 2024-02-24 01:38:04 -03:00
João Moura
c99c5be40a updating codeignore 2024-02-11 20:37:42 -08:00
João Moura
2ef682edf3 Reliability improvements (#77)
* fixing identation for AgentTools
* updating gitignore to exclude quick test script
* startingprompt translation
* supporting individual task output
* adding agent to task output
* cutting new version
* Updating README example
2024-01-07 12:43:23 -03:00
Greyson LaLonde
d214100f0a Refactor Codebase to Use Pydantic v2 and Enhance Type Hints, Documentation (#24)
Update to Pydantic v2:

Transitioned all references from pydantic.v1 to pydantic (v2), ensuring compatibility with the latest Pydantic features and improvements.
Affected components include agent tools, prompts, crew, and task modules.
Refactoring & Alignment with Pydantic Standards:

Refactored the agent module away from traditional __init__ to align more closely with Pydantic best practices.
Updated the crew module to Pydantic v2 and enhanced configurations, allowing JSON and dictionary inputs. Additionally, some (not all) exceptions have been migrated to leverage Pydantic's error-handling capabilities.
Enhancements to Validators and Typings:

Improved validators and type annotations across multiple modules, enhancing code readability and maintainability.
Streamlined the validation process in line with Pydantic v2's methodologies.
Import and Configuration Adjustments:

Updated to test-related absolute imports due to issues with Pytest finding packages through relative imports.
2023-12-29 21:24:30 -03:00
João Moura
de343f3bd0 allowing cassetes to eb versioned 2023-12-27 16:18:08 -03:00
João Moura
aa45edd913 Updating readme 2023-12-25 11:17:11 -03:00
Joao Moura
ef7d419e67 setting proper local .env var that override defaults 2023-11-11 00:48:00 -03:00
Joao Moura
e39d9c6efd Excluding VCRs from tests 2023-11-10 18:34:44 -03:00
Joao Moura
308349442c first stab at early concepts 2023-10-29 19:51:59 -03:00