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

System prompt not taken into account when web browsing. #1159

Open
CakeCrusher opened this issue May 22, 2024 · 2 comments
Open

System prompt not taken into account when web browsing. #1159

CakeCrusher opened this issue May 22, 2024 · 2 comments
Labels
back This issue is related to the Svelte backend or the DB enhancement New feature or request good first issue Good for newcomers websearch

Comments

@CakeCrusher
Copy link

CakeCrusher commented May 22, 2024

I have not inspected the code but this is why I suspect this.
I created an assistant that should be explicitly searching for "University of Florida":
image
https://hf.co/chat/assistant/664e60ae000c01b5d327de43

And when I ask for help on a college related topic I get this:
image

None of the URLs were related to "University of Florida".

I tried it several times with similar prompts and nothing.
This works in OpenAI's GPTs store

@nsarrazin
Copy link
Collaborator

Hey, so we indeed do not take the system prompt into account for generating the websearch query. I guess it would make sense to have it when generating the prompt as well.

@nsarrazin nsarrazin added enhancement New feature or request good first issue Good for newcomers back This issue is related to the Svelte backend or the DB websearch labels May 27, 2024
@neven4
Copy link
Contributor

neven4 commented Jun 14, 2024

Hi there, @nsarrazin how do you want to approach this: by adding 'System instruction' to a web search query, or by asking a model to create a web search query from a user query and a 'System instruction'?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back This issue is related to the Svelte backend or the DB enhancement New feature or request good first issue Good for newcomers websearch
Projects
None yet
Development

No branches or pull requests

3 participants