Skip to content

Instantly share code, notes, and snippets.

@NoRulesJustFeels
Last active June 13, 2024 12:34
Show Gist options
  • Save NoRulesJustFeels/55166ea8dcfa639f050a85eac755bf03 to your computer and use it in GitHub Desktop.
Save NoRulesJustFeels/55166ea8dcfa639f050a85eac755bf03 to your computer and use it in GitHub Desktop.
// LLM: Google Gemini 1.5 Flash
// status: list of all Answer Bot status messages for today (see #teia-answer-bot channel on the Teia Discord server: https://discord.gg/fmNTjfBdyV)
const prompt =
`Act as a Site Reliability Engineer. Consider the following logs from a bot called Answer Bot tracking the technical dependencies for the Teia NFT marketplace. Each dependency relate to the infrastructure, API's and services for running the marketplace as a Web3 app using the Tezos blockchain.
"""
${status}
"""
Note the following:
- The Tezos blockchain aims to produce blocks roughly every 10 seconds.
- https://teia.art is the web frontend for the Teia marketplace.
- The Teia.art code is open-sourced and is hosted on GitHub.
- Teia TzKT server is a Teia instance of the TzKT API to obtain data about the Tezos blockchain.
- Teia TezTok indexer is the main indexer and source of all Teia data in the Tezos blockchain.
- Teia backup TezTok indexer is only used when the Teia TezTok indexer is down for maintenance.
- Objkt.com indexer is a secondary indexer and used to support swapping NFTs using objkt.com.
- IPFS gateway is used for both storing and retreiving metadata and artifact files of NFTs.
- TzKT API is used for retrieving data about the Tezos blockchain.
- TzProfiles indexer is a secondary indexer to obtain account profile data.
- The restricted list is used to track accounts that have been restricted/banned from Teia.
- The RPC nodes are used to interact with the Tezos network for submitting transactions.
- Content moderation keeps track of the stats about restricted/banned accounts and OBJKTs that have been moderated as either NSFW or photosensitive.
- Temporary interruptions in various services are normal as long as they recover.
- Avoid opinions on the content moderation system.
- Do NOT include any recommendations in the summary.
- Title the summary as: "Teia Daily Status Summary"
Summarize the status of the dependencies in a concise and clear manner, and identify key trends and takeaways. Make sure to include all relevant details in your summary and analysis. Keep the response non-technical.
`;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment