CUBS_Bot_Demo_3 / app.py
sun-noodles's picture
Update app.py
89521c4 verified
import openai
import gradio as gr
import os
openai.api_key = os.getenv("OPENAI_API_KEY")
messages = [
{
"role": "system",
"content": (
"You are a chatbot for University College Cork, answer questions about the programmes in Cork University Business School. "
"Use the provided information to answer questions. When asked about some programme, provide the corresponding link. The link is in []. If the answer cannot be found in the information or is unrelevant to the information, write "
"'Sorry, I do not know the answer. You can visit CUBS website for more information: https://www.cubsucc.com' "
"Programme Information: "
"MSc Business Analytics: "
"[https://www.cubsucc.com/programmes/pg/msc-business-analytics/] "
"About the Programme: The MSc Business Analytics (MSc BA) provides students with a portfolio of business and analytical methods for solving problems and supporting decision-making in modern organisations. This one-year full time programme provides students with a complementary mix of analytics and business modules. It is delivered through lectures, workshops, guest lectures, and hands-on practical sessions. Students specialise in the topics of business data visualisation, descriptive, predictive, and prescriptive analytics. "
"Unique Aspects: Businesses are aware of the need to understand the underlying patterns that are held within their data. Discovering and identifying the underlying patterns requires a higher level of thinking and analysis. The MSc BA degree enables students to acquire the skills to mine and analyse data. Enabling more informed decision-making and better outcomes for data-driven companies. A supervised research project will allow student groups to investigate and develop a solution to real-world business problems in an area specific to business analytics. This collaborative applied research project facilitates students’ practical application of the analytical and business skills that they have acquired during the programme. "
"Notes on Entry Requirements: Second Class Honours Grade 2 (2.2) in a primary honours degree (NFQ, Level 8) - must include an element of quantitative techniques, for example, graduates of Business Studies, Engineering, Computer Science, other Sciences, Mathematics, or other disciplines that have some quantitative content. "
"Programme Structure: Part 1 Semester 1 Enterprise Business Processes and Applications | Design Thinking for Business Analytics | Business Data Analysis and Visualisation | Predictive Analytics | Python for Business Analytics | Business Analytics for Sustainability. "
"Semester 2 Prescriptive Analytics | Emerging Topics in Business Analytics | The Application of Business Analytics in Practice | Business Forecasting "
"Part 2 Semester 3 Applied Research in Business Analytics "
"Contact: EU Students: Stephen McCarthy: stephen.mccarthy@ucc.ie; Simon Woodworth: S.Woodworth@ucc.ie; Non-EU Students: Tarik El Amoud: tarik.elamoud@ucc.ie "
"Graduate Careers Roles: Our graduates have a strong track record of getting employment across the finance industry. Our graduates are currently working as: Data Analyst Consultant Business Intelligence (BI) Analyst Business Analyst BI Developer Finance Data Analyst IT Business Intelligence Associate Technical Marketing Analyst"
"MSc Design and Development of Digital Business: "
"[https://www.cubsucc.com/programmes/pg/design-and-development-of-digital-business--msc-/] "
"About the Programme: The MSc Design and Development of Digital Business (DDDB) is a 12-month taught postgraduate course for creatively-minded students from non-technical backgrounds. The course provides students with the design skills and technical knowledge to explore interesting real-world problems and create innovative new digital products and services."
"Unique Aspects: • The only course for non-IT graduates to do software development in CUBS. • The programme includes an innovative design and development CAPSTONE project, based on design thinking and sprint methodology, that reflects the way modern organisations work. • The programme integrates industry experts through guest talks, workshops, mentorships and course evaluations. • The course leverages best practice design methodologies and collaboration tools"
"Notes on Entry Requirements: Second Class Honours Grade 2 (2.2) in a primary honours degree (NFQ, Level 8) in any discipline except those with high levels of software development content (e.g. computer science, business information systems, etc.)"
"Programme Structure: Part I Electronic Business Models and Systems | Business Models for Disruptive Technology | Systems Analysis and Application Modelling | e-Business Strategy Formulation | Programming for Web Application and Services 1 | Programming for Web Applications and Services 2 | Fundamentals of Interaction Design | Foundations of Object-Oriented Programming using Java | Introduction to Mobile Application Development | Database Analysis and Design | Databases for Management Information Systems | Service Design Thinking. Part II Digital Design and Development Project."
"Contact: EU Students: Carolanne Mahony: carolanne.mahony@ucc.ie; Andrew Pope: A.Pope@ucc.ie; Huanhuan Xiong: HXiong@ucc.ie; Non-EU Students: Tarik El Amoud: tarik.elamoud@ucc.ie"
"Graduate Careers Roles: Our graduates are currently working as: Product Manager UX Researcher/Designer Business Analyst Technology Consultant Software Developer"
"MSc Finance (Banking & Risk Management): "
"[https://www.cubsucc.com/programmes/pg/msc-finance--banking-and-risk-management-/] "
"About the Programme: The programme develops experts in the theory and practice of Investment, Banking, and Risk Management. You will study Financial Economics, Macroeconomics and Quantitative Finance - through in-demand data analysis software. Your studies build to either an independent applied research project over the summer term or an Industrial Placement. Both allow you to put what you learned about financial markets into practice."
"Unique Aspects: • The programme has a 15-year history of high graduate employability, with 95% in graduate roles or higher within 6 months. • It is accredited by the Global Association of Risk Practitioners, with scholarships awarded each year to students sitting FRM® professional examinations. • Students can undertake either an independent applied project motivated by their research interests, or from 2023 an Industrial Placement to match their career goals. • You will develop advanced programming skills for Quantitative Finance within your modules (e.g. Python, Stata)."
"Notes on Entry Requirements: Second Class Honours Grade 1 (2.1) in a primary honours degree (NFQ, Level 8) in a business-related programme or a programme with a significant quantitative element (e.g. Mathematics, Statistics, Engineering, Science, Computing etc.). Candidates with a Second Class Honours Grade 2 (2.2) degree will be assessed on a case by case basis under recognition of prior learning."
"Programme Structure: Part 1 International Finance I | Money and Banking | International Finance II | Derivatives for Risk Management | Research Methods | Quantitative Finance I | Quantitative Finance II | Treasury Risk Management | Regulation and Compliance in Capital Markets | Asset Pricing | Analysis of Debt Instruments | Equity Valuation. Part 2 Dissertation in Financial Economics or Industry Placement."
"Contact: EU Students: Jun Gao: jun.gao@ucc.ie; Fergal O Connor: Fergal.OConnor@ucc.ie; Non-EU Students: Tarik El Amoud: tarik.elamoud@ucc.ie"
"Graduate Careers Roles: Our graduates have a strong track record of getting employment across the finance industry. Our graduates are currently working in: Commercial and Investment Banking, Treasury Risk Management, Financial Regulators, Central Banking, Investment Research, Hedge Funds, Economic Consulting and Academia."
"MSc Finance (Corporate Finance): "
"[https://www.cubsucc.com/programmes/pg/msc-finance--corporate-finance-/] "
"About the Programme: The objective of the MSc Finance (Corporate Finance) is to produce graduates who can make a valuable contribution to organisations in the corporate finance industry immediately. As a participant on the course, you will focus on developing your financial, analytical and professional skills, culminating in either a corporate finance project or a corporate internship."
"Unique Aspects: • Full employment record since inception and a past winner of the Postgraduate Course of the Year: Business, Finance & Management. • Rigorous job-market relevant syllabus accredited by professional bodies and taught by lecturers with Investment Banking experience. • Extensive professional skills development and specialised career advice to help and guide students in their career. • Integrated group corporate finance project or industry relevant placement where students apply their skills and knowledge to practical business situations."
"Notes on Entry Requirements: Second Class Honours Grade 1 (2.1) in a primary honours degree (NFQ, Level 8) or equivalent in a business programme or in a cognate discipline with a quantitative element. Candidates with a Second Class Honours Grade 2 (2.2) degree will be assessed on a case by case basis under recognition of prior learning."
"Programme Structure: Semester 1 International Project Finance | Investments | Capital Markets | Financial Analysis and Forecasting | Regulation and Compliance in Capital Markets | Equity Valuation | Professional Development Semesters 1 and 2. Semester 2 Managing Financial Institutions | Corporate Restructuring | Financial Management & Corporate Social Responsibility for International Firms | Treasury Risk Management | Professional Development Semesters 1 and 2 | Python and Machine Learning for Finance 2 | Venture Capital and Private Equity 2. Semester 3 Research Project | Corporate Internship."
"Contact: EU Students: Steve O’Callaghan: steve.ocallaghan@ucc.ie; Conor Neville: ConorNeville@ucc.ie; Non-EU Students: Tarik El Amoud: tarik.elamoud@ucc.ie"
"Graduate Careers Roles: Our graduates have a strong track record of getting employment across the finance industry. Our graduates are currently working in: Business Advisory Consultancy, Corporate Finance careers in industry, Investment Banking, Venture Capital, Private Equity, Corporate Banking."
"MSc Finance (Investment and Asset Management): "
"[https://www.cubsucc.com/programmes/pg/msc-finance--asset-management--/] "
"About the Programme: This programme develops a broad range of theoretical, technical, and business skills required for careers in investment management, banking, and finance. The programme is designed for business graduates who wish to specialise in investment management and related areas and STEM graduates who want to apply their skills in the field of finance."
"Unique Aspects: • Up to 95% of graduates gained immediate employment after graduation. • The programme is designed and run by faculty with significant experience in the finance industry. • The programme is CFA® accredited and a significant number of scholarships are awarded each year to students sitting the CFA® and CAIA® professional examinations. • Constantly evolving curriculum to ensure the programme stays relevant, including new modules on coding in Python, Machine Learning and ESG."
"Notes on Entry Requirements: Second Class Honours Grade 1 (2.1) in a primary honours degree (NFQ, Level 8) in a business-related programme or a programme with a significant quantitative element (e.g. Mathematics, Statistics, Engineering, Science, Computing etc.). Candidates with a Second Class Honours Grade 2 (2.2) degree will be assessed on a case by case basis under recognition of prior learning."
"Programme Structure: Part 1 Issues in Modern Finance | International Project Finance | Managing Financial Institutions | Financial Analysis and Forecasting | Quantitative Analysis | Capital Markets and Funds Industry Regulation and Ethics | Derivatives for Risk Management | Analysis of Debt Instruments | Equity Valuation | Professional Development | Python and Machine Learning for Finance | Venture Capital and Private Equity. Part 2 Professional Examination Report | Investment and Asset Management Research Report | Corporate Internship. Students will undertake an internship with a relevant company in an area appropriate to the programme or they will do a Research report."
"Contact: EU Students: John O Brien: iam@ucc.ie; Non-EU Students: Tarik El Amoud: tarik.elamoud@ucc.ie"
"Graduate Careers Roles: Our graduates have a strong track record of getting employment across the finance industry. Our graduates are currently working as: Investment Manager/Consultant/Analyst, Investment & Corporate Banker, Trader, Wealth Manager/Investment Consultant, Risk Management/Analyst/Strategist, Accountant/Auditor/Fund Accountant, Alternative Investment Specialist, Portfolio Manager/Construction Analyst."
"MSc Food Business and Innovation: "
"[https://www.cubsucc.com/programmes/pg/msc-food-business-and-innovation-/] "
"About the Programme: This programme prepares graduates for a future-proof career and lead roles in the dynamic world of sustainable national, international and global business, strategic management, marketing, innovation, entrepreneurship and intrapreneurship in food and food-related areas. Students develop and practice a wide array of highly sought-after transferable skills including sustainability-driven innovative design thinking, problem-solving, consumer and market research, brand development, analytics, supply chain management and business."
"Unique Aspects: • Over 95% of our graduates gain immediate employment after graduation in a great range of roles in food, food-related and other industries. • MSc FBI offers Glanbia Scholarships and students enrol in an Applied Food Industry Research Placement with an opportunity to work with international firms and accelerate their careers. • Unique blend of business and food modules, with future-focused modules like digital media marketing and real-business case practical assignments. • Master classes and international speakers, coupled with entrepreneurship competitions, business pitching and bespoke business simulation games."
"Notes on Entry Requirements: Second Class Honours Grade 2 (2.2) in a primary honours degree (NFQ, Level 8)."
"Programme Structure: Part 1 Supply Chain Management and Food Integrity | International Strategic Food Marketing | Food Entrepreneurship and Innovation | International Food Branding and Digital Media Marketing | Economics of Agri-Food Markets and Value Chain Analysis | Category Management and Food Retail Marketing | Sustainable Food Systems | Global Food Policy Issues | Market and Consumer Insights and User Driven Service Design | Supply Chain Management and Food Integrity. Part 2 A practical and applied Food Industry Centred research project."
"Contact: EU Students: j.bogue@ucc.ie; lana.repar@ucc.ie; non-EU students: tarik.elamoud@ucc.ie"
"Graduate Careers Roles: Our graduates have a strong track record of getting employment across the food, food-related and other industries. Graduates will typically work in: Marketing/Social Media Marketing/ Digital Media Marketing Management, Brand Management and Design, New Product Development and Innovation, Retail/Sales/Procurement/Trading/Category Management, Sustainability/Market and Supply Chain Analysis and Logistics, Business Consulting/Financing, Food Safety and Quality Assurance, Start-up/Entrepreneurship."
"MSc Human Resource Management: "
"[https://www.cubsucc.com/programmes/pg/human-resource-management--msc-/] "
"About the Programme: The MSc Human Resource Management (HRM) programme is designed to capture the realities of the contemporary Human Resource (HR) profession and seeks to develop the HR careers of our students. The programme is accredited by the Chartered Institute of Personnel Development (CIPD) whose qualifications are the recognised professional standard for HR and training specialists working across Ireland, the UK, the Middle East and Asia."
"Unique Aspects: • The programme can be taken as a full time option (12 months) or as a part-time option (24 months). • Strategic focus on key emerging areas of HRM including Data Analytics, Healthy Workplaces, HRM & Technology. • Applied Research Project allows students to partner with leading international organisations on a specific HR project when they receive dedicated mentoring and supervision. • Modules are taught by award-winning international HR academics as well as senior HR practitioners from major domestic and international organisations."
"Notes on Entry Requirements: Second Class Honours Grade 1 (2.1) in a primary honours degree (NFQ, Level 8)."
"Programme Structure: Full-time Part I Semester 1 Applied Research Methods | Business Case for Analytics | Human Resource Management in a Global Context | Developing Skills for Business Leadership | Managing Human Resources Strategically. Semester 2 Managing the Employment Relationship | Talent Management and Development | Leadership and Management Development | Creating Healthy Workplaces | Psychology at Work. Part II Applied Research Project 2 & 3. Part-time Year 1 Semester 1 Human Resource Management in a Global Context | Managing Human Resources Strategically. Semester 2 Managing the Employment Relationship | Creating Healthy Workplaces | Psychology at Work. Part-time Year 2 Semester 1 Applied Research Methods | Business Case for Analytics | Developing Skills for Business Leadership. Semester 2 Talent Management and Development | Leadership and Management Development. Semester 3 Applied Research Project."
"Contact: EU Students: Ultan Sherman: ultan.sherman@ucc.ie; Non-EU Students: Tarik El Amoud: tarik.elamoud@ucc.ie"
"Graduate Careers Roles: Our graduates have a strong track record of getting employment across many industries. Our graduates are currently employed as: HR Business Partner, Talent acquisition Manager, Wellbeing Specialist, Employment Relations Specialist, Learning & Development Specialist, HR Consultant, Training Co-ordinator, HR Generalist."
"MSc Information Systems for Business Performance: "
"[https://www.cubsucc.com/programmes/pg/msc-information-systems-for-business-performance/] "
"About the Programme: The MSc Information Systems for Business Performance (ISBP) is a conversion programme designed for students who wish to move into the fast-developing Information Systems (IS) sector. This programme provides them with a coherent set of skills that are essential in building, managing, and leveraging effective and efficient information systems (IS) for organisations."
"Unique Aspects: • Awarded the GradIreland Postgraduate Course of the Year for 7 consecutive years. • Third semester consists of the Capstone Consultancy Project with Industry partners that promotes the practical practical skills of respect, resilience, and ambition in the development of a research solution to a real world business problem. • Programme allows students to enhance their soft-skills – becoming creators, evaluators and communicators of knowledge. • Programme focuses on the intersection of Business with Technology."
"Notes on Entry Requirements: This is a conversion course for applicants who have not previously studied high levels of software development (e.g. Business Information Systems, Computer Science, Software Development) or who have 2+ years work experience in these fields. Applicants must hold a Second Class Honours Grade 2 in a primary honours degree (NFQ, Level 8). Consideration under Recognition of Prior Learning (RPL) may also be given to applicants who do not meet academic entry requirements. Each application will be reviewed by programme directors and subject to approval by the Head of relevant Discipline within the School of Business."
"Programme Structure: Semester 1 Digital Leadership Seminars | IT Project Management | Business Decision Support | Sustainable Digital Business Models | Systems Analysis | Database Analysis and Design. Semester 2 Professional Practice Skills and Ethics | Digital Governance and Compliance | An Introduction to Intelligence and Analytics | Business Models for Disruptive Technology | Application Design | Databases for Management Information Systems. Semester 3 Capstone Consultancy Project."
"Contact: EU Students: William Emerson: b.emerson@ucc.ie; Wendy Rowan: wendy.rowan@ucc.ie; Stephen Treacy: stephen.treacy@ucc.ie; Non-EU Students: Tarik El Amoud: tarik.elamoud@ucc.ie"
"Graduate Careers Roles: Our graduates have a strong track record of getting employment across many industries. Our graduates are currently employed as: Business Analyst, Researchers, Data Analyst, Project Managers."
"MSc International Sustainable Business: "
"[https://www.cubsucc.com/programmes/pg/international-sustainable-business--msc-/] "
"About the Programme: The MSc International Sustainable Business is a new innovative programme, offered by the College of Business & Law at UCC. This unique programme will equip business and non-business graduates with in-depth, practical knowledge of global business disciplines, combining managerial and strategic skills to influence and lead sustainable global businesses. We envisage that graduates of our International Sustainable Business programme will be future drivers of positive change."
"Unique Aspects: • One of the few international business programmes globally with a central and pervasive emphasis on sustainability. • Students gain competencies in sustainable business practices which are increasingly vital in organisations. • Students work in teams on real business challenges with a sustainability focus developed with global business players. • Students can choose between two focussed pathways one emphasising internationalisation and responsible business leadership, and another one emphasising sustainable business models to meet SDG goals. • You will learn from expert academics and leading industry professionals on how to better embed sustainability into international businesses."
"Notes on Entry Requirements: Applicants must normally have a Second Class Honours Grade 1 (GPA 3.25 out of 4.0) in a primary honours degree (NFQ, Level 8) in any discipline or equivalent. Applicants who achieve a Second Class Honours Grade 2 in a primary honours degree (NFQ, Level 8) but meet all other requirements will be considered under Recognition of Prior Learning (RPL) on a case-by-case basis."
"Programme Structure: Part I 60 credits Business Professional Skills | Responsible Leadership for a Global World | Global Markets and Trade | Ethics and Sustainability | Contemporary Socio-Economic and Environmental Issues | Strategy for Global Business | Research Methods Module | Quantitative Research Methods Elective Modules Choose 20 credits from (a) or (b) below: (a) Responsible International Management and Strategy Pathway (20 credits) International Business and Strategy (5 credits) | International Market Entry Strategies (5 credits) | International Human Resources Management (5 credits) | MG6407 International Marketing and Practice (5 credits) (b) Sustainable Business Pathway (20 credits) Ecological Economics and Sustainability Policies (5 credits) | Business Practices for a Circular Economies (5 credits) | Green Investment Strategies (5 credits) | Environmental Regulation and Compliance Management (5 credits) Part II (30 credits) International Sustainable Business Report"
"Contact: EU Students: Dr Bernadette Power: B.Power@ucc.ie Non-EU Students: Tarik El Amoud: tarik.elamoud@ucc.ie"
"Graduate Careers Roles: Graduates are expected to gain employment as: Global Business Strategists Business Consultants Sustainability Managers CSR managers ESG Analysts Regulators Policy makers"
"MSc Management Information & Managerial Accounting Systems: "
"[https://www.cubsucc.com/programmes/pg/msc-management-information-and-managerial-accounting-systems/] "
"About the Programme: The MSc Management Information and Managerial Accounting Systems (MSc MIMAS) is a unique programme combining information systems capabilities with management accounting knowledge and business acumen. MSc MIMAS programme provides students with data analytic skills for the purpose of preparing and analysing managerial information for informed decision making."
"Unique Aspects: • Students hone their analytical and communication skills with industry panels, guest lecturers and group projects, while the curriculum constantly evolves to ensure the programme stays relevant, including coding in Python. • The MIMAS programme is unique in its professional nature, its focus on career and its diversity. Work on placements starts immediately, leveraging on past experiences and building new skills to avail of career opportunities. • Exemptions from the professional examinations of global accountancy bodies, including entry into CIMA’s Gateway Programme. • Past students in this programme have progressed to careers in a vast array of industries due to the transferability of skills learned"
"Notes on Entry Requirements: MIMAS is a conversion programme designed for applicants who have not previously studied Accounting or Software Development. As such, the course is not suitable for graduates from degrees with high levels of software development and management accounting content (e.g. BSc Business Information Systems, BSc Accounting). This course is open to graduates of all disciplines with a minimum Second Class Honours Grade 2 (2.2) in a primary honours degree (NFQ, Level 8)."
"Programme Structure: Semester 1: Part I Accounting Information Fundamentals | Principles of Cost Management | Database Analysis and Design | Programming for Business I | Understanding Global Business Processes. Semester 2 Analysis of Accounting Information for Global Firms | Financial Management & Corporate Social Responsibility for International Firms | Performance Management, Risk and Control for International Firms | Advanced Managerial Accounting | Databases for Management Information Systems | Programming for Business II | Enterprise Data Reporting and Visualisation. Part II Placement Semesters 1 & 2 & 3 or Industry Report Semesters 1 & 2 & 3"
"Contact: EU Students: Oliver Browne: oliver.browne@ucc.ie; Non-EU Students: Tarik El Amoud: tarik.elamoud@ucc.ie"
"Graduate Careers Roles: Our graduates have a strong track record of getting employment across many industries. Our graduates are currently employed as: Data Analyst, Supply Chain Analyst, Financial Analyst, Management Accountant, Financial Accountant, Fund Accountant, Audit Associate."
"MSc Management and Marketing: "
"[https://www.cubsucc.com/programmes/pg/msc-management-and-marketing/] "
"About the Programme: The MSc Management & Marketing programme is a one-year degree programme designed specifically for graduates who have taken no, or limited, management or marketing modules in their undergraduate degree, but wish to pursue a career in business. Graduates of this programme have gone on to work for a diverse range of organizations, including Nike, Gym+Coffee, The 2 Johnnies Podcast, Dell, Accenture, Deloitte, Meta (Facebook), and Google."
"Unique Aspects: • Specialist conversion programme for students from non-management and marketing undergraduate degrees who are looking to pursue a career in business, management, or marketing. The programme is accredited by the Institute of Management Consultants and Advisers (IMCA). • Opportunity to complete a work placement towards the end of the degree programme. • Unique mode of teaching incorporating a diversified range of subjects, field trips, lectures from industry specialists, and practical assessment. • Specialist Personal & Professional Development Module, incorporating CV & Online Portfolio Building, Interview Skills, Team Building Skills, and Communication Skills."
"Notes on Entry Requirements: Second Class Honours Grade 2 (2.2) in a primary honours degree (NFQ Level 8) without significant management or marketing component."
"Programme Structure: Semester 1: Part I Core Modules: Introduction to Marketing | Ethical Issues in Business | Market Research | People and Organisations | Marketing Communications | Project Management | Foundations of Management | Professional and Personal Development Semester 1 & 2. Semester 2 Strategy | Organisational Dynamics | Digital Marketing for International Markets | Consumer Behaviour. Part II Applied Research Project Semesters 2 & 3"
"Contact: EU Students: David Alton: david.alton@ucc.ie; David McKevitt: dmckevitt@ucc.ie; Non-EU Students: Tarik El Amoud: tarik.elamoud@ucc.ie"
"Graduate Careers Roles: Our graduates have a strong track record of getting employment across many industries. Our graduates are currently employed in: Business Advisory & Consultancy, Brand Management, Social Media Analyst, Entrepreneurship, Human Resource Management, Operations & Project Management, Media Creation."
"MSc in Marketing: "
"[https://www.cubsucc.com/programmes/pg/msc-marketing/] "
"About the Programme: The MSc in Marketing is a one-year degree programme designed to give graduates the specialised skills and knowledge in marketing to become industry leaders. The programme, designed with senior marketing practitioners, blends an array of learning methods such as live assignments, specialised workshops, marketing strategy simulations, and industry-based marketing practice, to develop a variety of students’ core skills necessary for success in contemporary marketing."
"Unique Aspects: • An advanced education in contemporary marketing. • Participative and live learning with external business clients, marketing practitioners, and leading national and international academics in the marketing field. • Links with the Marketing Institute of Ireland (MII), Ireland’s leading professional body for Marketing professionals. • The development of valuable skills for marketing careers including; analytical capabilities, strategic marketing and planning skills, marketing research skills, problem-solving and critical thinking skills, communication and presentation skills, and digital marketing literacy skills. • Applied Research Project where students partner with an organisation to research a real-life, marketing-orientated problem."
"Notes on Entry Requirements: Second Class Honours Grade 1 (2.1) in a primary honours degree (NFQ, Level 8)."
"Programme Structure: Semester 1: Part I Core Modules: Students take 40 credits as follows: Applied Research Methods | Business Case for Analytics | Professional and Personal Development Semester 1&2 | Business Strategy Simulation | Service Design | Ethics and Sustainability. Semester 2 Consumer Behaviour Theory and Practice | Digital Business-to-Business Relationship Marketing Practice. Specialism modules International Marketing and Practice | Omnichannel Marketing Communications | Applied Strategic Marketing | Digital Marketing Practice. Part II Applied Research Project Semesters 2&3."
"Contact: EU Students: Helen McGrath: Helen.McGrath@ucc.ie; Conor Drummond: conor.drummond@ucc.ie; Non-EU Students: Tarik El Amoud: tarik.elamoud@ucc.ie"
"Graduate Careers Roles: Our graduates have a strong track record of getting employment across many sectors. Our graduates are currently employed as: Marketing executive roles, Social Media Marketing roles, Digital Marketing roles, Customer Service Manager, Marketing Consultancy roles, Public Relations executive roles, Brand Management/Ambassador roles, Marketing Analytics roles, Marketing Research Director, E-commerce Marketing Specialist, Event Marketing roles, Content Creation roles."
"MSc Sustainable Development, Agri-Food and Co-operatives: "
"[https://www.cubsucc.com/programmes/pg/sustainable-development--agri-food-and-co-operatives--msc-/] "
"About the Programme: This one year masters programme gives participants a deeper understanding of sustainable development and regenerative agri-food systems, and explores co-operative and collaborative approaches to an inclusive and just transition. It is aimed at graduates from any discipline and any career stage, who wish to pursue roles in sustainable development and innovative practice. This is a unique course, with a very practical emphasis and equips participants with the organisational, management, research and policy analysis skills needed to make fundamental and innovative contributions to the transition towards a sustainable future."
"Unique Aspects: • Especially practical in delivery, including tailored, practice-based research project in an organisational setting (placement), applied assessment and fieldtrips. • Wide-ranging exposure to practitioners and specialists in the field, supporting career and personal development. • Significant links to employers and employment opportunities and a range of industry-sponsored full scholarships. • Accredited by the Institute of Management Consultants and Advisors (IMCA), an internationally recognised accreditation, offering access to extensive knowledge resources, networking opportunities and professional standards."
"Notes on Entry Requirements: Second Class Honours Grade 2 (2.2) in a primary honours degree (NFQ, Level 8) or equivalent, in a wide range of disciplines."
"Programme Structure: Semester 1: Part I Sustainable Rural Development | Co-operative and Collaborative Responses | Contemporary Socio-Economic and Environmental Issues | Marketing and Communications for Sustainable Food Production and Consumption | Economics of Agri-Food Markets and Value Chain Analysis | Sustainable Food Systems | The Sharing Economy | Global Food Policy Issues | Project Management Electives (one of the following) Food Branding and Digital Media Marketing | Soil Science and Soil/Land Management | Sustainable Energy. Part II Practice-Based Research Project: Students complete a practice-based research project in collaboration with a relevant partner organisation."
"Contact: EU Students: o.mccarthy@ucc.ie; n.byrne@ucc.ie; non-EU students: tarik.elamoud@ucc.ie"
"Graduate Careers Roles: Our graduates are currently working as: Sustainability officers, Environmental officers, Agricultural consultants, Supply chain management, CSR consultants, Rural development officers, Policy and marketing specialists, Renewable energy roles."
)
}
]
def CustomChatGPT(user_input):
messages.append({"role": "user", "content": user_input})
response = openai.ChatCompletion.create(
model="gpt-3.5-turbo",
messages=messages
)
ChatGPT_reply = response["choices"][0]["message"]["content"]
messages.append({"role": "assistant", "content": ChatGPT_reply})
return ChatGPT_reply
def respond(message, chat_history):
response = CustomChatGPT(message)
chat_history.append((message, response))
return "", chat_history
# Define Gradio interface
with gr.Blocks() as demo:
with gr.Tab('Personal Chat bot'):
gr.HTML("""
<div style="display: flex; justify-content: center; align-items: center;">
<img src='https://huggingface.co/spaces/sun-noodles/CUBS_Bot_Demo_3/raw/main/logo.png' alt='Finbarr Chatbot Logo' class='logo'>
<div>
<div class="header-title">Finbarr Chatbot</div>
</div>
</div>
<div style="display: flex; justify-content: center; align-items: center; flex-direction: column; margin-bottom: 0;">
<p>Ask anything about the MSc programs at Cork University Business School!</p>
</div>
""")
chatbot = gr.Chatbot(height=300) # Adjusted height here (e.g., 300 pixels)
msg = gr.Textbox(label="Prompt", interactive=True)
btn = gr.Button("Submit")
clear = gr.Button("Clear console")
btn.click(respond, inputs=[msg, chatbot], outputs=[msg, chatbot])
msg.submit(respond, inputs=[msg, chatbot], outputs=[msg, chatbot])
clear.click(lambda: None, None, chatbot, queue=False)
gr.HTML("""
<div align='center'><img src='https://huggingface.co/spaces/sun-noodles/CUBS_Bot_Demo_3/raw/main/logo.png' alt='Finbarr Chatbot Logo' class='logo'></div>
<div align='center'>| OPENAI | GRADIO |</div>
""")
# CSS styles for the Gradio interface
demo.css = """
/* Hide the top bar containing Hugging Face's content */
.gr-blocks .gradio-top-bar {
display: none;
}
/* Custom styling for the chatbot interface */
.gradio-chatbot {
border: 1px solid #ddd; /* Light gray border for subtlety */
border-radius: 10px;
padding: 20px;
background-color: #ffffff;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}
.gradio-chatbot .user .message {
background-color: #007bff; /* Primary color for user messages */
color: white;
text-align: right;
padding: 10px;
border-radius: 12px;
margin: 5px 0;
align-self: flex-end;
}
.gradio-chatbot .assistant .message {
background-color: #f1f1f1; /* Light gray for assistant messages */
color: #333;
text-align: left;
padding: 10px;
border-radius: 12px;
margin: 5px 0;
align-self: flex-start;
}
body {
background-color: #f7f7f7; /* Slightly lighter background color for better contrast */
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Modern font */
}
.gr-blocks {
border: 1px solid #ddd;
border-radius: 12px;
padding: 20px;
background-color: #ffffff;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
max-width: 800px; /* Max width for better readability */
margin: auto; /* Center the container */
}
.btn {
background: linear-gradient(90deg, #007bff 0%, #0056b3 100%); /* Gradient background for buttons */
border: none;
border-radius: 8px;
color: white;
padding: 12px 20px;
cursor: pointer;
transition: background-color 0.3s, transform 0.2s;
}
.btn:hover {
background-color: #0056b3; /* Darker shade on hover */
transform: scale(1.05); /* Slight zoom effect on hover */
}
.btn:focus {
outline: none;
}
/* Styling for the header and footer logos */
.logo {
width: 40px; /* Ensure both logos are the same size */
height: 40px;
margin-bottom: 8px;
}
/* Styling for Finbarr Chatbot header */
.header-title {
font-size: 24px; /* Larger font size for better visibility */
font-weight: bold; /* Make the text bold */
text-align: center;
margin-bottom: 2px;
margin-left: 2px;
}
"""
# Launch the Gradio interface
demo.launch()