Skip to main content

Fast Copilot framework, easy to learn, fast to code, fast to build a copilot for your applications.

Project description

FastCopilot

Example

from fastcopilot import Copilot


copilot = Copilot(api_key="your-api-key")

while True:
    ipt = input("Me: ")
    reply = copilot.run(ipt.strip())
    print(reply)

For asyncio

import asyncio

from fastcopilot import Copilot


copilot = Copilot(api_key="your-api-key")

def main():
    while True:
        ipt = input("Me: ")
        reply = await copilot.arun(ipt.strip())
        print(reply)

if __name__ == '__main__':
    asyncio.run(main())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fastcopilot-0.5.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

fastcopilot-0.5.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file fastcopilot-0.5.0.tar.gz.

File metadata

  • Download URL: fastcopilot-0.5.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for fastcopilot-0.5.0.tar.gz
Algorithm Hash digest
SHA256 ee2632ccca23c6d7b8305c09b079212a380bb0d1b990c235d81ec12f492bfd7b
MD5 17c76e5699f983588aa03ad46fef07ef
BLAKE2b-256 6420314c4ecd327aa64750c60512523fa3ab7eb7cdd1d926f38094dfb622027a

See more details on using hashes here.

File details

Details for the file fastcopilot-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: fastcopilot-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for fastcopilot-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3846448139c6b19094872224971220a05607c33af20b9a47bbeda560d4221ea1
MD5 d7e18e1016492df3f1947526818b3ceb
BLAKE2b-256 8ca8725c298d6606f9ef3f192451156af51336e31b21ed495fb16213c722e819

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page