Open Startonix opened 1 month ago
test_nlp_module.py
import unittest
class TestNLPModule(unittest.TestCase): def test_response(self): response = enhanced_chat_with_gpt("What is AI?", "Technology") self.assertIn("AI", response)
if name == 'main': unittest.main()
test_nlp_module.py
import unittest
class TestNLPModule(unittest.TestCase): def test_response(self): response = enhanced_chat_with_gpt("What is AI?", "Technology") self.assertIn("AI", response)
if name == 'main': unittest.main()