joonspk-research / generative_agents

Generative Agents: Interactive Simulacra of Human Behavior
Apache License 2.0
16.18k stars 2.07k forks source link

switching between OpenAI LLMs #89

Open zoujiepku opened 1 year ago

zoujiepku commented 1 year ago

Is there a single place where I can toggle between OpenAI LLMs? I glanced through the codes and saw many "text-davinci-003" which is quite expensive and legacy. I want to switch to GPT3.5 and ultimately GPT4. I don't want to replace these manually across many py files. Is there a setting file somewhere for this? Thanks!

mikeyang01 commented 11 months ago

Is there a single place where I can toggle between OpenAI LLMs? I glanced through the codes and saw many "text-davinci-003" which is quite expensive and legacy. I want to switch to GPT3.5 and ultimately GPT4. I don't want to replace these manually across many py files. Is there a setting file somewhere for this? Thanks!

no setting files, but you can edit on gpt_structure.py