chainlit icon indicating copy to clipboard operation
chainlit copied to clipboard

read params in url within element

Open sundi133 opened this issue 2 years ago • 4 comments

how to read url get params ? like localhost:8000/user_id=1

sundi133 avatar Jul 06 '23 02:07 sundi133

This is not possible at the moment but I am interested in your use case. Can you share more details on what you want to accomplish?

willydouhard avatar Jul 06 '23 08:07 willydouhard

Hello. I don't know about @sundi133 usecase but I would love to access the get variable during the on_chat_start so I can initiate my assistant with same specific embeddings.

swdes avatar Dec 28 '23 13:12 swdes

Noted, will look into it

willydouhard avatar Dec 28 '23 14:12 willydouhard

Hi there, I have a similar requirement.

I need to start conversations between a user and the AI assistant by providing a specific parameter. This parameter is unique and vital for ensuring the assistant responds accurately to the user's questions by identifying the correct context.

@willydouhard Do you have plans to include this feature in your roadmap soon? If not, could you suggest any workaround solutions to support this use case?

Thanks

lehic avatar Feb 26 '24 19:02 lehic

Hello, do you have any news about this?

martrdev avatar Jan 30 '25 12:01 martrdev