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.3.tar.gz
(3.2 kB
view details)
Built Distribution
File details
Details for the file fastcopilot-0.5.3.tar.gz
.
File metadata
- Download URL: fastcopilot-0.5.3.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | b435f45b0cca1608cbcf7b838c076f91d39ba85686be13772e023dabdcd178ec |
|
MD5 | 25cfbd1a62461cd13fe3c864e6411893 |
|
BLAKE2b-256 | c89fe1374767fe1f23dd95cdac7da99c0204a77af9c75e19866a9aa828ee3690 |
File details
Details for the file fastcopilot-0.5.3-py3-none-any.whl
.
File metadata
- Download URL: fastcopilot-0.5.3-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6754d18309223e9bb1a9d8c7588f869ff7efa94d130aee4f02371e297994526b |
|
MD5 | 7ed1fd459c600e6990419c33957eb005 |
|
BLAKE2b-256 | fb740c1d3317bdefedeaecabab2f9ef2c9866a48af04ee4d1f2e7b429e969262 |