This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [openai_runtime_smoke_agent][artifacts] | |
| <system_note> | |
| <artifacts code_interpreter="python_interpreter" namespace="artifacts"> | |
| <artifact name="runtime_notes" filename="runtime_notes.txt" size="567" | |
| unit="bytes"/> | |
| </artifacts> | |
| </system_note> | |
| [openai_runtime_smoke_agent][call_model] | |
| gen_ai.module.start: {"module_name": "openai_runtime_smoke_agent", | |
| "module_type": "agent", "scope": {"namespace": "default", "session_id": |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /// script | |
| # dependencies = [] | |
| # /// | |
| # | |
| # Run this server with: | |
| # | |
| # uv run --with 'msgflux[server,openai]' msgflux server \ | |
| # examples/server_streaming_agent.py:registry --host 127.0.0.1 | |
| # | |
| # The server listens on http://127.0.0.1:8010/v1 by default and exposes: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import asyncio | |
| import math | |
| import re | |
| from collections import defaultdict | |
| from datetime import datetime, timedelta | |
| from typing import Callable, Dict, List, Optional, Union | |
| class BasicDBConnector: | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| kfolds = 5 | |
| scores = cross_val_score(modelo, x, Y, cv = kfolds, scoring = "accuracy") | |
| print("Resultado dos k testes", scores) | |
| print("Média dos testes", scores.mean()) | |
| print("Desvio Padrão dos testes", scores.std()) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from sklearn.model_selection import cross_val_score | |
| import Numpy as np |