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

Python: Add Health Data example #162

Merged
merged 1 commit into from
Jan 4, 2024
Merged

Conversation

hillary-mutisya
Copy link
Contributor

This change adds an example of a TypeChat translator with history. Specifically, the translator keeps the previous agent responses and adds them the prompt, allowing the model to take them into account. In the health data example, the agent helps the user fill out information on their health history, current conditions and medication. The agent asks clarifying questions and keeps track of the data provided in the course of a conversation. This example is ported from the TypeChat.Net implementation.

Note: This sample works best with GPT 4

@pcdeadeasy
Copy link
Contributor

@hillary-mutisya are you planning to add the same example to TypeChat examples as well? Might be good to have that in there. I have a classification example too but I have not pushed in a PR. I have the classifier under bottish/typeagent as well.

Copy link
Contributor

@pcdeadeasy pcdeadeasy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@hillary-mutisya
Copy link
Contributor Author

Good call @pcdeadeasy. I can look into adding this to the typescript examples.

@hillary-mutisya hillary-mutisya merged commit 279f59e into main Jan 4, 2024
6 checks passed
@DanielRosenwasser DanielRosenwasser deleted the users/hillarym/health branch March 29, 2024 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants