探索 API 開發的挑戰與解決之道 | .NET Conf 2023 TaiwanAlan Tsai
相信大家對於為什麼要把服務 API 化的原因都清楚了,但是該怎麼開始呢?如果要走 API Design First 那怎麼可以產生出好持續維護的 OpenAPI (Swagger) 文件作為溝通的 Contract 呢?API 開發完上線之後怎麼能夠確保安全,以及出錯如何追蹤問題呢?如果只是單純的 DB 異動的 CRUD 需要建立後端 API 嗎?隨著 API 數量變多怎麼收攏所有有提供的 API 呢?
在這場,我們來看一下針對一些 API First 遇到的問題,微軟提供了那些解決方案給我們。
探索 API 開發的挑戰與解決之道 | .NET Conf 2023 TaiwanAlan Tsai
相信大家對於為什麼要把服務 API 化的原因都清楚了,但是該怎麼開始呢?如果要走 API Design First 那怎麼可以產生出好持續維護的 OpenAPI (Swagger) 文件作為溝通的 Contract 呢?API 開發完上線之後怎麼能夠確保安全,以及出錯如何追蹤問題呢?如果只是單純的 DB 異動的 CRUD 需要建立後端 API 嗎?隨著 API 數量變多怎麼收攏所有有提供的 API 呢?
在這場,我們來看一下針對一些 API First 遇到的問題,微軟提供了那些解決方案給我們。
Development myshoes and Provide Cycloud-hosted runner -- GitHub Actions with ...whywaita
Talked by https://cnd.connpass.com/event/223825/
re-upload: https://speakerdeck.com/whywaita/development-myshoes-and-provide-cycloudhosted-runner-github-actions-with-your-shoes
Development myshoes and Provide Cycloud-hosted runner -- GitHub Actions with ...whywaita
Talked by https://cnd.connpass.com/event/223825/
re-upload: https://speakerdeck.com/whywaita/development-myshoes-and-provide-cycloudhosted-runner-github-actions-with-your-shoes
2021 Net Conf Taiwan-初探 Azure Communication Service讓 App 也有視訊、通話、即時聊天、簡訊和電話功能Alan Tsai
github: https://github.com/alantsai-samples/2021-net-conf-acs-demo
如果今天你的 Application 使用者遇到了問題可以怎麼樣尋求協助?最快的方式肯定是透過視訊或者通話等功能來達到。但是要做這件事並不容易。以現有流程,可能使用者要打電話找客服,客服在開 Teams 的會議鏈接,然後想辦法傳鏈接過去,然後使用者可能還要下載應用程式,等連上的時候都要下班了。難道不能直接在應用程式一鍵就連上客服,直接就可以馬上共享畫面找出問題嗎?
Azure Communication Service 是一系列的 API 和 SDK 可以讓我們做到視訊、通話、即時聊天、簡訊和電話功能非常容易做到並且整合到 Application。尤其是最近整合到 Teams(在 Preview),讓我們客服人員可以使用 Teams 作為後端而一般使用者直接使用 Application 進行交談。
在這節裡面,我們來看一下什麼是 Azure Communication Service,以及如何在我們 Application 整合它讓我們可以提供豐富的通訊方式。
This presentation took place at R ladies Taipei on July 31, 2023.
Hugging Face can be described as the GitHub for AI models. Initially, it was born to address the difficulty and incompatibility of natural language models. Now, besides open-source AI models for natural language, there are numerous other open-source AI models available on the platform. According to leaked documents from Google, open-source AI models are likely to dominate the development of the entire industry in the future. Therefore, the role of Hugging Face is becoming increasingly important.
This talk is designed for beginners in Hugging Face. It will guide you through using the natural language processing models from Hugging Face.
This conference was .NET CONF Taiwan in 2022/12/10.
LangChain is one of the most mainstream frameworks for developing large language model applications. Its ease of use and simplicity enable developers to quickly build product prototypes. Azure Machine Learning is currently one of the most mainstream tools for AI research and application development. It offers comprehensive features and is well integrated with the Python and AI ecosystem.
This talk will introduce the basic concepts of LangChain, including key components such as Model, Chain, and Retriever, and will use the capabilities of Azure Machine Learning as examples. Additionally, it will discuss how to integrate LangChain into Azure Machine Learning and Azure Open AI, allowing developers to leverage the advantages of Azure Machine Learning to rapidly develop large language model applications.
Insider Dev Tour Taipei 2019 - Future proof your desktop apps with .net coreAlan Tsai
https://developer.microsoft.com/en-us/windows/campaigns/tw-taipei
Having a WPF or WinForms application doesn’t mean you have old code. It’s active code that represents an important investment for your company. Moving your app to the next version of .NET Core will give you access to all the benefits of the Open Source version of .NET, including better performance, easier deployment and all its new features. In this session we will show how to create a new .NET Core app, why would you do it, and how to upgrade an existing project.
11. 什麼是 GitHub Copilot
GitHub Copilot is an AI pair
programmer that offers
autocomplete-style suggestions
as you code
About GitHub Copilot for Individuals - GitHub Docs
@Alan Tsai 的學習筆記 13
12. 什麼是 GitHub Copilot
You can receive suggestions from GitHub
Copilot either by starting to write the
code you want to use, or by writing a
natural language comment describing
what you want the code to do
About GitHub Copilot for Individuals - GitHub Docs
@Alan Tsai 的學習筆記 14
13. 為什麼 GitHub Copilot
Research: quantifying GitHub Copilot’s impact on developer productivity and happiness
2022-09-07
@Alan Tsai 的學習筆記 15
14. 為什麼 GitHub Copilot
The economic impact of the AI-powered developer lifecycle and lessons from GitHub Copilot
2023-06-27
@Alan Tsai 的學習筆記 16
15. 為什麼 GitHub Copilot
Survey reveals AI’s impact on the developer experience
2023-06-13
92%
U.S.-based developers
using AI coding tools
70%
better code quality
completion time
57%
believe that AI
could help them upskill
@Alan Tsai 的學習筆記 17
26. Best Practice - 3S
▪ Single Responsibility
▪ One line one thing
▪ Specific Prompt
▪ Variable name
▪ userId vs Id
▪ Give example
▪ Constraint
package, style, etc
▪ Short Response
▪ Guide response
▪ Trust but verify
@Alan Tsai 的學習筆記 28
44. Train your model
Meta’s first 65B LLaMa model training
took 1,022,362 hours on 2048 NVidia
A100-80GB’s (about $4/hr on cloud
platforms) costing approximately $4M
@Alan Tsai 的學習筆記 46
48. What is Copilot
• The availability of LLMs has led to the emergence of a new software
application, often referred to as a copilot.
• Copilots are often integrated into other applications and provide a
way for users to get help with common tasks from a generative AI
model.
• Copilots are based on a common architecture, so developers can
build custom copilots for various business-specific applications and
services.
@Alan Tsai 的學習筆記 50
57. Schillace Laws
Schillace Laws of Semantic AI
Don’t write code if the model can do it;
the model will get better, but the code won't
@Alan Tsai 的學習筆記 59
58. Resource
• Microsoft Ignite: Generative AI with Azure OpenAI
• A 12 Lesson course teaching everything you need to know to start
building Generative AI applications
@Alan Tsai 的學習筆記 60