Skip to content

AI Function Calling Example fails as model is not precise enough #166

@mkarg

Description

@mkarg

As an AI beginner I am really thankful for @tjake's efforts in the Java-AI-area. Unfortunately I noticed that the AI Function Calling Example fails as the used model is not precise enough:

  • Most times it works well.
  • After several attempts the answer is that transaction T100 or T10005 is not found (apparently the model cuts away the 5 or adds a zero).
  • Slightly modifying the question sent into the chat is responded with a (completely correct!) description which method one has to call to get the result, but JLama is not calling the method anymore itself:
    To get the status and date of transaction 'T1005', I will use the 'retrievePaymentStatus' and 'retrievePaymentDate' functions.
     
    First, I will use the 'retrievePaymentStatus' function with the argument 'T1005' to get the status:
     
    retrievePaymentStatus('T1005')
     
    Then, I will use the 'retrievePaymentDate' function with the same argument 'T1005' to get the date:
     
    retrievePaymentDate('T1005')
     
    After getting the status and date, I will display them to you.
    

Can this get fixed? How can I make this work again until a fix exists?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions