Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I get the input and output of each LLM call #890

Open
Frog863 opened this issue Jul 8, 2024 · 6 comments
Open

How do I get the input and output of each LLM call #890

Frog863 opened this issue Jul 8, 2024 · 6 comments

Comments

@Frog863
Copy link

Frog863 commented Jul 8, 2024

How do I get the input and output of each LLM call

@theCyberTech
Copy link
Collaborator

You can us agent ops, which is integrated within crewai, please install latest version of crewai which is version 0.36.0

@Frog863
Copy link
Author

Frog863 commented Jul 15, 2024

I updated to version 0.36.1 and then how do I see the LLM input and output at each step

@freddyvega
Copy link

After you install crewai[tools] you set your API key and initilizize agent ops. One of the first things that will then happen when you start your crew is a line will be printed on your terminal with a URL. Click that.

AGENTOPS_API_KEY = "yourkey"
agentops.init()

@Frog863
Copy link
Author

Frog863 commented Jul 16, 2024

Thank you,but what database is agentops in and how is it used

@freddyvega
Copy link

What do you mean which database? I don't understand. When you added the two lines to your python script and ran it, you didn't see in the terminal a line that looked like this: https://app.agentops.ai/drilldown?session_id=

@Frog863
Copy link
Author

Frog863 commented Jul 22, 2024

Thank you bro,I succeeded through your guidance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants