Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/promptmixerdev/prompt-mixer-langchain-tavily-search-openai-connector
Tavily-OpenAI connector harnesses Tavily's web research capabilities and LangChain's AI toolkit to create intelligent, internet-connected agents powered by OpenAI models.
https://github.com/promptmixerdev/prompt-mixer-langchain-tavily-search-openai-connector
langchain openai tavily
Last synced: 14 days ago
JSON representation
Tavily-OpenAI connector harnesses Tavily's web research capabilities and LangChain's AI toolkit to create intelligent, internet-connected agents powered by OpenAI models.
- Host: GitHub
- URL: https://github.com/promptmixerdev/prompt-mixer-langchain-tavily-search-openai-connector
- Owner: PromptMixerDev
- Created: 2024-04-03T15:44:26.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-10-31T00:23:09.000Z (21 days ago)
- Last Synced: 2024-10-31T01:21:32.591Z (20 days ago)
- Topics: langchain, openai, tavily
- Language: JavaScript
- Size: 270 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Echo Connector
This repository contains a simplified connector that uses an echo function to simulate responses from a chat model. It's designed to mimic the behavior of more complex connectors (like those interfacing with models such as Ollama), but without the need for external API calls. This can be particularly useful for testing, development, or educational purposes.
## Features
- Echo function that simulates chat responses
- Mapping of chat completions to a standardized response format
- Simple integration into existing TypeScript projects
- Configurable to simulate different model types## Installation
Before installing this connector, ensure you have [Node.js](https://nodejs.org/) installed on your system.
1. **Clone the repository**
```bash
git clone https://github.com/PromptMixerDev/prompt-mixer-sample-connector.git
cd prompt-mixer-sample-connector
```2. **Install dependencies**
```bash
npm install
```This will install all necessary dependencies, including TypeScript and any types required for development.
## Configuration
The `config` object can be adjusted to suit your needs. It's located in `config.ts`. By default, it might include placeholders for various configurations. Ensure you review and update it as necessary for your project.
## Contributing
Contributions are welcome! If you have improvements or bug fixes, please follow these steps:
1. Fork the repository
2. Create your feature branch (`git checkout -b feature/AmazingFeature`)
3. Commit your changes (`git commit -am 'Add some AmazingFeature'`)
4. Push to the branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request## License
This project is licensed under the MIT License
## Acknowledgments
- This project is inspired by the need for simple, mock connectors in development environments.
- Thanks to all contributors and users for their interest and feedback.