Commit Graph

4996 Commits

Author SHA1 Message Date
Eugene Yurtsev
444ae9d03a SNAPSHOT: Update test_grpah.ambr some additional descriptions + correct handling of Optional attribute 2024-08-02 12:33:25 -04:00
Eugene Yurtsev
c6399cdb19 MANUAL: test_runnable update tests and name snapshots 2024-08-02 12:32:45 -04:00
Eugene Yurtsev
2b38e3c606 SNAPSHOT: UPDATE SNAPSHOT FOR CHAT PROMPT TEMPLATE -- some re-arrangement and handling of optional values 2024-08-02 12:32:14 -04:00
Eugene Yurtsev
489c451437 MANUAL: Update test_chat test to use old style ChatMessage.from_messages 2024-08-02 12:30:56 -04:00
Eugene Yurtsev
545d40ebd8 MANUAL: SCHEMA REMAPPING UPDATE REMOVE __default__ from top level 2024-08-02 12:30:37 -04:00
Eugene Yurtsev
b6d3f85deb MANUAL: Update get_name() for runnables to handle pydantic generic subclass 2024-08-02 12:09:22 -04:00
Eugene Yurtsev
3973470667 MANUAL: (PORT NOW) Remove optional name in runnable serializable (overloaded) 2024-08-02 11:01:11 -04:00
Eugene Yurtsev
5b463effbf MANUAL: Update Serializable to get correct name from generic Pydantic 2024-08-02 11:00:49 -04:00
Eugene Yurtsev
229b9b962f MANUAL: Update schema remapping, and update tests (new test fixture is more correct) 2024-08-02 10:29:24 -04:00
Eugene Yurtsev
3c967cb45c update 2024-08-02 10:14:46 -04:00
Eugene Yurtsev
2937808d1c x 2024-08-01 22:27:10 -04:00
Eugene Yurtsev
0802d0024e MANUAL: Hard-code RunnableBranch name 2024-08-01 22:02:25 -04:00
Eugene Yurtsev
95f7169fc7 MANUAL: FIX create_schema_from_function to handle classmethods and methods 2024-08-01 17:39:58 -04:00
Eugene Yurtsev
2f18fb68b8 MANUAL: (NO NEED TO PORT) Removed an accidentally commited test 2024-08-01 17:23:25 -04:00
Eugene Yurtsev
b71e3424c6 MANUAL: SkipValidation in ChatPromptTemplate 2024-08-01 17:21:06 -04:00
Eugene Yurtsev
64e6996b57 Fix unit test 2024-08-01 17:20:51 -04:00
Eugene Yurtsev
701a303432 x 2024-08-01 17:11:48 -04:00
Eugene Yurtsev
08b4fce4e3 update community 2024-08-01 10:33:12 -04:00
Eugene Yurtsev
3cf432849e MANUAL: TEMPORARILY ADD v1 REPR to a base abstractions 2024-08-01 09:10:22 -04:00
Eugene Yurtsev
161610fcd6 MANUAL: Fix one more unit test 2024-07-31 22:12:39 -04:00
Eugene Yurtsev
949e28a7c2 MANUAL: Adjust test_prompt to not show default None 2024-07-31 22:07:46 -04:00
Eugene Yurtsev
ce30623462 MANUAL: Fix unit tests for test_history 2024-07-31 22:03:02 -04:00
Eugene Yurtsev
74ea68b840 MANUAL: FIX LLM Result (PORT NOW) Needs discriminated union 2024-07-31 22:02:43 -04:00
Eugene Yurtsev
2d671a90d9 MANUAL: Fixes for test function calling (White space changes?!) 2024-07-31 21:44:09 -04:00
Eugene Yurtsev
ae827201ef MANUAL: Add required fields 2024-07-31 21:39:33 -04:00
Eugene Yurtsev
272a81af2e MANUAL: Better schema conversion for unit tests 2024-07-31 21:34:52 -04:00
Eugene Yurtsev
725e42c7f0 MANUAL: Runnable (1) use get_type_hints (portable), (2) Use mro() and bases for resolving generic 2024-07-31 21:34:28 -04:00
Eugene Yurtsev
db2f1a9c02 MANUAL: Fix output type on base output parser to use mro() 2024-07-31 21:33:56 -04:00
Eugene Yurtsev
1100b82a49 MANUAL: Fix OutputType inference of OutputParsers 2024-07-31 18:04:06 -04:00
Eugene Yurtsev
6c2baa98eb MANUA: SCHEMA REMAPPING 2024-07-31 18:03:44 -04:00
Eugene Yurtsev
372e799bf3 MANUAL: HANDLE MORE STUFF IN SCHEMA REMAPPING 2024-07-31 16:23:17 -04:00
Eugene Yurtsev
e077eecef4 MANUAL: Set verbose to repr=False in chat model (TODO?) 2024-07-31 16:11:48 -04:00
Eugene Yurtsev
d0ff30e6af MANUAL: Update create_base_model to use type 2024-07-31 16:06:24 -04:00
Eugene Yurtsev
00576dcee3 MANUAL: FIX get_pydantic_field_names to work with pydantic 2 2024-07-31 13:08:10 -04:00
Eugene Yurtsev
6988b63d43 temporary changes to community 2024-07-31 13:07:22 -04:00
Eugene Yurtsev
03aa6c19fa LANGCHAIN PACKAGE CHANGES 2024-07-31 11:09:51 -04:00
Eugene Yurtsev
dcea8b20a5 MANUAL (LANGCHAIN): Update pydantic imports 2024-07-31 09:29:42 -04:00
Eugene Yurtsev
9a9db37e74 MANUAL: Add required fields in schema and fix comparison test for AIMessage in test_runnables.py 2024-07-31 09:21:50 -04:00
Eugene Yurtsev
52960f792e MANUAL: Schema remapping 2024-07-31 09:04:55 -04:00
Eugene Yurtsev
8a507e816e MANUAL: Restore one more missing RootModel instead of __custom_root_model_ check 2024-07-30 16:52:26 -04:00
Eugene Yurtsev
8a11819583 MANUAL: Fix one prompt test 2024-07-30 16:41:35 -04:00
Eugene Yurtsev
5d6266f3ca Remove accidentally commmitted test 2024-07-30 16:01:54 -04:00
Eugene Yurtsev
5810a4b90c Remove accidentally committed test 2024-07-30 16:01:12 -04:00
Eugene Yurtsev
a2e9c45303 MANUAL: Fix input schema into Runnable Lambdas that comes from ast traversal 2024-07-30 16:00:00 -04:00
Eugene Yurtsev
16108c94e2 MANUAL: Replace __custom_root_type with issubclass(obj, RootModel) check 2024-07-30 15:32:22 -04:00
Eugene Yurtsev
0de8e86282 MANUAL: Handle Unserializable attributes on RootModel + schema generator 2024-07-30 15:09:59 -04:00
Eugene Yurtsev
a828f8c2a1 MANUAL: Update create_schea_from_function for tools 2024-07-30 13:47:02 -04:00
Eugene Yurtsev
84db231f1e MANUAL: Exclude verbose from representation? 2024-07-30 12:40:24 -04:00
Eugene Yurtsev
054edda0c5 MANUAL: Test optional subset model re-write add =None to optionals 2024-07-30 12:32:40 -04:00
Eugene Yurtsev
bda6650d7a MANUAL: Fix REPR for ToolMessage 2024-07-30 12:11:27 -04:00