Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor!: Remove deprecated generate and predict APIs #335

Merged
merged 1 commit into from
Feb 17, 2024

Conversation

davidmigloz
Copy link
Owner

@davidmigloz davidmigloz commented Feb 17, 2024

The following LLM/ChatModel APIs have been removed:

  • generate
  • generatePrompt
  • predict
  • predictMessages

In favour of the standard invoke API, part of LangChain Expression Language.

For simple use cases that don't require composition, call can still be used.

@davidmigloz davidmigloz self-assigned this Feb 17, 2024
@davidmigloz davidmigloz added c:lcel LangChain Expression Language c:llms Models and integrations. c:chat-models Chat models. labels Feb 17, 2024
@davidmigloz davidmigloz added this to the v0.4.3 milestone Feb 17, 2024
@davidmigloz davidmigloz merged commit c55fe50 into main Feb 17, 2024
1 check passed
@davidmigloz davidmigloz deleted the deprecated-apis branch February 17, 2024 16:57
KennethKnudsen97 pushed a commit to KennethKnudsen97/langchain_dart that referenced this pull request Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:chat-models Chat models. c:lcel LangChain Expression Language c:llms Models and integrations.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant