Skip to content

baoluchuling/ai_bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ai generate

usage

from ai_bridge import AIBridge

async def main():
    bridge = AIBridge(config_file="config.json")

    openai_response = await bridge.ask("openai", "What is the weather like today?")
    google_response = await bridge.ask("google", "How many continents are there?")

    print("OpenAI Response:", openai_response)
    print("Google Response:", google_response)

import asyncio
asyncio.run(main())

About

ai bridge

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages