π‘ How ChatCX Works
Last updated
Last updated
ChatCX is a cutting-edge AI agent that retrieves, processes, and generates intelligent Web3 insights using retrieval-augmented generation (RAG) and reinforcement learning (RL).
π Key Technologies Used:
β Hyperbolic APIs β Provides access to DeepSeek R1 for response generation β AltLayer Autonome β Hosts the ChatCX agent for scalable, reliable AI execution β pgvector (PostgreSQL) β Stores vectorized embeddings for fast semantic search β OpenAI Embeddings β Converts user queries & tweets into searchable vector data
A cron job performs:
Fetching fresh tweets from a curated list of Web3 Twitter/X accounts.
Preprocessing, filtering and customizing to remove spam, extract useful information and convert into a meaningful schema for LLMs.
Vectorizing the cleaned tweets custom schema using OpenAI Embeddings.
Storing vectorized embeddings in pgvector (PostgreSQL).
This allows ChatCX to quickly retrieve relevant discussions when answering user queries.
When a user sends a query, ChatCX:
Assigns a unique chatID and starts processing.
Vectorizes the userβs query using OpenAI Embeddings.
Queries the pgvector database for the most relevant discussions & insights.
Retrieves the top matches (can include recent tweets, past responses, and summaries).
Once the relevant data is retrieved, ChatCX:
Sends it to DeepSeek R1 via Hyperbolic APIs.
Includes:
System prompt β Fine-tuned to format responses accurately.
Temperature settings β Adjusts randomness vs. precision.
Previously generated insights β Ensures context-awareness.
DeepSeek R1 generates an intelligent response.
Stores the response under the assigned chatID.
The generated response is stored under the chatID.
AltLayer Autonome hosts the ChatCX agent, ensuring:
Scalability π β Handles large traffic efficiently.
Resilience π β Ensures uninterrupted service.
Secure execution β Unbiased generation.
The response can be queried using the chatID.
Instead of using a basic keyword search or simple chatbot responses, ChatCX leverages state-of-the-art AI techniques to ensure accurate, real-time, and context-aware insights for Web3 users. Hereβs why:
β Retrieval-Augmented Generation (RAG) for Precision β Unlike traditional AI agents, ChatCX doesnβt hallucinate responses. β It retrieves relevant, real-world data before generating an answer.
β Reinforcement Learning (RL) for self awareness β ChatCX learns from it's previous responses. β It queries for previous generations before generating a new answer.
β Latest Web3 Narratives in Real Time β Crypto narratives evolve fastβChatCX ensures you're always up-to-date. β The bot continuously fetches fresh discussions from Twitter/X.
β AI-Enhanced Summarization Using DeepSeek R1 β Instead of overwhelming users with raw data, ChatCX generates concise, meaningful insights.
β Vector Search for High-Speed, Context-Aware Responses β Instead of scanning thousands of tweets manually, ChatCX uses pgvector for instant lookups.
β Scalable, Secure & Fault-Tolerant Deployment on AltLayer Autonome β ChatCX runs entirely on AltLayer Autonome, ensuring no downtime, secure execution using TEE, fast processing, and smooth performance.