Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow access to headers or cookies #1103

Open
jefflavallee opened this issue Jun 27, 2024 · 0 comments
Open

Allow access to headers or cookies #1103

jefflavallee opened this issue Jun 27, 2024 · 0 comments

Comments

@jefflavallee
Copy link

Is your feature request related to a problem? Please describe.

I would like to be able to provide my current location to my chat so that it can be added to the prompt and it cam use it with tools to provide me information about services in my vicinity.

Describe the solution you'd like
I can add my own JavaScript to set a header with the current location, but I would then need to have functionality within chainlit to consume it. This does not seem possible currently.

Describe alternatives you've considered
If there's a function available within chaiblit to pull the current location from the browsers that would be helpful.

Additional context
Add any other context or screenshots about the feature request here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant