mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-02 14:45:17 +02:00
fix embed
This commit is contained in:
parent
f2aa4e3f9d
commit
062b13fc6c
2 changed files with 4 additions and 3 deletions
|
|
@ -16,7 +16,8 @@ async def main():
|
|||
invoice_path = Path(__file__).parent.joinpath("..", "tests", "data", "invoices", "invoice-2.png")
|
||||
encode_image(invoice_path)
|
||||
# res = await llm.aask(msg="return `True` if this image might be a invoice, or return `False`", images=[img_base64])
|
||||
await llm.aask(msg="hello")
|
||||
res = await llm.aask(msg="hello")
|
||||
print(res)
|
||||
# assert ("true" in res.lower()) or ("invoice" in res.lower())
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue