Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Enhanced FAQ lookup tool in examples/customer_service app#1063

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
HasnainCodeHub wants to merge2 commits intoopenai:main
base:main
Choose a base branch
Loading
fromHasnainCodeHub:main

Conversation

HasnainCodeHub
Copy link

faq_lookup_tool to improve keyword detection and support case-insensitive input.

1. Expanded Keyword Coverage:

Baggage: Added "luggage", "carry-on", "hand luggage", "hand carry" etc

Seats: Added "seating" and similar words

Wifi: Added "internet", "wireless", "connectivity", "network", "online" etc

2. Case Insensitivity:

User input is now matchedinput.lowercase() regardless of capitalization or not.

Reduces missed matches and "I don’t know" responses.

Handles user input more flexibly across different typing styles and words.

This makes the tool more accurate and user-friendly introduce I don't know responses.

Added additional keywords and implemented case insensitivity to improve the tool's ability to handle a wider range of user questions.
@seratchseratch changed the titleEnhanced FAQ lookup tool in main.pyEnhanced FAQ lookup tool in examples/customer_service appJul 11, 2025
@seratchseratch added the documentationImprovements or additions to documentation labelJul 11, 2025
Co-authored-by: Kazuhiro Sera <seratch@openai.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@seratchseratchseratch requested changes

Requested changes must be addressed to merge this pull request.

Assignees
No one assigned
Labels
documentationImprovements or additions to documentation
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@HasnainCodeHub@seratch

[8]ページ先頭

©2009-2025 Movatter.jp