Zack Saadioui
8/27/2024
1
2
bash
curl https://ollama.ai/install.sh | sh
1
2
bash
brew install azure-cli
1
ollamaconfig.yaml
1
2
3
yaml
AZURE_CONNECTION_STRING: "<Your_Azure_Blob_Storage_Connection_String>"
AZURE_BLOB_CONTAINER_NAME: "<Your_Container_Name>"
1
2
bash
ollama pull mistral
1
2
bash
ollama run mistral
1
.pdf
1
.txt
1 2 3 4
for await (const blob of blobs) { console.log(`Found blob: ${blob.name}`); // Add logic to process blob data }
1
2
3
4
5
6
7
8
javascript
// When user sends a message to your chatbot
ollama.run({
input: userMessage,
context: fetchedBlobData // Data retrieved from Azure
}).then(response => {
console.log('Bot response:', response);
});
Copyright © Arsturn 2025