"Generative AI has numerous business applications across various industries, including:\n",
"\n",
"1. **Content Generation**: AI can generate high-quality content such as articles, social media posts, product descriptions, and more. This can help businesses reduce content creation costs and increase efficiency.\n",
"2. **Image and Video Generation**: Generative AI can create realistic images and videos for marketing, advertising, and entertainment purposes. For example, it can be used to generate product images, animations, or even entire movies.\n",
"3. **Chatbots and Virtual Assistants**: AI-powered chatbots can provide 24/7 customer support, answer frequently asked questions, and help with simple inquiries. They can also be used in virtual assistants for tasks such as scheduling appointments and sending reminders.\n",
"4. **Predictive Analytics and Forecasting**: Generative AI can analyze large datasets to make predictions about future trends and patterns. This can help businesses make informed decisions about investments, resource allocation, and more.\n",
"5. **Product Design and Development**: AI can generate 3D models, prototypes, and even entire product lines. This can save businesses time and resources in the design and development process.\n",
"6. **Marketing Automation**: Generative AI can automate many marketing tasks such as lead generation, email marketing, and social media advertising. It can also help personalize marketing campaigns based on customer data.\n",
"7. **Customer Segmentation and Profiling**: AI can analyze large datasets to identify patterns and characteristics of customers. This can help businesses create targeted marketing campaigns, improve customer retention, and more.\n",
"8. **Language Translation**: Generative AI can translate languages in real-time, enabling businesses to communicate with international clients and customers more effectively.\n",
"9. **Creative Writing and Editing**: AI-powered writing tools can assist with content creation, editing, and proofreading. This can help businesses streamline their creative workflow and improve the quality of their content.\n",
"10. **Business Process Automation**: Generative AI can automate many business processes such as data entry, bookkeeping, and even HR tasks. This can help businesses save time, reduce errors, and increase efficiency.\n",
"\n",
"Some specific industries that are heavily leveraging generative AI include:\n",
"\n",
"* E-commerce and retail\n",
"* Marketing and advertising\n",
"* Finance and banking\n",
"* Healthcare and pharmaceuticals\n",
"* Education and training\n",
"* Manufacturing and product development\n",
"\n",
"Overall, generative AI has the potential to transform many aspects of business operations, from content creation and marketing to product design and customer service.\n"
"[notice] A new release of pip is available: 23.1.2 -> 24.3.1\n",
"[notice] To update, run: python.exe -m pip install --upgrade pip\n"
]
}
],
"source": [
"!pip install ollama"
]
},
{
"cell_type": "code",
"execution_count": 9,
"id": "7745b9c4-57dc-4867-9180-61fa5db55eb8",
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Generative AI (Artificial Intelligence) has numerous business applications across various industries. Here are some examples:\n",
"\n",
"1. **Content Generation**: Generative AI can generate high-quality content such as articles, blog posts, social media posts, and even entire books. This technology is particularly useful for businesses that need to produce large amounts of content quickly and efficiently.\n",
"2. **Image and Video Generation**: Generative AI can create realistic images and videos that are indistinguishable from those created by humans. This technology has applications in fields such as advertising, product design, and film production.\n",
"3. **Chatbots and Virtual Assistants**: Generative AI-powered chatbots can generate human-like responses to customer inquiries, providing a more personalized experience for customers.\n",
"4. **Predictive Maintenance**: Generative AI can analyze sensor data from machines and predict when maintenance is required, reducing downtime and increasing efficiency.\n",
"5. **Marketing Automation**: Generative AI can help automate marketing campaigns by generating personalized emails, social media posts, and ad copy that resonate with specific audiences.\n",
"6. **Product Design and Development**: Generative AI can aid in product design by generating 3D models, prototypes, and even entire product lines.\n",
"7. **Data Annotation**: Generative AI can generate annotated data for machine learning models, reducing the need for manual annotation and increasing the efficiency of model training.\n",
"8. **Financial Modeling**: Generative AI can help financial institutions generate predictive models that forecast market trends, identify potential risks, and optimize investment strategies.\n",
"9. **Customer Service**: Generative AI-powered virtual assistants can provide 24/7 customer support, answering common questions and routing complex issues to human representatives.\n",
"10. **Research and Development**: Generative AI can aid researchers by generating hypotheses, predicting outcomes, and even suggesting new experiments or research directions.\n",
"\n",
"Some notable examples of businesses that are using Generative AI include:\n",
"\n",
"* **Google's DeepMind**: Developing generative models for various applications such as image and speech recognition.\n",
"* **Microsoft's Azure Machine Learning**: Offering a range of generative AI tools for developers to build intelligent systems.\n",
"* **Amazon's SageMaker**: Providing a cloud-based platform for building, training, and deploying machine learning models, including those using Generative AI.\n",
"* **IBM Watson**: Developing AI-powered solutions that use Generative AI for applications such as customer service, predictive maintenance, and more.\n",
"\n",
"These are just a few examples of the many businesses that are leveraging Generative AI to drive innovation and growth.\n"
]
}
],
"source": [
"import ollama\n",
"\n",
@ -199,10 +298,179 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 14,
"id": "2eeb01bd-645b-400f-a617-ce60072af7b4",
"metadata": {},
"outputs": [],
"source": [
"# A class to represent a Webpage\n",
"\n",
"class Website:\n",
" \"\"\"\n",
" A utility class to represent a Website that we have scraped\n",
" \"\"\"\n",
" url: str\n",
" title: str\n",
" text: str\n",
"\n",
" def __init__(self, url):\n",
" \"\"\"\n",
" Create this Website object from the given url using the BeautifulSoup library\n",
"\"# Website Summary\\nThe website appears to be a personal blog maintained by Edward Donner, a co-founder and CTO of Nebula.io. The site's main content is about artificial intelligence (AI) and large language models (LLMs).\\n\\n## News and Announcements\\n### Latest Posts:\\n* **Mastering AI and LLM Engineering – Resources** (published November 13, 2024): A resource post sharing materials for learning AI and LLM engineering.\\n* **From Software Engineer to AI Data Scientist – resources** (published October 16, 2024): A resource post sharing materials for transitioning from a software engineer to an AI data scientist.\\n* **Outsmart LLM Arena – a battle of diplomacy and deviousness** (published June 26, 2024): An article introducing the Outsmart LLM Arena, where LLMs compete in a battle of diplomacy and deviousness.\\n* **Choosing the Right LLM: Toolkit and Resources** (published August 6, 2024): A resource post sharing tools and resources for choosing the right LLM.\\n\\n### No recent news announcements found.\""
]
},
"execution_count": 25,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"summarize(\"https://edwarddonner.com\")"
]
},
{
"cell_type": "code",
"execution_count": 26,
"id": "6003d614-c16f-47a8-936b-42976d27a486",
"metadata": {},
"outputs": [],
"source": [
"# A function to display this nicely in the Jupyter output, using markdown\n",
"\n",
"def display_summary(url):\n",
" summary = summarize(url)\n",
" display(Markdown(summary))"
]
},
{
"cell_type": "code",
"execution_count": 27,
"id": "b27794e3-2e72-4cf4-a7e0-c48a396a2211",
"metadata": {},
"outputs": [
{
"data": {
"text/markdown": [
"İstanbul Nişantaşı Üniversitesi, bir Türkiye'deki prestijli ve tanınmış araştırma ve eğitim kuruluştur. Üniversite, öğrencilerinin çeşitli alanlarda akademik ve kültürel faaliyetlere katılımını desteklemek için 다양한 programlara sahiptir.\n",
"\n",
"Üniversitenin ana kampüsü Kağıthane'de yer almaktadır ve NeoTech Campus adıyla bilinen modern bir kampüs yapısı bulunmaktadır.\n",
"\n",
"İstediğiniz información için lütfen aşağıdaki linkleri kullanabilirsiniz:\n",
"\n",
"* https://www.niu.edu.tr/\n",
"* https://www.niu.edu.tr/en\n",
"* https://niu.mynet.com.tr/\n",
"\n",
"Bu web siteleri, üniversitenin resmi internet siteleri olup, öğrenciler ve interested individuals için birçok bilgi ve informatie sunmaktadır.\n",
"\n",
"Üniversite hakkında daha fazla bilgi almak için lütfen aşağıdaki linkleri kullanabilirsiniz:\n",