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

reka model integration #26405

Closed
wants to merge 6 commits into from
Closed

reka model integration #26405

wants to merge 6 commits into from

Conversation

findalexli
Copy link
Contributor

community: add Reka chat model integration

Description: This PR adds support for the Reka chat model to the LangChain community package. It includes the implementation of ChatReka class, which allows users to interact with Reka's API for chat completions. The integration supports both text and image inputs, streaming responses, and async operations.

Dependencies: This integration inside langchain-community requires the reka-api package to be installed. Users will need to install it separately with pip install reka-api.

Added features:

  • ChatReka class for interacting with Reka chat models
  • Support for text and image inputs
  • Streaming and non-streaming response handling
  • Synchronous and asynchronous methods
  • Unit and integration tests
  • Example notebook demonstrating usage

Testing:

  • Unit tests have been added in tests/unit_tests/chat_models/test_reka.py
  • Integration tests have been added in tests/integration_tests/chat_models/test_reka.py
  • An example notebook has been created in docs/docs/integrations/chat/reka.ipynb

I have run make format, make lint, and make test from the root of the community package, and all checks pass.

X/Twitter handle: @RekaAILabs

@dosubot dosubot bot added the size:XL This PR changes 500-999 lines, ignoring generated files. label Sep 12, 2024
Copy link

vercel bot commented Sep 12, 2024

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

Name Status Preview Comments Updated (UTC)
langchain ❌ Failed (Inspect) Oct 10, 2024 11:50pm

@dosubot dosubot bot added community Related to langchain-community Ɑ: models Related to LLMs or chat model modules 🤖:docs Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder labels Sep 12, 2024
@efriis
Copy link
Member

efriis commented Oct 8, 2024

hey there! CI is currently failing, and there are merge conflicts. If you close and reopen from a personal branch as outlined here, the maintainers (me) would have access to help!

let me know when CI is passing

@efriis
Copy link
Member

efriis commented Oct 16, 2024

closing in favor of #27379 from personal branch

@efriis efriis closed this Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Related to langchain-community 🤖:docs Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder Ɑ: models Related to LLMs or chat model modules size:XL This PR changes 500-999 lines, ignoring generated files.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants