Commit Graph

3 Commits

  • .NET: Add AIContextProvider support (#691)
    * Add AIContextProvider support
    
    * Address feedback.
    
    * Address PR comments.
    
    * Switch to valuetask and remove parallel calls for AIContextProvider
    
    * Remove Model from ModelInvokingAsync method name
    
    * Remove agent thread id again and remove it from context provider interface
    
    * Add AIContextProvider serialization support to AgentThread and update sample to show this feature
    
    * Address PR comments
    
    * Improve memory sample
    
    * Update sample comment.
    
    * Remove AggregateAIContextProvider for now since it makes too many assumptions.  We can include it later as a sample if needed.
    
    * Update AIContextProviders to have an Invoked method instead of MessagesAddingAsync.
    
    * Remove unused using.
    
    * Address PR comments.
    
    * Address PR comment.
    
    * Update comment.
    
    * Update comment
    
    * Address PR comments.
  • .NET: BREAKING Update AIAgent.Run to take IEnumerable instead of IReadonlyCollection (#729)
    * Update AIAgent,Run to take IEnumerable instead of IReadonlyCollection
    
    * Address PR comment.
    
    * Cast to IReadonlyCollection since this is typically all that is required to avoid unecessary allocation.
    
    * Update OrchestratingAgent protected methods as well.
  • .NET: Add Ollama and custom agent samples, plus ONNX improvements (#639)
    * Add ollama and custom agent samples, plus onnx improvements
    
    * Update dotnet/samples/GettingStarted/AgentProviders/Agent_With_CustomImplementation/Program.cs
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    
    * Address PR comments.
    
    * Address pr comments.
    
    ---------
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>