https://www.lunasec.io/ logo
Join Discord
Powered by
# lunapipe
  • b

    breadchris

    04/21/2023, 7:09 PM
    not without having a prompt defined as the first arg
  • b

    breadchris

    04/21/2023, 7:09 PM
    otherwise that is why I have the TODO
  • f

    FactoidForrest

    04/21/2023, 7:09 PM
    oh so the error just didnt explain that
  • f

    FactoidForrest

    04/21/2023, 7:09 PM
    i couldnt figure out what that was talking about
  • f

    FactoidForrest

    04/21/2023, 7:10 PM
    in this case im piping in a prompt so
  • f

    FactoidForrest

    04/21/2023, 7:10 PM
    i dont need any other prompt
  • b

    breadchris

    04/21/2023, 7:12 PM
    piping in prompts is not how prompt templating works
  • f

    FactoidForrest

    04/21/2023, 7:12 PM
    so it cant just send arbitrary stuff to the llm from my cli?
  • f

    FactoidForrest

    04/21/2023, 7:12 PM
    unless i do
  • f

    FactoidForrest

    04/21/2023, 7:12 PM
    "$(cat mystuff)"
  • f

    FactoidForrest

    04/21/2023, 7:12 PM
    like that
  • b

    breadchris

    04/21/2023, 7:13 PM
    did you look at the readme? https://github.com/lunabrain-ai/lunapipe/blob/main/README.md
  • f

    FactoidForrest

    04/21/2023, 7:14 PM
    so i could do
  • f

    FactoidForrest

    04/21/2023, 7:14 PM
    something.txt | lunapipe "do what this says."
  • f

    FactoidForrest

    04/21/2023, 7:14 PM
    and it would work
  • b

    breadchris

    04/21/2023, 7:14 PM
    yeah exactly
  • f

    FactoidForrest

    04/21/2023, 7:14 PM
    mk
  • f

    FactoidForrest

    04/21/2023, 7:14 PM
    maybe the default behavior if no prompt is given
  • f

    FactoidForrest

    04/21/2023, 7:15 PM
    could be to just pass in the stdin
  • b

    breadchris

    04/21/2023, 7:23 PM
    yeah i wasn't sure what the behavior should be when there is no prompt given
  • f

    FactoidForrest

    04/21/2023, 7:25 PM
    gosh im having no luck with the openai api today
  • f

    FactoidForrest

    04/21/2023, 7:25 PM
    or maybe langchain is just even worse. a lot of the recent updates kind of suck
  • f

    FactoidForrest

    04/21/2023, 7:26 PM
    welp, lunapipe forever man
  • q

    quiet

    04/21/2023, 7:26 PM
    yall gave me a great idea
  • f

    FactoidForrest

    04/21/2023, 7:26 PM
    PATENT PENDING
  • q

    quiet

    04/21/2023, 7:27 PM
    I can combine wolverine.py with LLM-strategy to make lunapipe always work
  • q

    quiet

    04/21/2023, 7:27 PM
    I gotta finish my very funny paper though, I need to find the one actual paper I am referencing
  • f

    FactoidForrest

    04/21/2023, 7:27 PM
    rofl
  • f

    Free Wortley

    04/24/2023, 11:25 PM
    Somebody using LunaPipe: "I just tried lunapipe, because I typed the wrong commit message for my commit, and I was like how do I undo my commit message and replace it with a new one. It just answered the question, right there in the command line, so I didn't have to open another window in copy and paste from google. Thanks @Free Wortley"
  • q

    quiet

    04/25/2023, 12:47 AM
    🙂