Re: [sympy] Re: SymPy integration with LLM (generative AI)

2024-04-14 Thread Francesco Bonazzi


On Sunday, April 14, 2024 at 5:30:25 a.m. UTC+2 Aaron Meurer wrote:

I made a SymPy GPT for ChatGPT. Although ChatGPT will already use 
SymPy if you ask it to solve a math problem. The only difference is 
that this has access to the latest version of SymPy and the SymPy 
documentation. 


The library I linked (langchain) is a wrapper around many different LLMs 
(either local or APIs), it lets you easily switch LLM.
 

There was some discussion about using LLMs to do LaTeX parsing 
(currently done by a grammar-based parser in parse_latex()) at 
https://github.com/sympy/sympy/issues/26128. 


LLMs can parse everything, I wouldn't limit them to LaTeX.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/4fa8dfd2-d526-40ee-ab13-6161bef035dcn%40googlegroups.com.


Re: [sympy] Re: SymPy integration with LLM (generative AI)

2024-04-13 Thread Aaron Meurer
I believe the custom GPTs require the paid version, since they use GPT
4 and the code interpreter which are paid features only. If you have a
ChatGPT subscription and you click the link I provided, it should show
up in the sidebar (or you can click "explore GPTs" and search for
"SymPy").

Aaron Meurer

On Sat, Apr 13, 2024 at 10:31 PM  wrote:
>
> Dear Aaron,
>
> Thanks!
>
> Does this also work with the free ChatGPT version, or only with the paid for 
> version?
> How do I use it? Simply start my (free) ChatGPT as I do now?
>
> Excuse my dumb questions, but I am not the greatest computer expert ☹
>
> Peter
>
> -Original Message-
> From: sympy@googlegroups.com  On Behalf Of Aaron 
> Meurer
> Sent: Sonntag, 14. April 2024 05:30
> To: sympy@googlegroups.com
> Subject: Re: [sympy] Re: SymPy integration with LLM (generative AI)
>
> I made a SymPy GPT for ChatGPT. Although ChatGPT will already use SymPy if 
> you ask it to solve a math problem. The only difference is that this has 
> access to the latest version of SymPy and the SymPy documentation.
>
> There was some discussion about using LLMs to do LaTeX parsing (currently 
> done by a grammar-based parser in parse_latex()) at 
> https://github.com/sympy/sympy/issues/26128.
>
> Aaron Meurer
>
> On Fri, Apr 12, 2024 at 12:17 AM Samith Kavishke 
>  wrote:
> >
> > Are there any plans from our side for the LLM that use Sympy?
> >
> > On Friday, April 12, 2024 at 2:11:13 AM UTC+5:30 Francesco Bonazzi wrote:
> >>
> >> Their example jupyter notebook:
> >> https://github.com/langchain-ai/langchain/blob/master/cookbook/llm_sy
> >> mbolic_math.ipynb
> >>
> >> On Thursday, April 11, 2024 at 10:35:18 p.m. UTC+2 Francesco Bonazzi wrote:
> >>>
> >>> It looks like someone is already trying to integrate LLM with SymPy:
> >>> https://api.python.langchain.com/en/latest/llm_symbolic_math/langcha
> >>> in_experimental.llm_symbolic_math.base.LLMSymbolicMathChain.html
> >>>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "sympy" group.
> > To unsubscribe from this group and stop receiving emails from it, send an 
> > email to sympy+unsubscr...@googlegroups.com.
> > To view this discussion on the web visit 
> > https://groups.google.com/d/msgid/sympy/1e47b5b5-615a-45eb-8585-33470cfa483bn%40googlegroups.com.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sympy+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sympy/CAKgW%3D6LxM29Ms-xxpZwr2%2BZ06qbeKYPE3pmhx6ajr-PM1nAhMQ%40mail.gmail.com.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sympy+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sympy/032101da8e24%249af957d0%24d0ec0770%24%40gmail.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAKgW%3D6J%2BmSDLTRbikVrsPQOZxLqGE9B8wowhNZp%2Bt1Sw_w1LFw%40mail.gmail.com.


RE: [sympy] Re: SymPy integration with LLM (generative AI)

2024-04-13 Thread peter.stahlecker
Dear Aaron,

Thanks!

Does this also work with the free ChatGPT version, or only with the paid for 
version?
How do I use it? Simply start my (free) ChatGPT as I do now?

Excuse my dumb questions, but I am not the greatest computer expert ☹

Peter

-Original Message-
From: sympy@googlegroups.com  On Behalf Of Aaron Meurer
Sent: Sonntag, 14. April 2024 05:30
To: sympy@googlegroups.com
Subject: Re: [sympy] Re: SymPy integration with LLM (generative AI)

I made a SymPy GPT for ChatGPT. Although ChatGPT will already use SymPy if you 
ask it to solve a math problem. The only difference is that this has access to 
the latest version of SymPy and the SymPy documentation.

There was some discussion about using LLMs to do LaTeX parsing (currently done 
by a grammar-based parser in parse_latex()) at 
https://github.com/sympy/sympy/issues/26128.

Aaron Meurer

On Fri, Apr 12, 2024 at 12:17 AM Samith Kavishke 
 wrote:
>
> Are there any plans from our side for the LLM that use Sympy?
>
> On Friday, April 12, 2024 at 2:11:13 AM UTC+5:30 Francesco Bonazzi wrote:
>>
>> Their example jupyter notebook:
>> https://github.com/langchain-ai/langchain/blob/master/cookbook/llm_sy
>> mbolic_math.ipynb
>>
>> On Thursday, April 11, 2024 at 10:35:18 p.m. UTC+2 Francesco Bonazzi wrote:
>>>
>>> It looks like someone is already trying to integrate LLM with SymPy:
>>> https://api.python.langchain.com/en/latest/llm_symbolic_math/langcha
>>> in_experimental.llm_symbolic_math.base.LLMSymbolicMathChain.html
>>>
> --
> You received this message because you are subscribed to the Google Groups 
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sympy+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sympy/1e47b5b5-615a-45eb-8585-33470cfa483bn%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAKgW%3D6LxM29Ms-xxpZwr2%2BZ06qbeKYPE3pmhx6ajr-PM1nAhMQ%40mail.gmail.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/032101da8e24%249af957d0%24d0ec0770%24%40gmail.com.


Re: [sympy] Re: SymPy integration with LLM (generative AI)

2024-04-13 Thread Aaron Meurer
I made a SymPy GPT for ChatGPT. Although ChatGPT will already use
SymPy if you ask it to solve a math problem. The only difference is
that this has access to the latest version of SymPy and the SymPy
documentation.

There was some discussion about using LLMs to do LaTeX parsing
(currently done by a grammar-based parser in parse_latex()) at
https://github.com/sympy/sympy/issues/26128.

Aaron Meurer

On Fri, Apr 12, 2024 at 12:17 AM Samith Kavishke
 wrote:
>
> Are there any plans from our side for the LLM that use Sympy?
>
> On Friday, April 12, 2024 at 2:11:13 AM UTC+5:30 Francesco Bonazzi wrote:
>>
>> Their example jupyter notebook:
>> https://github.com/langchain-ai/langchain/blob/master/cookbook/llm_symbolic_math.ipynb
>>
>> On Thursday, April 11, 2024 at 10:35:18 p.m. UTC+2 Francesco Bonazzi wrote:
>>>
>>> It looks like someone is already trying to integrate LLM with SymPy:
>>> https://api.python.langchain.com/en/latest/llm_symbolic_math/langchain_experimental.llm_symbolic_math.base.LLMSymbolicMathChain.html
>>>
> --
> You received this message because you are subscribed to the Google Groups 
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sympy+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sympy/1e47b5b5-615a-45eb-8585-33470cfa483bn%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAKgW%3D6LxM29Ms-xxpZwr2%2BZ06qbeKYPE3pmhx6ajr-PM1nAhMQ%40mail.gmail.com.


[sympy] Re: SymPy integration with LLM (generative AI)

2024-04-12 Thread Francesco Bonazzi

On Friday, April 12, 2024 at 8:17:49 a.m. UTC+2 samithkar...@gmail.com 
wrote:

Are there any plans from our side for the LLM that use Sympy?


Not that I know.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/fe04fbe1-dc85-49b7-96eb-cdd733c4d196n%40googlegroups.com.


[sympy] Re: SymPy integration with LLM (generative AI)

2024-04-11 Thread Samith Kavishke
Are there any plans from our side for the LLM that use Sympy?

On Friday, April 12, 2024 at 2:11:13 AM UTC+5:30 Francesco Bonazzi wrote:

> Their example jupyter notebook:
>
> https://github.com/langchain-ai/langchain/blob/master/cookbook/llm_symbolic_math.ipynb
>
> On Thursday, April 11, 2024 at 10:35:18 p.m. UTC+2 Francesco Bonazzi wrote:
>
>> It looks like someone is already trying to integrate LLM with SymPy:
>>
>> https://api.python.langchain.com/en/latest/llm_symbolic_math/langchain_experimental.llm_symbolic_math.base.LLMSymbolicMathChain.html
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/1e47b5b5-615a-45eb-8585-33470cfa483bn%40googlegroups.com.


[sympy] Re: SymPy integration with LLM (generative AI)

2024-04-11 Thread Francesco Bonazzi
Their example jupyter notebook:
https://github.com/langchain-ai/langchain/blob/master/cookbook/llm_symbolic_math.ipynb

On Thursday, April 11, 2024 at 10:35:18 p.m. UTC+2 Francesco Bonazzi wrote:

> It looks like someone is already trying to integrate LLM with SymPy:
>
> https://api.python.langchain.com/en/latest/llm_symbolic_math/langchain_experimental.llm_symbolic_math.base.LLMSymbolicMathChain.html
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/2c90571a-63b6-4562-95eb-ce6ad394bce1n%40googlegroups.com.