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