Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chief Complaint Task 3: Add end/summarize function to LLM #35

Open
1 task done
nriedman opened this issue Jan 30, 2024 · 0 comments
Open
1 task done

Chief Complaint Task 3: Add end/summarize function to LLM #35

nriedman opened this issue Jan 30, 2024 · 0 comments
Labels
Chief Complaint enhancement New feature or request

Comments

@nriedman
Copy link
Contributor

Use Case

When chatting with the LLM for the chief complaint, the LLM must be able to recognize when it has enough information to construct a concise and informative Chief Complaint.

Problem

As of now, there is no way for the LLM to tell when it is finished.

Solution

We can provide the LLM with a function to call that will summarize the conversation into a concise Chief Complaint (using another LLM call), then can update the system prompt to encourage the LLM to use this function to finish the conversation.

Alternatives considered

We could also hard code an interaction limit (i.e. summarize the conversation after at most 5 interactions). Consider both LLM reasoning and hard limit.

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct and Contributing Guidelines
@philippzagar philippzagar added enhancement New feature or request Chief Complaint labels Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Chief Complaint enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants