Ability to (Deep)link into LobeChat with initial prompt and other parameters #2766
Replies: 4 comments
-
I think it's a good idea. There's some stuff we need to discuss. The query is send to inbox session or which Agent or show up a spotlight? |
Beta Was this translation helpful? Give feedback.
-
sounds like some kinda API feature. how about responses in Raycast directly |
Beta Was this translation helpful? Give feedback.
-
I am personally a fan of an MVP approach, meaning that we start with a very simple version and then see if there are people using it and asking for more. If we would want to display responses directly in Raycast and then maybe even respond to them it gets immediately way more complex. Therefore I would propose we start simple: Concept for a simple MVP: In LobeChat: I would suggest that on page load LobeChat simply checks if there are URL Parameters presents.
If In Raycast: Remember that Raycast is just one use case here. With parameters like the ones mentioned above you could trigger LobeChat from anywhere really. For Raycast a very simple extension should do the trick, that in the end simply opens an URL via Example:
What do you think? |
Beta Was this translation helpful? Give feedback.
-
one question, is there any way to be compatible with the PWA app? |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am fairly new to LobeChat and I have a rough idea where I would like to (deep)link into LobeChat with an initial prompt.
Imagine you are in an productivity app like Raycast, Alfred or Notion and you could write a prompt and then be directly forwarded to a new conversation in LobeChat where your initial prompt is automatically converted into a new message.
From my understanding this should be fairly easy to implement, as the prompt could just be transmitted as URL parameter (e.g. ?query=....). It would be a nice feature for all those power app users (like Raycast).
Just a rough idea though, what do you think?
Beta Was this translation helpful? Give feedback.
All reactions