microsoft / Damu

Named after a Mesopotamian reputed to know the cures to many incurable diseases. This is an accelerator for combining natural language queries and FHIR queries to assist medical research.
MIT License
5 stars 4 forks source link

working basic chat #34

Closed pjirsa closed 3 months ago

pjirsa commented 3 months ago

image This pull request includes changes to the ChatApp.Server project, primarily focusing on refactoring the chat service, updating the API endpoints, and modifying the models. The most significant changes include the removal of the Azure.AI.OpenAI package, refactoring the IChatCompletionService to IChatService, and the modification of the PostConversation method in Endpoints.Api.cs to use IChatService and include a ConversationRequest parameter.

Refactoring of the chat service:

API endpoints and services updates:

Models updates: