mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-21 09:05:23 -04:00
Semantic recognition or semantic classification #204
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @20246688 on GitHub (Jan 17, 2025).
When working on tools, is there a way to incorporate semantic recognition or semantic classification based on user text before model inference?
@ParthSareen commented on GitHub (Feb 13, 2025):
If you're asking about how tools get called - the model is going to take into account whatever context/messages it's been passed. If you want to pre-filter a user's intent you can have a multiple calls to the model to do that.
@20246688 commented on GitHub (Feb 13, 2025):
Thank you for your response. I'm already trying to tag tasks using the model, then fetching the relevant data based on those tags and sending it as context to the model.