Input APIs? #47
Replies: 2 comments
-
Good question someone else just asked me is there a LaraLlama HTTP Client. I think I will add a new "Source" eg the way you get data into your collection as just an API Right now the "Webhook" source acts as that since you can send say Github Webhooks to the system and then use your Source prompt to parse the data. But I could add one that says "API" that then would allow you to add data to the system using the prompt to define the format (I am trying to make the prompts drive things so users are able to do more with no code) Output has an API already btw so you can already get to the data just about putting data in. Oh lastly there is an API I did for a chrome extension but that is still in the works and it allows you to send data to a source as well. https://github.com/LlmLaraHub/larallama/tree/main/tests/fixtures/chrome_extension This describes the API but the extension is still being tested by me and so is the api. |
Beta Was this translation helpful? Give feedback.
-
Sounds interesting. The use case I'm after is actually creating collections on the fly and adding documents to them so not sure if a webhook would work or be a good approach for it but I won't be surprised if I'm wrong! |
Beta Was this translation helpful? Give feedback.
-
Hello,
Are there any plans to add input APIs? Basically, create collections and adding data to them?
All the best,
W
Beta Was this translation helpful? Give feedback.
All reactions