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

Not getting correct outputs #2

Open
KananVyas opened this issue Sep 30, 2024 · 0 comments
Open

Not getting correct outputs #2

KananVyas opened this issue Sep 30, 2024 · 0 comments

Comments

@KananVyas
Copy link

KananVyas commented Sep 30, 2024

Hi,
Great work on mimicking o1 CoT type of output. I have used your code and generated my own Gemini Flash API key, and using your code as it is, I'm not getting similar results to what you've shown in the videos, for the query such as "finding the cities containing 'a' as third spot?"

I also found there's a code difference between your video and the github code. I see in your source code, the prompt is quite huge" where in agent.py it is like this:

Screenshot 2024-09-30 at 5 34 11 PM
        if previous_solution:
            messages.append({"role": "user", "content": f"Problem:\n{problem}\n\nPrevious Solution:\n{previous_solution}\n\nPlease proceed with your analysis."})
        else:
            messages.append({"role": "user", "content": f"Problem:\n{problem}\n\nPlease provide your solution."})

Can you explain why there's a different?

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

No branches or pull requests

1 participant