If you just want to get started → Click here
Most AI companies rely on almost the same publicly available models. Yet, what makes each of them so different from other are mainly 2 things:
While the iteration speeds for testing input prompts have become quicker by deploying the right tools in place, managing context is still a problem.
To better understand and improve our model’s performance, its critical to have an observability over the information being provided to the model. It is critical that the model has enough context to evaluate the inputs correctly, while ensuring that we don’t flood the model with too much information that it starts to hallucinate (and you end up paying too much money 😕)
CompextAI is an LLMOps tool designed for AI Pipelines where developers and product-managers can conveniently monitor their LLM conversations and executions. Not only can they monitor, but they can perform powerful actions on their existing conversations.
Some actions include:
You can maintain your AI conversations similar to how OpenAI Threads are maintained. Except with CompextAI, they are extremely powerful and compatible across all models. No more managing the conversations in a local/global array variable 😮💨
CompextAI has one goal - To let developers and product managers both be a part of the AI Pipeline development and review cycle. And to make this whole process a lot quicker.
It can do a lot of developer friendly stuff, for example:
import compextAI.api.api as compextAPI
import compextAI.execution as compextExecution
import compextAI.threads as compextThreads
import compextAI.params as compextParams
import compextAI.messages as compextMessages
# import the libraries from compext
# initialise the client
client = compextAPI.APIClient(
base_url="<https://api.compextai.dev>",
api_key="xxxxxxxxxxxxxxx"
)
# create a thread - start a conversation
thread: compextThreads.Thread = compextThreads.create(
client=client,
project_name="demo-project",
title="Say hello in docs!",
metadata={
"date": "2024-11-11"
}
)
print("thread id: ", thread.thread_id)
Now, you can save this thread_id
associated with this conversation. Later you can use this to add/edit messages and execute this thread.