Skip to content

Commit

Permalink
core[patch]: add convert_to_openai_messages util (#27263)
Browse files Browse the repository at this point in the history
Co-authored-by: Erick Friis <[email protected]>
  • Loading branch information
baskaryan and efriis authored Oct 16, 2024
1 parent 31e7664 commit a4392b0
Show file tree
Hide file tree
Showing 6 changed files with 686 additions and 20 deletions.
2 changes: 2 additions & 0 deletions libs/core/langchain_core/messages/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
MessageLikeRepresentation,
_message_from_dict,
convert_to_messages,
convert_to_openai_messages,
filter_messages,
get_buffer_string,
merge_message_runs,
Expand Down Expand Up @@ -83,4 +84,5 @@
"filter_messages",
"merge_message_runs",
"trim_messages",
"convert_to_openai_messages",
]
Loading

0 comments on commit a4392b0

Please sign in to comment.