Skip to content

Comments

Bugfix/issue 201/ai hallucinates#216

Merged
vladislav-k1 merged 12 commits intodevfrom
bugfix/issue-201/ai-hallucinates
Mar 12, 2025
Merged

Bugfix/issue 201/ai hallucinates#216
vladislav-k1 merged 12 commits intodevfrom
bugfix/issue-201/ai-hallucinates

Conversation

@vladislav-k1
Copy link
Contributor

@vladislav-k1 vladislav-k1 commented Mar 12, 2025

Issue(s):

#201
#133

Type of change: (choose required ones)

  • Bug fix
  • Refactor/Optimization

Description:

Removed IBM Watsonx - related classes.
The app now maintains conversation context and APIs correctly.
Rewritten corresponding unit tests.

Additional context:

Merge conflicts have to be solved.

Testing instructions:

  1. Run unit tests using the developer instructions in README.
  2. Run the web app using the developer instructions in README.
  3. Choose "I need help with choosing a course" chat initialisation options.
  4. Provide some random preferences, experience level and amount of available time. The chatbot should return valid course descriptions and links, like on image below. image
  5. Check if URLs provided with course descriptions are valid, by opening them, logging in to IBM SkillsBuild and checking the description there.

@vladislav-k1 vladislav-k1 added Backend Issue relates to backend code. Frontend Issue relates to frontend code. OpenAI Issue relates to OpenAI API platform. labels Mar 12, 2025
@vladislav-k1 vladislav-k1 added this to the Final Release milestone Mar 12, 2025
@vladislav-k1 vladislav-k1 self-assigned this Mar 12, 2025
@vladislav-k1 vladislav-k1 linked an issue Mar 12, 2025 that may be closed by this pull request
1 task
@vladislav-k1 vladislav-k1 linked an issue Mar 12, 2025 that may be closed by this pull request
Copy link
Contributor

@Siyuan106 Siyuan106 left a comment

Choose a reason for hiding this comment

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

LGTM.

@yi23484 yi23484 self-requested a review March 12, 2025 11:18
Copy link
Contributor

@yi23484 yi23484 left a comment

Choose a reason for hiding this comment

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

All unit tests pass, and chatbot provides satisfactory responses. LGTM

@vladislav-k1 vladislav-k1 merged commit 15be440 into dev Mar 12, 2025
2 checks passed
@vladislav-k1 vladislav-k1 deleted the bugfix/issue-201/ai-hallucinates branch March 12, 2025 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Backend Issue relates to backend code. Frontend Issue relates to frontend code. OpenAI Issue relates to OpenAI API platform.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] AI hallucinates Ensure language model provide links to the courses

3 participants