You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

AiAgent.cs 528 B

1234567891011121314151617181920212223
  1. // Copyright (c) Microsoft Corporation. All rights reserved.
  2. // AiAgent.cs
  3. using Microsoft.AutoGen.Core;
  4. namespace DevTeam.Agents;
  5. public class AiAgent<T> : Agent
  6. {
  7. public AiAgent(AgentsMetadata eventTypes, ILogger<AiAgent<T>> logger) : base(eventTypes, logger)
  8. {
  9. }
  10. protected async Task AddKnowledge(string instruction, string v)
  11. {
  12. throw new NotImplementedException();
  13. }
  14. protected async Task<string> CallFunction(string prompt)
  15. {
  16. throw new NotImplementedException();
  17. }
  18. }