Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arshitarora/custom-alchemy
A custom chatgpt for blockchain, also extracts live currency rates from Coin Layer API
https://github.com/arshitarora/custom-alchemy
bitcoin blockchain machine-learning openai python
Last synced: 24 days ago
JSON representation
A custom chatgpt for blockchain, also extracts live currency rates from Coin Layer API
- Host: GitHub
- URL: https://github.com/arshitarora/custom-alchemy
- Owner: ArshitArora
- Created: 2023-08-28T11:25:45.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-06T16:34:58.000Z (over 1 year ago)
- Last Synced: 2024-09-18T10:49:16.752Z (4 months ago)
- Topics: bitcoin, blockchain, machine-learning, openai, python
- Language: Python
- Homepage:
- Size: 4.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 5ire Assistant - GitHub README ππΌπ€
This repository contains code for a conversational assistant powered by Langchain components and the Coin Layer API. The assistant can answer questions and provide cryptocurrency exchange rates.
## Features π- **Question Answering:** The assistant utilizes Langchain's components for question answering. It retrieves relevant information from a directory of text documents using embeddings and a retrieval-based approach.
- **Cryptocurrency Exchange Rates:** The assistant can also provide real-time exchange rates for cryptocurrencies using the Coin Layer API.
- **User Interface:** The assistant comes with a user-friendly interface built using Gradio. It allows users to input their queries and specify a cryptocurrency code to get relevant information.## Setup βοΈ
1. Clone this repository to your local machine:
```bash
git clone https://github.com/yourusername/5ire-assistant.git
cd 5ire-assistant2. Obtain your Coin Layer API key and OpenAI API key. Replace YOUR_COIN_LAYER_API_KEY and YOUR_OPENAI_API_KEY in the code with your actual keys.
3. Set up your document directory: Place your text documents in the specified directory (/path/to/your/documents) for Langchain to work with.
4. Run the program:Copy code
`python3 main.py`
Access the assistant through your web browser at http://localhost:7860.Usage π
Enter your question in the text input field.
Optionally, enter a cryptocurrency code (e.g., BTC) to get its exchange rate.
Click the "Submit" button to get your answer or exchange rate information.
Contributions πContributions are welcome! If you encounter any issues, have suggestions for improvements, or want to add new features, feel free to submit a pull request.