Following the instructions for azd deployment with the ACA deployment option I get multiple errors.
ERROR: error executing step command 'provision': initializing provisioning manager: failed to compile bicep template: failed running bicep build: exit code: 1, stdout: , stderr:
.... lots of warning ....
C:\repos\sandbox\Vector-Search-AI-Assistant\aca\infra\main.bicep(219,34) : Error BCP091: An error occurred reading file. Could not find a part of the path 'C:\repos\sandbox\Vector-Search-AI-Assistant\SystemPrompts\RetailAssistant\Default.txt'.
C:\repos\sandbox\Vector-Search-AI-Assistant\aca\infra\main.bicep(226,34) : Error BCP091: An error occurred reading file. Could not find a part of the path 'C:\repos\sandbox\Vector-Search-AI-Assistant\SystemPrompts\RetailAssistant\Limited.txt'.
C:\repos\sandbox\Vector-Search-AI-Assistant\aca\infra\main.bicep(233,34) : Error BCP091: An error occurred reading file. Could not find a part of the path 'C:\repos\sandbox\Vector-Search-AI-Assistant\SystemPrompts\Summarizer\TwoWords.txt'.
C:\repos\sandbox\Vector-Search-AI-Assistant\aca\infra\main.bicep(240,34) : Error BCP091: An error occurred reading file. Could not find a part of the path 'C:\repos\sandbox\Vector-Search-AI-Assistant\MemorySources\BlobMemorySourceConfig.json'.
C:\repos\sandbox\Vector-Search-AI-Assistant\aca\infra\main.bicep(247,34) : Error BCP091: An error occurred reading file. Could not find a part of the path 'C:\repos\sandbox\Vector-Search-AI-Assistant\MemorySources\return-policies.txt'.
C:\repos\sandbox\Vector-Search-AI-Assistant\aca\infra\main.bicep(254,34) : Error BCP091: An error occurred reading file. Could not find a part of the path 'C:\repos\sandbox\Vector-Search-AI-Assistant\MemorySources\shipping-policies.txt'.
All of these are because the paths to the SK prompts are incorrect:
It is
module storage './shared/storage.bicep' = {
name: 'storage'
params: {
containers: [
{
name: 'system-prompt'
}
{
name: 'memory-source'
}
{
name: 'product-policy'
}
]
files: [
{
name: 'retailassistant-default-txt'
file: 'Default.txt'
path: 'RetailAssistant/Default.txt'
content: loadTextContent('../../SystemPrompts/RetailAssistant/Default.txt')
container: 'system-prompt'
}
But all the files are in the data folder
...
files: [
{
name: 'retailassistant-default-txt'
file: 'Default.txt'
path: 'RetailAssistant/Default.txt'
content: loadTextContent('../../data/SystemPrompts/RetailAssistant/Default.txt')
container: 'system-prompt'
}
Same applies to AKS bicep file.
Following the instructions for azd deployment with the ACA deployment option I get multiple errors.
All of these are because the paths to the SK prompts are incorrect:
It is
But all the files are in the data folder
Same applies to AKS bicep file.