Commit Graph

314 Commits

Author SHA1 Message Date
Brandon Hancock
4251494c55 Merge branch 'feature/procedure_v2' into brandon/cre-107-pipeline-conditional-routing 2024-07-30 09:55:20 -04:00
Brandon Hancock
072044c537 Rename variables based on joaos feedback 2024-07-30 09:54:11 -04:00
Brandon Hancock
e4b3b32b50 Merge branch 'feature/procedure_v2' into brandon/cre-107-pipeline-conditional-routing# 2024-07-30 09:44:23 -04:00
Brandon Hancock
e1a03ad97d Change names 2024-07-30 09:43:36 -04:00
Brandon Hancock
46fdada5e4 WIP. 2024-07-30 09:36:04 -04:00
Brandon Hancock
d72f5a601e Add missing doc string 2024-07-29 16:22:52 -04:00
Brandon Hancock
467c67c597 Merge branch 'feature/procedure_v2' into brandon/cre-107-pipeline-conditional-routing 2024-07-29 16:11:55 -04:00
Brandon Hancock
910c8df1a7 Update pipeline to use UsageMetric 2024-07-29 16:00:57 -04:00
Brandon Hancock
b9177f2d04 Merge branch 'brandon/cre-117-create-a-type-for-usage-metrics' into feature/procedure_v2 2024-07-29 15:55:11 -04:00
Brandon Hancock
03eafe1671 Fix 1 type error in pipeline 2024-07-29 15:54:49 -04:00
Brandon Hancock
f2830d9c7a Drop todo 2024-07-29 15:51:14 -04:00
Brandon Hancock
e3182d135a WIP. Converting usage metrics from a dict to an object 2024-07-29 15:30:54 -04:00
Brandon Hancock
3d5bbf5da9 Fix missing rag datatype 2024-07-29 15:09:59 -04:00
Brandon Hancock
75c7aaf585 Merge branch 'main' into feature/procedure_v2 2024-07-29 14:27:28 -04:00
Brandon Hancock (bhancock_ai)
fa4393d77e Add in missing triple quote and execution time to resume agent functionality. (#1025)
* Add in missing triple quote and execution time to resume agent functionality

* Fixing broken kwargs and other issues causing our tests to fail
2024-07-29 14:39:02 -03:00
Brandon Hancock
083949fc23 Merge branch 'main' into feature/procedure_v2 2024-07-29 12:48:53 -04:00
Brandon Hancock
04de7730fa Add doc strings 2024-07-29 12:44:10 -04:00
Brandon Hancock
de6950046d Add developer notes to explain what is going on in pipelines. 2024-07-29 12:36:03 -04:00
Brandon Hancock
cb2276dc7d Add in Eduardo feedback. Still need to add in more commentary describing the design decisions for pipeline 2024-07-29 12:20:18 -04:00
Brandon Hancock
53e91a7c78 Fix circular dependencies and updated PipelineRouter 2024-07-29 11:31:34 -04:00
Taleb
0a23e1dc13 Performed spell check across the rest of code base, and enahnced the yaml paraser code a little (#895)
* Performed spell check across the entire documentation

Thank you once again!

* Performed spell check across the most of code base
Folders been checked:
- agents
- cli
- memory
- project
- tasks
- telemetry
- tools
- translations

* Trying to add a max_token for the agents, so they limited by number of tokens.

* Performed spell check across the rest of code base, and enahnced the yaml paraser code a little

* Small change in the main agent doc

* Improve _save_file method to handle both dict and str inputs

- Add check for dict type input
- Use json.dump for dict serialization
- Convert non-dict inputs to string
- Remove type ignore comments

---------

Co-authored-by: João Moura <joaomdmoura@gmail.com>
2024-07-28 15:39:54 -03:00
Henri Wenlin
ef5ff71346 feat: add verbose option for printing in ToolUsage (#990) 2024-07-28 15:12:10 -03:00
Taleb
6b4710a8d1 Improve _save_file method to handle both dict and str inputs (#1011)
- Add check for dict type input
- Use json.dump for dict serialization
- Convert non-dict inputs to string
- Remove type ignore comments
2024-07-28 15:03:18 -03:00
João Moura
4e6abf596d updating test 2024-07-28 13:23:03 -04:00
ResearchAI
99d023c5f3 Update reset_memories_command.py (#974) 2024-07-26 14:40:47 -07:00
Brandon Hancock (bhancock_ai)
da7d8256eb Json Task Output Truncation with Escape Characters (#1009)
* Fixed special character issue when converting json to models. Added numerous tests to ensure thigns work properly.

* Fix linting error and cleaned up tests

* Fix customer_converter_cls test failure

* Fixed tests. Thank you lorenze for pointing that out. added a few more to ensure converter creation works properly

* Address lorenze feedback

* Fix linting issues
2024-07-26 17:27:01 -04:00
Brandon Hancock
cdfac165e3 WIP. 2024-07-26 17:24:09 -04:00
Lorenze Jay
5ac7050f7a Patch/non gpt model pydantic output (#1003)
* patching for non-gpt model

* removal of json_object tool name assignment

* fixed issue for smaller models due to instructions prompt

* fixing for ollama llama3 models

* closing brackets

* removed not used and fixes
2024-07-26 10:57:56 -07:00
Lorenze Jay
8b513de64c hierarchical process unblocked for async tasks (#995)
* WIP: hierarchical unblock for async tasks

* added better test

* update name change

* added more test and crew manager cleanup

* remove prints

* code cleanup, no need to pass manager
2024-07-26 10:55:51 -07:00
Eduardo Chiarotti
144e6d203f feat: add ability to set LLM for AgentPLanner on Crew (#1001)
* feat: add ability to set LLM for AgentPLanner on Crew

* feat: fixes issue on instantiating the ChatOpenAI on the crew

* docs: add docs for the planning_llm new parameter

* docs: change message to ChatOpenAI llm

* feat: add tests
2024-07-26 14:24:29 -03:00
Eduardo Chiarotti
2d2154ed65 feat: add crew Testing/Evaluating feature (#998)
* feat: add crew Testing/evalauting feature

* feat: add docs and add unit test

* feat: improve testing output table

* feat: add tests

* feat: fix type checking issue

* feat: add raise ValueError when testing if output is not the expected

* docs: add docs for Testing

* feat: improve tests and fix some issue

* feat: back to sync

* feat: change opdeai model

* feat: fix test
2024-07-26 14:23:51 -03:00
Brandon Hancock
31ff979a4b In the middle of fixing router. A ton of circular dependencies. Moving over to a new design. 2024-07-26 09:24:40 -04:00
Brandon Hancock
d9e60c8b57 Drop router for now. will add in separately 2024-07-25 14:29:17 -04:00
Brandon Hancock
2119ba7c32 Starting to work on router 2024-07-25 09:33:05 -04:00
Brandon Hancock
b00bc44921 Add back in commentary at top of pipeline file 2024-07-24 11:27:47 -04:00
Brandon Hancock
602ade4cc4 Update pipeline to properly process input and ouput dictionary 2024-07-23 11:12:55 -04:00
Lorenze Jay
4da5cc9778 Feat yaml config all attributes (#985)
* WIP: yaml proper mapping for agents and agent

* WIP: added output_json and output_pydantic setup

* WIP: core logic added, need cleanup

* code cleanup

* updated docs and example template to use yaml to reference agents within tasks

* cleanup type errors

* Update Start-a-New-CrewAI-Project.md

---------

Co-authored-by: João Moura <joaomdmoura@gmail.com>
2024-07-23 00:21:01 -03:00
Brandon Hancock
471c5b970c Update docs for pipeline 2024-07-22 19:28:32 -04:00
Brandon Hancock
33d9828edc Implemented additional tests for pipeline. One test is failing. Need team support 2024-07-22 16:35:16 -04:00
Eduardo Chiarotti
6930656897 feat: add crewai test feature (#984)
* feat: add crewai test feature

* fix: remove unused import

* feat: update docstirng

* fix: tests
2024-07-22 17:21:05 -03:00
Brandon Hancock
e95ef6fca9 Merge branch 'main' into feature/procedure_v2 2024-07-22 09:55:03 -04:00
João Moura
349753a013 prepping new version 2024-07-20 12:26:32 -04:00
Eduardo Chiarotti
f53a3a00e1 fix: planning feature output (#969)
* fix: planning feature output

* fix: add validation for planning result
2024-07-20 11:56:53 -03:00
Brandon Hancock
afd6bff159 Fix pipelineoutput to look more like crewoutput and taskoutput 2024-07-19 15:18:19 -04:00
Brandon Hancock
392490c48b new pipeline flow with traces and usage metrics working. need to add more tests and make sure PipelineOutput behaves likew CrewOutput 2024-07-19 14:39:31 -04:00
João Moura
e2113fe417 preparing new verions 2024-07-19 13:22:28 -04:00
Eduardo Chiarotti
f9288295e6 fix: agent missing fix (#966) 2024-07-19 13:15:33 -03:00
João Moura
fcc57f2fc0 rmeoving extra logging 2024-07-19 01:16:15 -04:00
Brandon Hancock
d094e178f1 Update terminology 2024-07-18 14:59:38 -04:00
Lorenze Jay
be1b9a3994 Reset memory (#958)
* reseting memory on cli

* using storage.reset

* deleting memories on command

* added tests

* handle when no flags are used

* added docs
2024-07-18 13:29:42 -03:00