mlc-llm icon indicating copy to clipboard operation
mlc-llm copied to clipboard

How do i use this in my own programs?

Open Arefaris opened this issue 2 years ago • 2 comments

Hi there! Im new to programming. I really want to try and implement ai to my own little program. For example chatgpt has api with i can talk using python code. Dose this project allow something like this? Like can i just import mlc-llm and get answers using python? Sorry for bad english.

Arefaris avatar May 01 '23 15:05 Arefaris

OpenAI offer API Reference. https://platform.openai.com/docs/api-reference/introduction

Lwindsy avatar May 02 '23 00:05 Lwindsy

Hi there! Im new to programming. I really want to try and implement ai to my own little program. For example chatgpt has api with i can talk using python code. Dose this project allow something like this? Like can i just import mlc-llm and get answers using python? Sorry for bad english.

Hi! Here is a simple code to implement interaction with mlc-chat-cli in python https://github.com/XinyuSun/mlc-chatbot

XinyuSun avatar May 03 '23 17:05 XinyuSun

https://github.com/mlc-ai/mlc-llm/tree/main/python

tqchen avatar Jun 16 '23 15:06 tqchen