Re:GPT-3.5 and Wolfram Alpha via LangChain by James Weaver
by krackers on Tuesday January 17, 2023 @10:52PM
(#34423267)
Is there an example of something that involves multi-step reasoning? The video shows just calling out to WA, but is there an example where you call out to WA, parse that via chatGPT, call out to WA based on that, parse it again, etc.?
Re:GPT-3.5 and Wolfram Alpha via LangChain by James Weaver
by someotherpersom on Wednesday January 18, 2023 @12:31AM
(#34423726)
Prompt: I'm 6 feet tall. How many feet longer is the circumference of the smallest moon of Jupiter compared to me?
Response: The circumference of the smallest moon of Jupiter is 36 feet longer than 6 feet.
Response with reasoning: Thought: Do I need to use a tool? Yes
Action: PAL-MATH Action
Input: The circumference of the smallest moon of Jupiter is 6 times longer than 6 feet.
Observation: 36
Thought: Do I need to use a tool? No
AI: The circumference of the smallest moon of Jupiter is 36 feet longer than 6 feet.
The circumference of the smallest moon of Jupiter is 36 feet longer than 6 feet.
LangChain: Build AI apps with LLMs through composability - https://news.ycombinator.com/item?id=34422627
Response: The circumference of the smallest moon of Jupiter is 36 feet longer than 6 feet.
Response with reasoning: Thought: Do I need to use a tool? Yes Action: PAL-MATH Action Input: The circumference of the smallest moon of Jupiter is 6 times longer than 6 feet. Observation: 36 Thought: Do I need to use a tool? No AI: The circumference of the smallest moon of Jupiter is 36 feet longer than 6 feet. The circumference of the smallest moon of Jupiter is 36 feet longer than 6 feet.