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

Fix specs and examples #211

Merged
merged 8 commits into from
Dec 13, 2024
Merged

Conversation

vkryukov
Copy link
Contributor

Hi, and thanks for creating LangChain - it's a very useful library!

Apologies for unsolicited PR, but I decided to fix some low-hanging spec errors that dialyzer was complaining about, and also fixed README.md to use the new return type for LLMChain.run().

There are still a few dialyzer errors left but they are a bit more cryptic.

Hope that works!

retry_count is supposed to be an non-negative integer, not a function.
Since the function raises sometimes, added no_return() as well
Copy link
Owner

@brainlid brainlid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Just the one question.

README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
lib/langchain_error.ex Show resolved Hide resolved
Clarified the description for the list of models
@brainlid brainlid merged commit 064f716 into brainlid:main Dec 13, 2024
1 check passed
@brainlid
Copy link
Owner

Thanks!
❤️💛💙💜

@vkryukov vkryukov deleted the fix-specs-and-examples branch December 13, 2024 00:23
brainlid added a commit that referenced this pull request Dec 15, 2024
* main:
  Azure test for ChatOpenAI usage
  added documentation for ChatOpenAI use on Azure
  Fix specs and examples (#211)
  Fix content-part encoding and decoding for Google API. (#212)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants