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

Infino integration for simplified logs, metrics & search across LLM data & token usage #6218

Merged
merged 18 commits into from
Jun 21, 2023

Conversation

naman-modi
Copy link
Contributor

@naman-modi naman-modi commented Jun 15, 2023

Integration of Infino with LangChain for Enhanced Observability

This PR aims to integrate Infino, an open source observability platform written in rust for storing metrics and logs at scale, with LangChain, providing users with a streamlined and efficient method of tracking and recording LangChain experiments. By incorporating Infino into LangChain, users will be able to gain valuable insights and easily analyze the behavior of their language models.

Please refer to the following files related to integration:

  • InfinoCallbackHandler: A callback handler specifically designed for storing chain responses within Infino.
  • Example infino.ipynb file: A comprehensive notebook named infino.ipynb has been included to guide users on effectively leveraging Infino for tracking LangChain requests.
  • Integration Doc for Infino integration.

By integrating Infino, LangChain users will gain access to powerful visualization and debugging capabilities. Infino enables easy tracking of inputs, outputs, token usage, execution time of LLMs. This comprehensive observability ensures a deeper understanding of individual executions and facilitates effective debugging.

Co-authors: @vinaykakade @savannahar68

Who can review?

I request @hwchase17, @agola11 and other community members for the review.

@naman-modi naman-modi marked this pull request as ready for review June 15, 2023 11:20
@naman-modi naman-modi changed the title Infino integrations for simplified logs, metrics & search across LLM data & token usage Infino integration for simplified logs, metrics & search across LLM data & token usage Jun 15, 2023
@vercel
Copy link

vercel bot commented Jun 16, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Jun 21, 2023 3:41am

@vercel vercel bot temporarily deployed to Preview June 16, 2023 04:15 Inactive
@vercel vercel bot temporarily deployed to Preview June 16, 2023 04:15 Inactive
@naman-modi
Copy link
Contributor Author

Hey @hwchase17 & @agola11, it would be great if you could review it!

Till then, can you please give approval to run the GH actions to lint, linkcheck and test?

@vercel
Copy link

vercel bot commented Jun 17, 2023

@naman-modi is attempting to deploy a commit to the LangChain Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

@hwchase17 hwchase17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some merge conflicts, also will want to update location of docs

@naman-modi
Copy link
Contributor Author

naman-modi commented Jun 19, 2023

Hey @hwchase17, thanks for the review! I have resolved the merge conflicts, and updated the locations of docs.

Can you please re-review, and also trigger the workflow checks?

@dev2049 dev2049 added the 03 enhancement Enhancement of existing functionality label Jun 21, 2023
@dev2049 dev2049 added callbacks lgtm PR looks good. Use to confirm that a PR is ready for merging. labels Jun 21, 2023
@dev2049 dev2049 merged commit 37a8991 into langchain-ai:master Jun 21, 2023
tconkling added a commit to tconkling/langchain that referenced this pull request Jun 21, 2023
* master: (28 commits)
  [Feature][VectorStore] Support StarRocks as vector db (langchain-ai#6119)
  Relax string input mapper check (langchain-ai#6544)
  bump to ver 208 (langchain-ai#6540)
  Harrison/multi tool (langchain-ai#6518)
  Infino integration for simplified logs, metrics & search across LLM data & token usage (langchain-ai#6218)
  Update model token mappings/cost to include 0613 models (langchain-ai#6122)
  Fix issue with non-list `To` header in GmailSendMessage Tool (langchain-ai#6242)
  Integrate Rockset as Vectorstore (langchain-ai#6216)
  Feat: Add a prompt template parameter to qa with structure chains (langchain-ai#6495)
  Add async support for HuggingFaceTextGenInference (langchain-ai#6507)
  Be able to use Codey models on Vertex AI (langchain-ai#6354)
  Add KuzuQAChain (langchain-ai#6454)
  Update index.mdx (langchain-ai#6326)
  Export trajectory eval fn (langchain-ai#6509)
  typo(llamacpp.ipynb): 'condiser' -> 'consider' (langchain-ai#6474)
  Fix typo in docstring of format_tool_to_openai_function (langchain-ai#6479)
  Make streamlit import optional (langchain-ai#6510)
  Fixed: 'readible' -> readable (langchain-ai#6492)
  Documentation Fix: Correct the example code output in the prompt templates doc (langchain-ai#6496)
  Fix link (langchain-ai#6501)
  ...
This was referenced Jun 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
03 enhancement Enhancement of existing functionality lgtm PR looks good. Use to confirm that a PR is ready for merging.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants