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

Add CohereRerank component and update artifact post-processing #2266

Merged
merged 8 commits into from
Jun 23, 2024

Conversation

ogabrielluiz
Copy link
Contributor

Add CohereRerank component.

Additionally, the post_process_raw function in artifact.py has been updated to set the raw value to "Built Successfully ✨" when the artifact type is unknown. This change improves the clarity of the code and provides a more meaningful message for unknown artifact types.

Copy link

vercel bot commented Jun 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langflow ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 23, 2024 0:45am

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Jun 22, 2024
The post_process_raw function in artifact.py has been updated to set the raw value to "Built Successfully ✨" when the artifact type is unknown. This change improves the clarity of the code and provides a more meaningful message for unknown artifact types.
The Retriever class in constants.py has been refactored to improve code organization. This change separates the class definition from the rest of the code, making it easier to read and maintain.
…etter code organization

The create_or_update_starter_projects function in setup.py has been refactored to improve code organization. This change separates the function definition from the rest of the code, making it easier to read and maintain.
@ogabrielluiz ogabrielluiz merged commit 4389467 into dev Jun 23, 2024
11 of 14 checks passed
@ogabrielluiz ogabrielluiz deleted the rerank branch June 23, 2024 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant