Skip to content

sairamarava/Local-AI-Agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”— OpenRouter AI Chat API Example

This is a simple Python script demonstrating how to use the OpenRouter API to interact with an AI model (mistralai/mistral-7b-instruct) and get a text-based response.


πŸš€ Features

  • Connects to the OpenRouter API using requests
  • Sends a simple chat completion request
  • Parses and prints the AI-generated response

πŸ“¦ Requirements

Make sure you have the following installed:

pip install requests

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages