Replies: 2 comments
-
🤖 Hey @takosalad, great to see you back in the digital wilds of our repository! Hope you've been scripting your way to glory since we last chatted. 🚀 Based on the information available in the LlamaIndex repository, it seems that you can use LlamaIndex without Python. The repository provides a TypeScript package for those who prefer JavaScript. You can find more information about this package at this link. In addition, you can use LlamaIndex with shell scripts and pipes similar to how you are currently using llama-cpp. The repository provides a Python script that serves as a command-line interface (CLI) tool for LlamaIndex. You can call this script from your shell scripts and use pipes to pass data between different commands. Here's an example of how you can call the python command_line.py download-llamapack GmailOpenAIAgentPack -d ./my_llama_packs This will download the Similarly, you can call the python command_line.py download-llamadataset PaulGrahamEssayDataset -d ./my_llama_datasets This will download the You can also use pipes to pass data between different commands. For example, you can pipe the output of one command to the input of another command like this: command1 | python command_line.py command2 This will pass the output of Please note that the actual usage may vary depending on the specific commands and arguments you are using. You can find more information about this in the command_line.py file in the repository. I hope this helps! If you have any other questions, feel free to ask. Sources
|
Beta Was this translation helpful? Give feedback.
-
@takosalad no binary right now. There is a typescript package though, if you want to use a different language |
Beta Was this translation helpful? Give feedback.
-
I'm using llama-cpp binary "main", controlling it via shell scripts and pipes. I don't want to use python. Does llama-index NEED you to use python or does it provide a binary like llama-cpp that can be used in scripting?
Beta Was this translation helpful? Give feedback.
All reactions