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.0.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for fastcopilot-0.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3846448139c6b19094872224971220a05607c33af20b9a47bbeda560d4221ea1 |
|
MD5 | d7e18e1016492df3f1947526818b3ceb |
|
BLAKE2b-256 | 8ca8725c298d6606f9ef3f192451156af51336e31b21ed495fb16213c722e819 |