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.4.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fastcopilot-0.4.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.4.0.tar.gz
Algorithm Hash digest
SHA256 3943b95fa68b31b686ca8de5b9d414f8294829283b8af80aef2298e79bfed608
MD5 f9e10f48342352496cd8d6ebdca09184
BLAKE2b-256 c750befabd5b17c0af6a144eed1ec5623571b68341e66a200df8667db1696bd0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fastcopilot-0.4.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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0ddffd6fea1ee978741c6c21c03fcb65cfe059a191d598beb29827220bc5c02c
MD5 0f9130dbcecfc60cf32b43d90c85fa21
BLAKE2b-256 af81dcffd51f3217a5c8dc83e9347ba7f79a52a143e32033286c85b3f42a74c5

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