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

useChat support for Langchain/Langgraph or custom APIs with standard ChatCompletion schemas #22

Open
gowedixyz opened this issue Dec 26, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@gowedixyz
Copy link

Feature Request: Leveraging React Native Generative UI with LangChain

Building complex, AI-powered applications with multi-agent setups and custom implementations often requires significant effort in both UI and AI integration. Current solutions lack the seamless integration of advanced generative AI capabilities into mobile apps, particularly for scenarios involving dynamic, real-time interactions with LangChain agents. This gap complicates the development process for AI-driven applications requiring flexible, multi-agent workflows.

Describe the solution you’d like

The integration of the react-native-gen-ui library with LangChain to create a robust framework for generative UIs in React Native apps. This solution would:
• Enable real-time communication between LangChain agents and React Native UIs, supporting multi-agent workflows.
• Provide a streamlined way to implement dynamic tools and functions in LangChain, such as tool calling and multi-step reasoning, directly within the app.
• Leverage the library’s useChat hook and tools framework to handle complex agent interactions, including custom tools for diverse scenarios.
• Support rich, interactive components for presenting AI-generated outputs, making it easier to design highly customized user interfaces.
• Offer scalability and extensibility for adding more complex agent behaviors, ensuring alignment with LangChain’s advanced capabilities.

Describe alternatives you’ve considered
1. Custom UI and LangChain integration
• Pros: Full control over implementation details.
• Cons: Requires significant development effort, increased complexity, and lacks reusable components.
2. Using existing libraries like LangChain.js
• Pros: Direct support for LangChain agents.
• Cons: Limited UI integration capabilities for mobile platforms like React Native.
3. Using server-side AI with basic UI frameworks
• Pros: Simplifies backend logic.
• Cons: Introduces latency and fails to leverage client-side generative AI features.

@gowedixyz gowedixyz added the enhancement New feature or request label Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant