Views
No views yet
1 from llmware.models import ModelCatalog
2 text_passage = "The company announced that for the current quarter the total revenue increased by 9% to $125 million."
3 model = ModelCatalog().load_model("slim-extract-phi-3-ov")
4 llm_response = model.function_call(text_passage, function="extract", params=["revenue"])
5
6 Output: `llm_response = {'revenue': ['$125 million']}`