theopenconversationkit / tock

Tock, the open source conversational AI toolkit.
https://doc.tock.ai
Apache License 2.0
505 stars 134 forks source link

[DERCBOT-1251] Add model to AzureOpenAI Settings #1781

Closed assouktim closed 1 week ago

assouktim commented 3 weeks ago

This PR requires the data to be updated, following the addition of the model to AzureOpenAI Settings.

$> use tock_bot

$> db.bot_rag_configuration.updateMany( { "llmSetting.provider": "AzureOpenAIService" }, { $set: { "llmSetting.model": "gpt-3.5-turbo" } } )

$> db.bot_rag_configuration.updateMany( { "emSetting.provider": "AzureOpenAIService" }, { $set: { "emSetting.model": "text-embedding-ada-002" } } )

$> db.bot_sentence_generation_configuration.updateMany( { "llmSetting.provider": "AzureOpenAIService" }, { $set: { "llmSetting.model": "gpt-3.5-turbo" } } )

After this update, in the Tock Studio, enter the correct model for your Azure deployment

assouktim commented 1 week ago

It's done