Skip to content

feat: add optional 'tag' parameter to message() #179

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

PraaneshSelvaraj
Copy link

Summary

Added an optional tag parameter to the message() method to support multiple app versions when making requests to the Wit.ai API.

This makes it easier to specify which version (tag) of the app the message should be evaluated against.

Changes

  • Updated message() in wit.py to accept a tag argument.
  • If provided, tag is added to the request params.

Use Case

I have multiple versions of my app on Wit.ai, and this change allows me to direct queries to a specific version using the tag parameter. This helps in testing and deploying versioned NLP models without modifying core logic.

Related Issue

Fixes #167


Let me know if anything else needs tweaking!

@PraaneshSelvaraj
Copy link
Author

Hi! @patapizza @martinraison @Sharan-Babu Just following up on this PR — it's been 2 weeks. All checks are green and CLA is signed. Let me know if anything else is needed. Thanks! 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support tag parameter in message() method
2 participants