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

Provide specialty-specific term lists. #2

Open
diegoabeltran16 opened this issue Jul 17, 2024 · 0 comments
Open

Provide specialty-specific term lists. #2

diegoabeltran16 opened this issue Jul 17, 2024 · 0 comments

Comments

@diegoabeltran16
Copy link
Owner

diegoabeltran16 commented Jul 17, 2024

Objective

Offer curated lists of medical terms specific to different medical specialties.

Details

  • LLM Integration: Use LLMs to analyze medical terms and suggest appropriate specialties based on their descriptions and context.
  • Implementation: Tag each term in the database with one or more specialties using LLM analysis. Provide commands in the Discord bot where interpreters can select a specialty to view the relevant terms.

python

@client.event
async def on_message(message):
if message.content.startswith('!specialty'):
specialty = message.content[len('!specialty '):]
response = openai.Completion.create(
engine="text-davinci-003",
prompt=f"List medical terms for the specialty: {specialty}",
max_tokens=100
)
terms = response.choices[0].text.strip().split(',')
await message.channel.send(f"Terms for {specialty}: {', '.join(terms)}")

@diegoabeltran16 diegoabeltran16 changed the title Provide specialty-specific term lists. 2. Provide specialty-specific term lists. Jul 17, 2024
@diegoabeltran16 diegoabeltran16 changed the title 2. Provide specialty-specific term lists. Provide specialty-specific term lists. Jul 17, 2024
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

No branches or pull requests

1 participant