Tiberius. Its me again.
I know you are working on a lot right now but I'm just wondering what the average time it takes to make an AI? because wen you are done updating TiberiusGBT I am wondering if you can help me make my own AI
I know you are working on a lot right now but I'm just wondering what the average time it takes to make an AI? because wen you are done updating TiberiusGBT I am wondering if you can help me make my own AI
It depends on what your talking about, if you want your own AI that is completely free forever and you can use it however you want whenever you want locally on your computer (not your own AI really but the best to start!), then use Ollama. It is a truly Local AI that is truly forever and no limits! (The only downside to this is what your specs are in your computer! Doesn't work on ChromeOS)
If you want to actually code this AI then use a free API key from somewhere like OpenRouter. I think it has a usage limit though. (python is easiest) To do it, you can configure the official OpenAI SDK as a drop in replacement by changing the base_url and passing your OpenRouter API key. Before running the code, set your API key in your terminal environment:
export OPENROUTER_API_KEY="your_sk_or_key_here"
install the OpenAI library: pip install openai.
import osfrom openai import OpenAI
# Initialize the client pointing to OpenRouterclient = OpenAI(
base_url="https://openrouter.ai/api/v1",
api_key=os.environ.get("OPENROUTER_API_KEY"),
)
# Complete a chat request using any supported OpenRouter modelresponse = client.chat.completions.create(
model="meta-llama/llama-3-8b-instruct:free",
messages=[
{"role": "user", "content": "Hello! Introduce yourself in one short sentence."}
],
headers={
"HTTP-Referer": "https://localhost:3000", # Optional: Your site URL for OpenRouter rankings
"X-OpenRouter-Title": "Local Test App", # Optional: Your site name for OpenRouter rankings
}
)
print(response.choices[0].message.content)