Skip to content

MarcoWorms/MagiQL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MagiQL

image

Telegram bot that can send requests made with natural language to a GraphQL endpoint and process responses.

Made with https://github.com/MarcoWorms/RefactorGPT

Requirements

You need to have Docker installed on your machine.

Usage

  1. Build the Docker image (add your openAI and telegram keys, and also graphql endpoint): docker build --build-arg GRAPHQL_ENDPOINT='your-graphql-endpoint' --build-arg OPENAI_API_KEY='your_openai_api_key' --build-arg TELEGRAM_BOT_TOKEN='your_telegram_bot_token' -t telegram-bot .
  2. Run the Docker container: docker run telegram-bot
  • /query insert your question here is the main thing
  • /query_info provides documentation on the endpoint schema (if you don't know the schemas you might ask for impossible queries and it will throw error saying it can't do it)

Examples

image

image

About

query GraphQL endpoints with natural language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published