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

Adds a chain around sympy for symbolic math #6834

Merged
merged 11 commits into from
Jul 12, 2023
Merged

Adds a chain around sympy for symbolic math #6834

merged 11 commits into from
Jul 12, 2023

Conversation

sreiswig
Copy link
Contributor

  • Description: Adds a new chain that acts as a wrapper around Sympy to give LLMs the ability to do some symbolic math.
  • Dependencies: SymPy

@vercel
Copy link

vercel bot commented Jun 27, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Jul 12, 2023 6:59pm

@vercel vercel bot temporarily deployed to Preview June 27, 2023 17:15 Inactive
Copy link
Contributor

@hwchase17 hwchase17 left a comment

Choose a reason for hiding this comment

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

nice this is really cool

seems cargo culted from LLMMath chain, but no need to keep around all the deprecated values

"""

llm_chain: LLMChain
llm: Optional[BaseLanguageModel] = None
Copy link
Contributor

Choose a reason for hiding this comment

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

if deprecated, lets not include

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed in latest commit

arbitrary_types_allowed = True

@root_validator(pre=True)
def raise_deprecation(cls, values: Dict) -> Dict:
Copy link
Contributor

Choose a reason for hiding this comment

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

dont include, same reason as above

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed in latest commit

@vercel vercel bot temporarily deployed to Preview July 7, 2023 06:33 Inactive
@baskaryan
Copy link
Collaborator

thanks @sreiswig!

@baskaryan baskaryan merged commit 931e686 into langchain-ai:master Jul 12, 2023
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.

None yet

3 participants