ILlmApiClient.cs 540 B

1234567891011121314151617
  1. using System.Collections.Generic;
  2. using System.Threading.Tasks;
  3. using UnityEngine;
  4. namespace LLM.Editor.Client
  5. {
  6. /// <summary>
  7. /// Defines a common contract for API clients that can communicate with an LLM.
  8. /// This allows for swapping between different clients, such as a real one (Gemini)
  9. /// and a mock one for testing.
  10. /// </summary>
  11. public interface ILlmApiClient
  12. {
  13. public Task SendPrompt(string prompt, List<Object> stagedContext);
  14. public Task SendFollowUp(string detailedContext);
  15. }
  16. }