langchain/libs/core/langchain_core
Erick Friis ebc75c5ca7
openai[minor]: implement langchain-openai package (#15503)
Todo

- [x] copy over integration tests
- [x] update docs with new instructions in #15513 
- [x] add linear ticket to bump core -> community, community->langchain,
and core->openai deps
- [ ] (optional): add `pip install langchain-openai` command to each
notebook using it
- [x] Update docstrings to not need `openai` install
- [x] Add serialization
- [x] deprecate old models

Contributor steps:

- [x] Add secret names to manual integrations workflow in
.github/workflows/_integration_test.yml
- [x] Add secrets to release workflow (for pre-release testing) in
.github/workflows/_release.yml

Maintainer steps (Contributors should not do these):

- [x] set up pypi and test pypi projects
- [x] add credential secrets to Github Actions
- [ ] add package to conda-forge


Functional changes to existing classes:

- now relies on openai client v1 (1.6.1) via concrete dep in
langchain-openai package

Codebase organization

- some function calling stuff moved to
`langchain_core.utils.function_calling` in order to be used in both
community and langchain-openai
2024-01-05 15:03:28 -08:00
..
_api core[patch], community[patch]: mark runnable context, lc load as beta (#15603) 2024-01-05 17:54:26 -05:00
beta core[patch], community[patch]: mark runnable context, lc load as beta (#15603) 2024-01-05 17:54:26 -05:00
callbacks core[patch], langchain[patch], community[patch]: Revert #15326 (#15546) 2024-01-04 10:39:37 -05:00
documents Propagate context vars in all classes/methods 2023-12-29 12:34:03 -08:00
example_selectors adding vectorstore_kwarg attribute to search_similarity function (#14604) 2024-01-02 17:18:33 -08:00
globals IMPROVEMENT: filter global warnings properly (#13754) 2023-11-22 16:26:37 -08:00
language_models core[minor], langchain[minor]: deprecate old Chain and LLM methods (#15499) 2024-01-05 11:58:35 -05:00
load openai[minor]: implement langchain-openai package (#15503) 2024-01-05 15:03:28 -08:00
messages core: Update messages/__init__.py to account for AIMessageChunk which breaks message history runnable. (#15327) 2023-12-29 13:41:47 -08:00
output_parsers core: update json output parser (#15079) 2024-01-02 16:34:43 -08:00
outputs manual mapping (#14422) 2023-12-08 16:29:33 -08:00
prompts Patch: improve type hint (#15451) 2024-01-02 22:39:27 -08:00
pydantic_v1 Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00
runnables core[patch], community[patch]: mark runnable context, lc load as beta (#15603) 2024-01-05 17:54:26 -05:00
tracers core[patch], community[patch]: mark runnable context, lc load as beta (#15603) 2024-01-05 17:54:26 -05:00
utils openai[minor]: implement langchain-openai package (#15503) 2024-01-05 15:03:28 -08:00
__init__.py core[patch], community[patch]: mark runnable context, lc load as beta (#15603) 2024-01-05 17:54:26 -05:00
agents.py manual mapping (#14422) 2023-12-08 16:29:33 -08:00
caches.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
chat_history.py core(minor): Allow explicit types for ChatMessageHistory adds (#14967) 2023-12-22 13:12:01 -08:00
chat_sessions.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
embeddings.py Propagate context vars in all classes/methods 2023-12-29 12:34:03 -08:00
env.py core[patch]: update langchain-core runtime library name (#14884) 2023-12-20 14:35:48 -08:00
exceptions.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
memory.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
prompt_values.py manual mapping (#14422) 2023-12-08 16:29:33 -08:00
py.typed core[minor], langchain[patch], experimental[patch]: Added missing py.typed to langchain_core (#14143) 2023-12-01 19:15:23 -08:00
retrievers.py Propagate context vars in all classes/methods 2023-12-29 12:34:03 -08:00
stores.py core[patch], langchain[patch]: ByteStore (#14312) 2023-12-06 10:05:43 -08:00
tools.py Propagate context vars in all classes/methods 2023-12-29 12:34:03 -08:00
vectorstores.py Propagate context vars in all classes/methods 2023-12-29 12:34:03 -08:00