Greyson LaLonde
5cc230263c
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
3b5515c5c2
Add .circleci/config.yml ( #26 )
...
* Add .circleci/config.yml
---------
Co-authored-by: João Moura <joaomdmoura@mgail.com >
2023-12-29 21:14:15 -03:00
João Moura
6adfa6fe07
Merge pull request #15 from greysonlalonde/gl/devops/ci-code-formatting-enhancements
...
Update Python to 3.9, Add Code Quality Tools, & Update Lockfile
2023-12-27 17:34:56 -03:00
Greyson Lalonde
92f192fc5e
Make tools a subpackage
2023-12-27 15:13:42 -05:00
Greyson Lalonde
a4e93cea75
Run pre-commit hooks
...
In the title !
2023-12-27 15:13:42 -05:00
Greyson Lalonde
542a794e64
Update autoflake args
...
This wont format automatically unless --in-place is passed and will remove init imports when missing --ignore-init-module-imports
2023-12-27 15:09:05 -05:00
Greyson Lalonde
b104d1ee44
Update readme to reflect pre-commit
2023-12-27 15:09:05 -05:00
Greyson Lalonde
6716a78aa0
Add pre-commit config w/ new dev deps
2023-12-27 15:09:05 -05:00
Greyson Lalonde
03140d3dd5
Bump min py to 3.9; add formatting deps
...
Increased minimum Python version from 3.81 to 3.9 - most projects align with this; added pre-commit hooks, isort, black, & autoflake for code quality; updated lock file.
2023-12-27 15:09:05 -05:00
João Moura
99853e55cd
removing AgentVote class
2023-12-27 16:18:08 -03:00
João Moura
f36372c7bc
allowing cassetes to eb versioned
2023-12-27 16:18:08 -03:00
João Moura
6b2234fcef
Adding VCr and cassetes
2023-12-27 16:18:08 -03:00
João Moura
b8974c1f91
Merge pull request #14 from jerryjliu/jerry/fix_typo
...
fix prompt typo
2023-12-27 15:05:50 -03:00
Jerry Liu
10556d0886
cr
2023-12-27 09:27:15 -08:00
João Moura
d6be9ca0ef
small updates
2023-12-25 11:18:47 -03:00
João Moura
2aa76dbc3d
Updating readme
2023-12-25 11:17:11 -03:00
João Moura
9d0f41f32a
adding more specific guidelines to agent delegation tools
2023-12-25 11:13:46 -03:00
João Moura
1e7bda63bc
Merge pull request #12 from JamesChannel1/main
...
Update agent.py
2023-12-25 09:25:01 -03:00
JamesChannel1
d6c35cee0f
Update agent.py
...
updated docstring
2023-12-25 00:38:21 +00:00
João Moura
f2c5e838bf
Update README.md
2023-12-23 10:18:10 -03:00
João Moura
133fd10324
Merge pull request #9 from llxxxll/develop
...
Update README.md
2023-12-22 10:24:35 -03:00
LiuYongFeng
dfddb83d02
Update README.md
...
This example can be run faster for openai users.
2023-12-22 11:40:22 +08:00
LiuYongFeng
367e190773
Update README.md
...
Fix the 'SyntaxError: invalid syntax. Perhaps you forgot a comma?' error in this code
2023-12-22 11:35:06 +08:00
João Moura
db01df68aa
Updating openai version
2023-12-20 17:21:48 -03:00
João Moura
d1ecbc035e
updating specs
2023-12-20 17:20:55 -03:00
João Moura
d43f2df4f0
Adding proper support to memory-less agents
2023-12-20 11:30:56 -03:00
João Moura
09812e4249
cutting new version
2023-12-19 20:00:50 -03:00
Joao Moura
126a38fecc
Updating to the latest version of langchain
2023-12-19 20:00:50 -03:00
João Moura
290d915f57
Update README.md
2023-12-19 11:06:27 -03:00
João Moura
4cd146cb34
Merge pull request #7 from shreyaskarnik/main
...
Fix typo in readme for valid syntax in example code.
2023-12-18 01:10:49 -03:00
Joao Moura
d70cfd696d
rolling back verison upgrade for now
2023-12-18 01:10:02 -03:00
Joao Moura
f6e166aa5c
adding allow_delegation=False to the readme example
2023-12-18 01:09:34 -03:00
Joao Moura
4c3902b018
fixing readme
2023-12-18 01:05:03 -03:00
Shreyas Karnik
1a8445f2b3
Fix typo in readme for valid syntax in example code.
2023-12-09 22:46:33 +00:00
Joao Moura
0b9ad08155
rolling back prompt with ---
2023-12-05 00:09:44 -08:00
Joao Moura
9be65e03d7
Making config optional with default value as it's WIP and Adding new treatment for wrong agent tool calls
2023-12-04 23:58:48 -08:00
Joao Moura
2ff9ad8a7f
Preparing to cut new version
2023-12-04 00:13:42 -08:00
Joao Moura
53f6b0f844
slightly modifications on prompt
2023-12-04 00:12:36 -08:00
Joao Moura
da00aa2668
cutting enw version
v0.1.2
2023-11-24 17:09:43 -03:00
Joao Moura
7ad5680453
Allwoing to use other LLM that are not OpenAI
2023-11-24 17:09:06 -03:00
Joao Moura
96a2b5b236
adding index to README
2023-11-20 18:37:42 -03:00
Joao Moura
13c19c8032
Preparing to cut new version
v0.1.1
2023-11-18 22:11:10 -03:00
João Moura
5163a3a7b5
Merge pull request #3 from manuel-soria/fix-typo-in-readme
...
fix typo in quickstart snippet
2023-11-17 15:56:13 -03:00
Manuel Soria
7ec8beaf7e
another missing comma
2023-11-17 15:13:31 -03:00
Manuel Soria
6031a654a3
fix typo in quickstart snippet
2023-11-17 15:11:31 -03:00
João Moura
cbc7847bbe
Merge pull request #2 from joaomdmoura/joaomdmoura/adding-crew-specific-verbose-logs
...
Adding crew specific verbose logs
2023-11-16 19:17:11 -03:00
João Moura
e4840ddf0a
Merge branch 'main' into joaomdmoura/adding-crew-specific-verbose-logs
2023-11-16 19:17:04 -03:00
Joao Moura
afca1a585e
Updating README tro include crew verbose more
2023-11-16 18:51:48 -03:00
João Moura
27c1e76606
Merge pull request #1 from franzejr/patch-1
...
Fix tiny typo
2023-11-16 18:48:56 -03:00
Franze M
caf4f51110
Update README.md
2023-11-16 08:17:18 -03:00