run-llama / LlamaIndexTS

Data framework for your LLM applications. Focus on server side solution
https://ts.llamaindex.ai
MIT License
1.97k stars 365 forks source link

guide on compile document in build time #1398

Open himself65 opened 1 month ago

himself65 commented 1 month ago

Ask from CityJS, someone asks about this. I know we have generate-data script in create-llama, but I'm not sure if we should do this as a module or give a guide on this

himself65 commented 1 month ago

I added one ad-hoc plugin in our document here

https://github.com/run-llama/LlamaIndexTS/blob/efb7e1b86808811c26f062f4eccbe95ede0c1eb3/apps/next/source.config.ts#L52-L112