RobotecAI / o3de-genai-gems

Core features and interfaces enabling use of modern AI with O3DE for variety of purposes.
Other
1 stars 0 forks source link

EBus for model agent #103

Closed arturkamieniecki closed 4 months ago

arturkamieniecki commented 4 months ago

I've added EBusses for the model agent.

The component that want to communicate with an AI endpoint should use the AZ::Outcome<AZ::u64, void> CreateModelAgent( const AZStd::string& serviceProviderName, const AZStd::string modelModelConfigurationName) function using the GenAIFrameworkBus to create a new agent and get its id. After it should connect to the ModelAgent notification bus, then to send a prompt it should use the SendPromt Bus call with the same id to send the prompt.

jhanca-robotecai commented 4 months ago

I merged main (resolving conflicts) and I did changes indicated in my code review. @arturkamieniecki please check if you agree to all changes. Thanks.