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

How do I change the model to gpt-4 when calling literature_review? #24

Open
shkao opened this issue May 22, 2023 · 1 comment
Open

How do I change the model to gpt-4 when calling literature_review? #24

shkao opened this issue May 22, 2023 · 1 comment

Comments

@shkao
Copy link

shkao commented May 22, 2023

In the following places, I found that use_gpt4=True can be passed to change the use of the model from 3.5 to 4:

  • autoresearcher/llms/openai.py
  • autoresearcher/workflows/literature_review/combine_answers.py
  • autoresearcher/workflows/literature_review/extract_answers_from_papers.py

However, how do I do the same when calling literature_review? For example:

researcher = literature_review(
    research_question, output_file="answer.txt"
)
@eimenhmdt
Copy link
Owner

Hey, sorry for the really late response!

#25 fixes this.

Just run:

researcher = literature_review(research_question, output_file="answer.txt", use_gpt4=True)

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

2 participants