Skip to content

Conversation

@blefo
Copy link
Member

@blefo blefo commented Jul 16, 2025

  • The chat completion endpoint now includes web search functionality. By setting the websearch parameter to true, a web search is performed and the results are incorporated into the context of the LLM before generating the final output. The sources fetched are provided as a list in the output object

  • Implemented testing for the websearch feature

@blefo blefo requested a review from jcabrero July 16, 2025 13:07
Copy link
Member

@jcabrero jcabrero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please review the comments, if you feel like there is something you don't fully understand, let me know and I can guide you through it.

@jcabrero jcabrero linked an issue Jul 18, 2025 that may be closed by this pull request
docs: format PostgreSQL setup instructions in README for clarity
@blefo blefo force-pushed the feat-web-search branch from 30eea62 to abd02d2 Compare July 21, 2025 09:56
web_search parameter can be set to true or false in the chat endpoint. If true, the first three searches are added to the context. The user can access the sources in the output object
@blefo blefo force-pushed the feat-web-search branch from ab9a420 to 827f63d Compare July 21, 2025 15:57
@blefo blefo requested a review from jcabrero July 21, 2025 16:34
Copy link
Member

@jcabrero jcabrero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks much better now. There are a couple of comments left unsolved. Please have a look at them before merging.

Add retry logic to reduce failed tests due to source quality
@blefo blefo force-pushed the feat-web-search branch from 1f99f5e to 270c328 Compare July 22, 2025 14:50
@blefo blefo merged commit 7f8c8bc into main Jul 22, 2025
5 checks passed
@jcabrero jcabrero changed the title Feat web search feat: web search Jul 22, 2025
@jcabrero jcabrero deleted the feat-web-search branch July 31, 2025 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable web search

3 participants