Skip to content

tdiprima/GrokLab-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GrokLab-AI

There's all kinds of ways of doing this.

Setup Instructions

1. Clone the Repository

git clone https://github.com/tdiprima/GrokLab-AI.git
cd GrokLab-AI

2. Set Up Environment Variables

export GROK_API_KEY=your_api_key_here
export XAI_API_KEY=your_openai_key_here

3. Install Dependency

pip install openai

4. Running Scripts

Python

python python/query_template.py

JavaScript

node javascript/grok_api.js

Bash

bash bash/get_api_models.sh

Features

  • ✅ Integration with OpenAI and Grok AI APIs
  • ✅ Secure API key handling with environment variables
  • ✅ Organized folder structure for better maintainability
  • ✅ Support for multiple languages (Python, JavaScript, Bash)

Contribution Guidelines

  • Fork the repo and create a new branch (git checkout -b feature-name).
  • Commit changes (git commit -m "Added new feature").
  • Push to the branch (git push origin feature-name).
  • Open a Pull Request.

License

This project is licensed under the MIT License.