new(all): Azure OpenAI added as new LLM provider.

This commit is contained in:
Rodrigo Rodriguez 2024-05-24 21:22:16 -03:00
parent 1a9917ed63
commit 81be5c144e

View file

@ -785,7 +785,7 @@ export class GBMinService {
min.sandBoxMap = {};
min['scheduleMap'] = {};
min['conversationWelcomed'] = {};
if (await min.core.getParam(min.instance, 'Azure Open AI Key', null)) {
if (await min.core.getParam(min.instance, 'Azure Open AI Instance Name', null)) {
const gbkbPath = DialogKeywords.getGBAIPath(min.botId, 'gbkb');
min['vectorStorePath'] = Path.join('work', gbkbPath, 'docs-vectorized');
min['vectorStore'] = await this.deployer.loadOrCreateEmptyVectorStore(min);