Hi, I'm trying to figure out how to switch projects on the fly. Basically, I've registered multiple projects when I initiate my app. Now, I want to send different llm calls to different projects for better separation , how can I do that? BTW, I'm using litellm framework.
💡 Hint: Mention RunLLM in the thread for followups.
If you tell me the right answer to this question, I'll make sure I don't make the same mistake twice!
Feedback
Type the right answer here...
↵ Please 'enter' to submit
Let us know if this page helps https://docs.arize.com/phoenix/tracing/how-to-tracing/setup-tracing/setup-projects
It says it's possible to use using_project context manager in notebooks. However, I'm trying to do it in my production environment.
I would, but I want to assign each function to a speicific project and I don't find a way to do that. Additionally, for sessions, all your examples are for openai, it's not clear how to create sessions with litellm framework.
I would, but I want to assign each function to a speicific project and I don't find a way to do that.
How many projects do you intend to use?
Let's say 4 to 5, each for different features
It sounds like you want traces generated by a specific function to go to a particular project.
And you are using LiteLLM auto-instrumentation within your individual functions.
correct
Okay, is your goal primarily to split out your traces into logical spaces for distinct analysis? Maybe you can help me understand the need for separate projects in your case. Tags are another option for grouping traces within a single project, for example.
That is correct. I'm looking for logical spaces for distinct analysis as you described.
I can use tags if splitting projects is not yet available.
