-
Notifications
You must be signed in to change notification settings - Fork 34
LLM qualifier #435
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
base: master
Are you sure you want to change the base?
LLM qualifier #435
Conversation
Docs preview URL |
Coverage Report
Files without new missing coverage
283 files skipped due to complete coverage. Coverage success: total of 97.98% is above 97.94% 🎉 |
d2e1f39 to
65669dc
Compare
9a55bad to
f3ac94b
Compare
|
Hi @aricohen93, great work ! I took the liberty to make some small/large modifications. Here's a summary
|
a5f65cb to
ecaf893
Compare
…e schema w/ pydantic
ecaf893 to
5ba1346
Compare
|
|



Description
The
LLMSpanClassifiercomponent is a LLM attribute predictor.Tutorial :
https://edsnlp-llm-qualifier.vercel.app/llm-qualifier/tutorials/qualifying-entities-with-llm/
Two main classes are proposed:
LLMSpanClassifiercomponent is a LLM attribute predictor.AsyncLLMclass is a helper to interact asyncronuously with an external llm API. It receives a list of messages (from edsnlp or not) and it returns the answer.The tests are also structured in two main parts.
Checklist