Open dimentox opened 3 weeks ago
For the readme example of a paper review you can get Azure running with something like this.
openai.api_type = "azure"
openai.azure_endpoint = os.getenv("AZURE_OPENAI_ENDPOINT")
openai.api_version = "2024-06-01"
openai.api_key = os.getenv("AZURE_OPENAI_API_KEY")
My model deployments did not match the model names used here so I had to add them to the list in llm.py. Personally, I just name them the same as the model which seems to be the practice in most environments I've been in. I You could probably update launch_scientist.py to have an Azure option based off of the gpt-4o-2024-05-13 section with the additional Azure config.
The one thing i did not read.
On Tue, Aug 20, 2024 at 7:52 PM Marc Goodner @.***> wrote:
For the readme example of a paper review you can get Azure running with something like this.
openai.api_type = "azure" openai.azure_endpoint = os.getenv("AZURE_OPENAI_ENDPOINT") openai.api_version = "2024-06-01" openai.api_key = os.getenv("AZURE_OPENAI_API_KEY")
My model deployments did not match the model names used here so I had to add them to the list in llm.py. Personally, I just name them the same as the model which seems to be the practice in most environments I've been in. I You could probably update launch_scientist.py to have an Azure option based off of the gpt-4o-2024-05-13 section with the additional Azure config.
— Reply to this email directly, view it on GitHub https://github.com/SakanaAI/AI-Scientist/issues/48#issuecomment-2300005582, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGRJPGSJ4Z6GLBIEG2NMD3ZSPQFFAVCNFSM6AAAAABMYI3WZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBQGAYDKNJYGI . You are receiving this because you authored the thread.Message ID: @.***>
Please consider adding azure.. i know lite llm has it... and its in the openai lib.