Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename "airport code" NYC to LGA (LaGuardia) in examples/tools #169

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

therealkenc
Copy link
Contributor

NYC is not an airport code, and smart models, notably Qwen, will catch this, and substitute JFK to correct the user's mistake. The the tool schema specifies that the function takes airport codes.

This can be confusing for people new to the API, since the natural reaction is that the model is broken and not the setup.

NYC is not an airport code, and smart models,
notably Qwen, will catch this, and subsitute
JFK to correct the user's mistake. The
the tool schema specifies that the
function takes airport codes.
Copy link
Collaborator

@BruceMacD BruceMacD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for making this PR, this seems like it will improve the results of the example so I appreciate it.

@BruceMacD BruceMacD merged commit 3e29d3f into ollama:main Dec 2, 2024
3 checks passed
@therealkenc therealkenc deleted the fix-airport-code branch December 3, 2024 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants