# AI Dev

#### AI Develop Framework

- [LangChain](https://www.langchain.com/) (python + node.js)
- [LlamaIndex](https://www.llamaindex.ai/) (python)
- [Haystack](https://haystack.deepset.ai/) (python)
- [Phidata](https://docs.phidata.com/introduction) (python)

##### - LlamaIndex

- [Ollama &lt;&gt; Mistral &lt;&gt; LlamaIndex Cookbook](https://github.com/mistralai/cookbook/blob/main/third_party/LlamaIndex/ollama_mistral_llamaindex.ipynb) (ipynb)

#### Data Analysis (Chat with CSV)

- LangChain: [Chat with a CSV | LangChain Agents Tutorial (Beginners) - YouTube](https://www.youtube.com/watch?v=tjeti5vXWOU)
- PandasAI: [Multi-ChatCSV Streamlit App:Analyze Multiple CSV files with PandasAI and OpenAI| Step by Step - YouTube](https://www.youtube.com/watch?v=R8zpK1yFA60)
- Streamlit: [Chat with CSV Streamlit Chatbot using Llama 2: All Open Source - YouTube](https://www.youtube.com/watch?v=_WB10mFa4T8)
- [DataLine](https://dataline.app/)
    - GitHub: [https://github.com/RamiAwar/dataline](https://github.com/RamiAwar/dataline)

##### - PandasAI

[PandasAI](https://pandas-ai.com/) is a Python library that makes it easy to ask questions to your data in natural language. It helps you to explore, clean, and analyze your data using generative AI.

- GitHub: [https://github.com/Sinaptik-AI/pandas-ai](https://github.com/Sinaptik-AI/pandas-ai)
- Video: [Multi-ChatCSV Streamlit App:Analyze Multiple CSV files with PandasAI and OpenAI| Step by Step - YouTube](https://www.youtube.com/watch?v=R8zpK1yFA60)

#### Chat with Dataset

- [Chat with your dataset! This project demonstrates a web-based application to query a dataset through natural language.](https://github.com/worldline/streamlit-pandasai)

#### LLM API

##### - OpenAI API

- [What is ChatGPT API? - GeeksforGeeks](https://www.geeksforgeeks.org/what-is-chatgpt-api/)
- [\[D7\] OpenAI API 入門 - 基本提示技巧 - iT 邦幫忙::一起幫忙解決難題，拯救 IT 人的一天 (ithome.com.tw)](https://ithelp.ithome.com.tw/articles/10316759)
- [\[D8\] OpenAI API 入門 - Chat Completion 訊息角色 - iT 邦幫忙::一起幫忙解決難題，拯救 IT 人的一天 (ithome.com.tw)](https://ithelp.ithome.com.tw/articles/10317113)
- [Model Parameters in OpenAI API. Let’s break down the… | by Csakash | Medium](https://medium.com/@csakash03/model-parameters-in-openai-api-fe6101d3f813)

##### - Gemini API

- Doc: [Gemini API 文件與參考資料 | Google AI for Developers | Google for Developers](https://ai.google.dev/gemini-api/docs?hl=zh-tw)
- [Gemini API Cookbook](https://github.com/google-gemini/cookbook)

#### Web UI Framework

##### - Gradio

Gradio is the fastest way to demo your machine learning model with a friendly web interface so that anyone can use it, anywhere!

- [Gradio](https://www.gradio.app/)
- [Create a ChatBot with OpenAI and Gradio in Python - GeeksforGeeks](https://www.geeksforgeeks.org/create-a-chatbot-with-openai-and-gradio-in-python/)
- [語音輸入的 OpenAI ChatBot 介面開發](https://dev.to/feranmiodugbemi/how-to-create-an-ai-powered-chatbot-with-gradio-and-openais-gpt-35-2c8l)

##### - Streamlit

Streamlit is the UI powering the LLM movement

- [Streamlit • A faster way to build and share data apps](https://streamlit.io/)
- [AI talks: ChatGPT assistant via Streamlit](https://blog.streamlit.io/ai-talks-chatgpt-assistant-via-streamlit/)
- GitHub: [Some Example Codes](https://github.com/orgs/streamlit/repositories?type=all)

#### AI Memory

- [How To Give Your Chatbot More Memory | by Dan Cleary | Medium](https://medium.com/@dan_43009/how-to-give-your-chatbot-more-memory-f5d64dbd2a3c)
- [\[D8\] OpenAI API 入門 - Chat Completion 訊息角色 - iT 邦幫忙::一起幫忙解決難題，拯救 IT 人的一天 (ithome.com.tw)](https://ithelp.ithome.com.tw/articles/10317113)

#### AI Coding

##### - Alternative to GitHub Copilot

- [Best Self-hosted GitHub Copilot AI Coding Alternatives - Virtualization Howto](https://www.virtualizationhowto.com/2025/05/best-self-hosted-github-copilot-ai-coding-alternatives/)

##### - VS Code

- [CodeGPT](https://codegpt.co/) - Code like a pro with our AI Copilot! 
    - Doc: [https://docs.codegpt.co/docs/intro](https://docs.codegpt.co/docs/intro)
    - VSCode: [CodeGPT: Chat &amp; AI Agents - Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=DanielSanMedium.dscodegpt)
- [Continue](https://www.continue.dev/)
    - [An entirely open-source AI code assistant inside your editor (continue.dev)](https://blog.continue.dev/ollama-code-assistant/)
    - Doc: [https://docs.continue.dev/intro](https://docs.continue.dev/intro)
    - VSCode: [Continue - Codestral, GPT-4o, and more - Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=Continue.continue)
    - GitHub: [https://github.com/continuedev/continue](https://github.com/continuedev/continue)
- [Codeium](https://codeium.com/) - 支援 vim/Neovim 編輯器，使用專有模型與 OpenAI API，個人使用免費 
    - VSCode: [Codeium: AI Coding Autocomplete and Chat for Python, Javascript, Typescript, Java, Go, and more - Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=Codeium.codeium)
    - GitHub: [https://github.com/Exafunction/codeium.vim](https://github.com/Exafunction/codeium.vim)
    - Video: [【Arduino 進階開發】AI 程式碼助手 Codeium 讓你輕鬆寫 Arduino！ - YouTube](https://www.youtube.com/watch?v=3wugSSy0eD8)
- [Cline](https://marketplace.visualstudio.com/items?itemName=saoudrizwan.claude-dev) - an AI assistant that can use your CLI aNd Editor 
    - GitHub: [https://github.com/cline/cline](https://github.com/cline/cline)
- [Gemini Code Assist](https://codeassist.google/) - AI-first coding in your natural language

##### - Cursor

- YT: [Cursor编程实战演示——用思维链方法让AI写AI提示词 - YouTube](https://www.youtube.com/watch?v=qfRjKCJ70HY)
- [Cursor Directory](https://cursor.directory/)

#### Responsible AI

- [Input Otput Guardrails with llama](https://github.com/meta-llama/llama-recipes/blob/main/recipes/responsible_ai/input_output_guardrails_with_llama.ipynb) (ipynb)
- Google SynthID Text 
    - [Google開源SynthID Text | iThome](https://www.ithome.com.tw/news/165662)
    - [SynthID: Tools for watermarking and detecting LLM-generated Text](https://ai.google.dev/responsible/docs/safeguards/synthid)

#### AI Proxy

企業在導入 LLM 時，可能會用到多種不同的模型，這些包含商用授權與開源授權以及來自不同的服務商。為了統一管理及開發應用這些各類不同模型，建議使用 AI Proxy (AI API Gateway) 這類平台來解決，以達到下列目的：

- 統一 API 介接入口與格式
- 成本追蹤
- 平衡負載

##### - LiteLLM

- Doc: [https://docs.litellm.ai/docs/simple\_proxy](https://docs.litellm.ai/docs/simple_proxy)
- GitHub: [https://github.com/BerriAI/litellm](https://github.com/BerriAI/litellm)

##### - CLI Proxy API

- GitHub: [https://github.com/router-for-me/CLIProxyAPI](https://github.com/router-for-me/CLIProxyAPI)
- Doc: [CLIProxyAPI](https://help.router-for.me/)
- [基于docker搭建CLIProxyAPI图文教程 - 文档共建 - LINUX DO](https://linux.do/t/topic/1672081)
- [手把手带你用上AI神器 - CLIProxyAPI（零：配置详细解说） - 资源荟萃 - LINUX DO](https://linux.do/t/topic/1011966)
- CLIProxyAPI Plus 
    - GitHub: [https://github.com/router-for-me/CLIProxyAPIPlus](https://github.com/router-for-me/CLIProxyAPIPlus)
    - YT: [【2026最新】零成本无限调用GPT-5.3高级模型！ChatGPT免费额度+CLIProxyAPIPlus 完整部署教程 - YouTube](https://www.youtube.com/watch?v=sLjTilvm2RQ)

##### - Sub2API

- GitHub: [https://github.com/Wei-Shaw/sub2api](https://github.com/Wei-Shaw/sub2api)
- [基于docker搭建sub2api图文教程 - 文档共建 - LINUX DO](https://linux.do/t/topic/1672075/6)
- [\[龙虾教程\] 自建Sub2API中转站管理多个AI账号 方便集中管理/好友共享/快速切换 - 蓝点网](https://www.landiannews.com/archives/112080.html)

#### More

- OpenUI - AI自動生成網頁原始碼並即時預覽 
    - GitHub: [https://github.com/wandb/openui](https://github.com/wandb/openui)
    - Video: [OpenUI &amp; Llama 3: Effortless Text to Frontend UI Generation - YouTube](https://www.youtube.com/watch?v=jZIZX70mPpo)
- Instructor - Structured outputs powered by llms. Designed for simplicity, transparency, and control. 
    - [Welcome To Instructor - Instructor (jxnl.github.io)](https://jxnl.github.io/instructor/)