-
Notifications
You must be signed in to change notification settings - Fork 153
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
[DRAFT] add otel semantic convention attributes #1124
Merged
piotrm0
merged 53 commits into
feature/traces
from
piotrm/traces/otel-semantic-conventions
May 29, 2024
Merged
[DRAFT] add otel semantic convention attributes #1124
piotrm0
merged 53 commits into
feature/traces
from
piotrm/traces/otel-semantic-conventions
May 29, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* azureopenai docstring * azureopenai.md * remove extra references to supported feedbacks * Update azureopenai.md
dosubot
bot
added
the
size:L
This PR changes 100-499 lines, ignoring generated files.
label
May 3, 2024
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Co-authored-by: Josh Reini <60949774+joshreini1@users.noreply.github.com>
* fix link on langchain instrumentation docs * fix llama-index quickstart link * fix langchain instrumentation docs, add missing imports * add missing imports to nemo instrumentation docs
* fix rag triad and awaitable calls * remove locals printout in awaitables message
…ses, added trulens internals demonstrations notebook
* fix rag triad and awaitable calls * remove locals printout in awaitables message * update __getattr__ in select_context (#1119) --------- Co-authored-by: Piotr Mardziel <piotrm@gmail.com>
Co-authored-by: Josh Reini <60949774+joshreini1@users.noreply.github.com>
* Update feedback.py * use name
retreivers -> retrievers
* unify groundedness start * remove groundedness.py * groundedness nli moves * remove custom aggregator * groundedness aggregator to user code * move agg to trulens side by default (groundedness) * remove extra code * remove hf key setting * remove hf import * add comment about aggregation for context relevance * update init * remove unneeded import * use generate_score_and_reasons for groundedness internally * f-strings for groundedness prompts * docstring * docstrings formatting * groundedness reasons template * remove redundant prompt * update quickstarts * llama-index notebooks * rag triad helper update * oai assistant nb * update readme * models notebooks updates * iterate nbs * mongo, pinecone nbs * update huggingface docstring * remove outdated docstring selector notes * more docstring cleaning
* open ai streaming adjustments in cost tracking * notes * delete outputs
Co-authored-by: joshreini1 <joshreini1@users.noreply.github.com> Co-authored-by: Josh Reini <60949774+joshreini1@users.noreply.github.com>
* Update selecting_components.md * Update MultiQueryRetrievalLangchain.ipynb * Update random_evaluation.ipynb * Update canopy_quickstart.ipynb
* update comprehensiveness + nb * nb expansion * fix typo * meetingbank transcript data * oss models in app * test * benchmarking gpt-3.5-turbo, gpt-4-turbo, and gpt-4o * update path * comprehensiveness benchmark * updated summarization_eval nb * fix normalization * show improvement in comprehensiveness feedback functions --------- Co-authored-by: Daniel <dah0417912@gmail.com>
* version bump * simpler lc quickstart * update installs and imports * update langchain instrumentation docs * remove groundedness ref from providers.md * build docs fixes * remove key cell * fix docs build * firx formatting for stock.md * remove extra spaces * undo format change * update docstrings for hugs and base provider * openai docstring updates * hugs docstring update * update context relevance hugs docstring * more docstring updates * remove can be changed messages from openai provider docstrings
Co-authored-by: joshreini1 <joshreini1@users.noreply.github.com>
* add to glossary * finish some terms
dosubot
bot
added
size:XXL
This PR changes 1000+ lines, ignoring generated files.
documentation
Improvements or additions to documentation
and removed
size:L
This PR changes 100-499 lines, ignoring generated files.
labels
May 20, 2024
* add httpx to requirements * undo httpx add * test add langchain-community * change langchain-community required version
…nai endpoint (#1154) * first * adjust docs * logic * add langhain_community to pinecone reqs too * adjust trubot example with new reqs * more reqs * remove extra text * add langchain_community to a few imports in notebooks --------- Co-authored-by: Piotr Mardziel <piotrm@Piotrs-Laptop.local> Co-authored-by: Josh Reini <60949774+joshreini1@users.noreply.github.com>
Co-authored-by: Josh Reini <joshua.reini@snowflake.com>
Co-authored-by: Josh Reini <joshua.reini@snowflake.com>
…es/otel-semantic-conventions
…mantic-conventions
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
documentation
Improvements or additions to documentation
size:XXL
This PR changes 1000+ lines, ignoring generated files.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added more information to
design.md
and split of internal discussions intointernals.md
. Included the secondary goal of the external API's indesign.md
.Added a temporary file (not currently used) with span features that are part of open telemetry semantic conventions for AI as seen here: https://github.com/open-telemetry/semantic-conventions/blob/main/docs/gen-ai/llm-spans.md and here https://github.com/traceloop/openllmetry/blob/main/packages/opentelemetry-semantic-conventions-ai/opentelemetry/semconv/ai/__init__.py .
Renamed some json-related type aliases and started using
typing_extensions.TypeAliasType
.Also renamed a few type aliases to conform to
TCamelCase
naming scheme.Added a tool component to custom app example that records the stack trace when it is invoked. This is for demonstration purposes of the library internals with regards to instrumentation.
Added a component which uses trulens recording contexts itself. This is also for demonstration purposes.
Moved a few attributes from
Span
class to its parentOTSpan
. These are things close enough to things in the OTEL spec that they would belong better there.Started work on otel compatible exporter with the method
OTSpan.freeze
which produces an OTELReadableSpan
.Prototyping storage and querying of JSON in sqlalchemy-managed databases.