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

coral-web: support langchain multihop #62

Merged
merged 1 commit into from
Apr 30, 2024
Merged

Conversation

wujessica
Copy link
Contributor

Description:

This PR adds support for rendering tool events sent from the langchain multihop chat endpoint, including adding the functionality to render images from the python interpreter in multihop mode.

Tests:

To test, add USE_EXPERIMENTAL_LANGCHAIN=true to your .env file. Then, select the python_interpreter and internet search tools and ask a query like plot the 3 tallest mountains in the world.

Screen.Recording.2024-04-26.at.4.17.31.PM.mov

src/backend/main.py Outdated Show resolved Hide resolved
@wujessica wujessica marked this pull request as ready for review April 26, 2024 20:41
@wujessica wujessica requested a review from a team as a code owner April 26, 2024 20:41
Copy link
Contributor

@misspia-cohere misspia-cohere left a comment

Choose a reason for hiding this comment

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

nicee

src/interfaces/coral_web/src/hooks/chat.ts Outdated Show resolved Hide resolved
@wujessica wujessica merged commit 0dd05d1 into main Apr 30, 2024
2 checks passed
@wujessica wujessica deleted the jw/langchain-multihop-fe branch April 30, 2024 15:33
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.

None yet

2 participants