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
Release history Release notifications | RSS feed
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 hashes)
Built Distribution
Close
Hashes for fastcopilot-0.5.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 715ff8deee75d93dd4f24a4f51e4c491e52527d3619ea07c63de87e31c427589 |
|
MD5 | 3da2911425e9c266907387d066864bc6 |
|
BLAKE2b-256 | 32b7ddf3d7b7da36064b62f8c65a7501d17340d22599cf8c9377c51b61842da1 |