File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Azure.CloudMachine/samples/RAGMachine
Azure.Provisioning.CloudMachine/src/FeaturesBuiltIn Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 33using Azure . CloudMachine ;
44using OpenAI . Chat ;
55
6- CloudMachineInfrastructure infrastructure = new ( ) ;
6+ ProjectInfrastructure infrastructure = new ( ) ;
77infrastructure . AddFeature ( new OpenAIModelFeature ( "gpt-35-turbo" , "0125" ) ) ;
88infrastructure . AddFeature ( new OpenAIModelFeature ( "text-embedding-ada-002" , "2" , AIModelKind . Embedding ) ) ;
99infrastructure . AddFeature ( new AppServiceFeature ( ) ) ;
10- CloudMachineClient client = infrastructure . GetClient ( ) ;
10+ ProjectClient client = infrastructure . GetClient ( ) ;
1111
1212// the app can be called with -init switch to generate bicep and prepare for azd deployment.
1313if ( infrastructure . TryExecuteCommand ( args ) ) return ;
Original file line number Diff line number Diff line change 1515 </NoWarn >
1616 </PropertyGroup >
1717 <ItemGroup >
18- <PackageReference Include =" Azure.CloudMachine.All" Version =" 1.0.0-alpha.20241213 .1" />
18+ <PackageReference Include =" Azure.CloudMachine.All" Version =" 1.0.0-alpha.20250205 .1" />
1919 </ItemGroup >
2020</Project >
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ protected internal override void EmitConnections(ConnectionCollection connection
6565 /// <summary>
6666 /// Emit any necessary resources for provisioning (currently no-op).
6767 /// </summary>
68- /// <param name="cm">The CloudMachineInfrastructure context.</param>
68+ /// <param name="cm">The ProjectInfrastructure context.</param>
6969 /// <returns>A placeholder or no-op resource, as provisioning is out-of-band for now.</returns>
7070 protected override ProvisionableResource EmitResources ( ProjectInfrastructure cm )
7171 {
You can’t perform that action at this time.
0 commit comments