Comments (6)
@tyler-suard-parker autogen itself will call openai several times to get the result/simulate the chat group turns, that's related to the inner logic of autogen which is not related to promptflow tracing.
from promptflow.
Thank you Brynn. How do I turn it off? I do not want tracing on those parts, I only want it on the parts that I specify.
from promptflow.
There is an internal workaround to achieve this, I'll leave this to our tracing expert @thy09 XD
from promptflow.
Hi @tyler-suard-parker I think you can call this internal function after start_trace
to avoid openai_chat for workaround.
from promptflow.tracing._integrations._openai_injector import recover_openai_api
Note that this is an internal function, we do not expose a public function now.
Maybe we can have a public function for that or add an option in start_trace
from promptflow.
@thy09 That worked perfectly, thank you. You also might want to add it to the Promptflow Tracing documentation.
from promptflow.
@tyler-suard-parker This is an internal function, so we are not ready to expose it. We may need some discussion how to expose such APIs.
from promptflow.
Related Issues (20)
- [BUG] Index Lookup raises Exception in search_function_execution. HOT 7
- [BUG] `promptflow._utils.ExceptionPresenter` does not handle self chaining exception correctly
- [Feature Request] Group chat in lmql
- [BUG] promptflow.core._prompty_utils][ERROR] - Exception occurs: InternalServerError: Error code: 500
- [Feature Request] Automatic Propagation of PromptFlow Connection Changes to Live Endpoints HOT 1
- Support changing LLM tool Deployment name via environment variables for better parameterisation
- [BUG] [VSCode Extension] Tools being removed in AI Studio and VSC plugin
- [BUG] `pfazure run create` failing to spin up with serverless as well as compute instance compute type
- [BUG] Connection still required when override it execute flow as function
- [Feature Request] LLM error handling
- [BUG] ResolutionImpossible promptflow-rag MacOS python3.11 HOT 3
- [Feature Request] Deploy Flow to Azure AI Studio UI HOT 4
- Dependency Conflict Between Promptflow-Devkit and Vulnerable Flask-CORS Package
- serve page /ui/traces on 0.0.0.0:23333 instead of localhost:23333
- [BUG] Running Prompt flow locally produces errors HOT 11
- Add support for prompty format to LLM/Prompt tools in DAG flow
- [BUG] Failed to upload run to Azure AI Project HOT 1
- [Feature Request] Improve Evaluation Charts HOT 2
- [Feature Request] Allow for complex/nested types of flow inputs
- [BUG] Long parameter descriptions result in ResolveToolError
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from promptflow.