futureagi 0.2.1__tar.gz → 0.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {futureagi-0.2.1/futureagi.egg-info → futureagi-0.2.2}/PKG-INFO +2 -2
- {futureagi-0.2.1 → futureagi-0.2.2}/README.md +1 -1
- {futureagi-0.2.1 → futureagi-0.2.2}/fi/client.py +1 -1
- futureagi-0.2.2/fi/examples/prompt_template.py +27 -0
- {futureagi-0.2.1 → futureagi-0.2.2}/fi/examples/rag_file.py +3 -2
- {futureagi-0.2.1 → futureagi-0.2.2/futureagi.egg-info}/PKG-INFO +2 -2
- {futureagi-0.2.1 → futureagi-0.2.2}/futureagi.egg-info/SOURCES.txt +1 -0
- {futureagi-0.2.1 → futureagi-0.2.2}/setup.py +1 -1
- {futureagi-0.2.1 → futureagi-0.2.2}/LICENSE.md +0 -0
- {futureagi-0.2.1 → futureagi-0.2.2}/MANIFEST.in +0 -0
- {futureagi-0.2.1 → futureagi-0.2.2}/docs/__init__.py +0 -0
- {futureagi-0.2.1 → futureagi-0.2.2}/fi/__init__.py +0 -0
- {futureagi-0.2.1 → futureagi-0.2.2}/fi/bounded_executor.py +0 -0
- {futureagi-0.2.1 → futureagi-0.2.2}/fi/examples/__init__.py +0 -0
- {futureagi-0.2.1 → futureagi-0.2.2}/fi/utils/__init__.py +0 -0
- {futureagi-0.2.1 → futureagi-0.2.2}/fi/utils/constants.py +0 -0
- {futureagi-0.2.1 → futureagi-0.2.2}/fi/utils/errors.py +0 -0
- {futureagi-0.2.1 → futureagi-0.2.2}/fi/utils/logging.py +0 -0
- {futureagi-0.2.1 → futureagi-0.2.2}/fi/utils/types.py +0 -0
- {futureagi-0.2.1 → futureagi-0.2.2}/fi/utils/utils.py +0 -0
- {futureagi-0.2.1 → futureagi-0.2.2}/futureagi.egg-info/dependency_links.txt +0 -0
- {futureagi-0.2.1 → futureagi-0.2.2}/futureagi.egg-info/requires.txt +0 -0
- {futureagi-0.2.1 → futureagi-0.2.2}/futureagi.egg-info/top_level.txt +0 -0
- {futureagi-0.2.1 → futureagi-0.2.2}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: futureagi
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Empowering GenAI teams to maintain peak model accuracy in production environments.
|
|
5
5
|
Home-page: https://github.com/future-agi/client
|
|
6
6
|
Author: Future AGI
|
|
@@ -26,7 +26,7 @@ Requires-Dist: urllib3==2.2.2
|
|
|
26
26
|
|
|
27
27
|
# Future AGI
|
|
28
28
|
|
|
29
|
-

|
|
30
30
|
|
|
31
31
|
Welcome to FutureAGI - Empowering GenAI Teams with Advanced Performance Management
|
|
32
32
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Future AGI
|
|
2
2
|
|
|
3
|
-

|
|
4
4
|
|
|
5
5
|
Welcome to FutureAGI - Empowering GenAI Teams with Advanced Performance Management
|
|
6
6
|
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import time
|
|
2
|
+
from fi.client import Client
|
|
3
|
+
|
|
4
|
+
from fi.client import ModelTypes, Environments
|
|
5
|
+
|
|
6
|
+
fi_client = Client(
|
|
7
|
+
uri="https://api.futureagi.com",
|
|
8
|
+
api_key="FI_API_KEY",
|
|
9
|
+
secret_key="FI_SECRET_KEY"
|
|
10
|
+
)
|
|
11
|
+
|
|
12
|
+
response = fi_client.log(
|
|
13
|
+
"prompt-template",
|
|
14
|
+
ModelTypes.GENERATIVE_LLM,
|
|
15
|
+
Environments.PRODUCTION,
|
|
16
|
+
"1.2",
|
|
17
|
+
int(time.time()),
|
|
18
|
+
{'chat_history':
|
|
19
|
+
[{'role': 'user',
|
|
20
|
+
"content": "TEXT",
|
|
21
|
+
'variables': {'name': 'Garvit',
|
|
22
|
+
'value_proposition': 'Get location information of your social media .'},
|
|
23
|
+
'prompt_template': 'Xyz template'},
|
|
24
|
+
{'role': 'assistant',
|
|
25
|
+
'content': "abc reply"}]}
|
|
26
|
+
).result()
|
|
27
|
+
print(response)
|
|
@@ -4,8 +4,9 @@ from fi.client import Client
|
|
|
4
4
|
from fi.client import ModelTypes, Environments
|
|
5
5
|
|
|
6
6
|
fi_client = Client(
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
uri="https://api.futureagi.com",
|
|
8
|
+
api_key="FI_API_KEY",
|
|
9
|
+
secret_key="FI_SECRET_KEY"
|
|
9
10
|
)
|
|
10
11
|
|
|
11
12
|
response = fi_client.log(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: futureagi
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Empowering GenAI teams to maintain peak model accuracy in production environments.
|
|
5
5
|
Home-page: https://github.com/future-agi/client
|
|
6
6
|
Author: Future AGI
|
|
@@ -26,7 +26,7 @@ Requires-Dist: urllib3==2.2.2
|
|
|
26
26
|
|
|
27
27
|
# Future AGI
|
|
28
28
|
|
|
29
|
-

|
|
30
30
|
|
|
31
31
|
Welcome to FutureAGI - Empowering GenAI Teams with Advanced Performance Management
|
|
32
32
|
|
|
@@ -4,7 +4,7 @@ def get_requirements(path: str):
|
|
|
4
4
|
|
|
5
5
|
setup(
|
|
6
6
|
name='futureagi',
|
|
7
|
-
version='0.2.
|
|
7
|
+
version='0.2.2',
|
|
8
8
|
author='Future AGI',
|
|
9
9
|
author_email='noreply@mail.futureagi.com',
|
|
10
10
|
description='Empowering GenAI teams to maintain peak model accuracy in production environments.',
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|