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

Uploaded Source

Built Distribution

fastcopilot-0.5.2-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fastcopilot-0.5.2.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.2.tar.gz
Algorithm Hash digest
SHA256 7f126d8c0413c58532cbf4ba1338ff7d6dfe7daaa321d464088f44d8c605c311
MD5 f153a15b2165b8eaaeaebd0c15c8230c
BLAKE2b-256 5588004711337a0e1f2bb6172e518cd6505074fd36611e20a414d5638d0c605e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fastcopilot-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 4.2 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 715ff8deee75d93dd4f24a4f51e4c491e52527d3619ea07c63de87e31c427589
MD5 3da2911425e9c266907387d066864bc6
BLAKE2b-256 32b7ddf3d7b7da36064b62f8c65a7501d17340d22599cf8c9377c51b61842da1

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