Live link Metadata Retrieval
Welcome to the Metadata Schema Builder Interface! This web application allows users to generate a metadata schema based on an uploaded experimental machine data file. By leveraging the power of a large language model (LLM), the interface processes the input data and outputs a JSON file that represents the metadata schema. This tool is designed to simplify the creation of metadata schemas, making it easier to standardize data across experiments and systems.
- File Upload: Upload your experimental machine data file in the supported format.
- Automated Schema Generation: The interface uses an LLM model to analyze the uploaded data and generate a metadata schema.
- Language Selection: Choose the language for the responses.
- Output: Download the generated metadata schema as a file for further use or integration.
- User-Friendly Interface: The web interface is designed to be intuitive and easy to use, even for users with minimal technical expertise.
git clone https://github.com/teman67/LLM_Metadata.git
cd LLM_Metadata
python -m .venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
pip install -r requirements.txt
Create a .env
file in the root directory with the following content:
API_KEY=your_api_key
API_URL=your_api_url
Replace your_api_key
and your_api_url
with your actual API key and URL.
streamlit run app.py
Open your web browser and go to http://localhost:8501
.
- Upload a file (supports
.txt
,.docx
,.json
,.dat
). - Enter your question about the file.
- Select the language for the response.
- Click "Submit Question about Uploaded File" to get the response.
- Enter your question in the text area.
- Select the language for the response.
- Click "Submit Question Directly" to receive the answer.
- Choose a model from the dropdown menu.
- View and download the conversation history using the provided button.
- API Key: Ensure your API key is set in the
.env
file. - API URL: Specify the API endpoint URL in the
.env
file. - Models: Modify the list of available models in the source code as needed.
- Missing API Key: Make sure the
API_KEY
is correctly set in the.env
file. - File Upload Issues: Verify file format and encoding, and ensure the file is correctly processed.
- Model Errors: Confirm that the API URL and model configurations are accurate.
This project is licensed under the MIT License. See the LICENSE file for details.
For questions or issues, please contact amirhossein.bayani@gmail.com.
Enjoy exploring different language models with this app!