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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Harrison/aim integration #2178

Merged
merged 2 commits into from
Mar 30, 2023
Merged

Harrison/aim integration #2178

merged 2 commits into from
Mar 30, 2023

Conversation

hwchase17
Copy link
Contributor

No description provided.

tamohannes and others added 2 commits March 29, 2023 22:23
Integrating Aim with LangChain allows for a streamlined and efficient
method of tracking and recording LangChain experiments. By using Aim,
users can log important information such as prompts, generated results,
and serialized LangChain modules.

The following additions have been made to the system:
- A callback handler called `AimCallbackHandler` for storing chain
responses
- An example .ipynb file named `aim_tracking.ipynb` providing guidance 

The following event listeners have been integrated:
- on_llm_start
- on_llm_end
- on_llm_new_token
- on_llm_error
- on_chain_start
- on_chain_end
- on_chain_error
- on_tool_start
- on_tool_end
- on_tool_error
- on_text
- on_agent_finish
- on_agent_action

Aim makes it super easy to visualize and debug LangChain executions. Aim
tracks inputs and outputs of LLMs and tools, as well as actions of
agents.

With Aim, you can easily debug and examine an individual execution:

---------

Co-authored-by: Gor Arakelyan <arakelyangor10@gmail.com>
@hwchase17 hwchase17 merged commit fe804d2 into master Mar 30, 2023
@hwchase17 hwchase17 deleted the harrison/aim-integration branch March 30, 2023 05:37
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

Successfully merging this pull request may close these issues.

None yet

2 participants