发布

  • [OPIK-271] Add integration with aws bedrock (#529)

    frostbyte_neo 发布于 2024-11-05 13:00:29 +00:00

    • Init bedrock namespace

    • Initial implementation for bedrock converse integration (non-streaming mode)

    • Draft implementation for converse_stream support

    • Update implementation for bedrock integration. Stream inside the response is now wrapped and response is returned. Metadata from the start of the span/trace is now merged with the metadata from the end of the span/trace.

    • Fix lint errors

    • Update _generators_handler

    • Fix lint errors

    • Add comments to SpanData and TraceData classes

    • Add comment to SpanData and TraceData class

    • Add comment

    • created_by -> created_from for unification with other integrations

    • add docstrings

    • Add first draft of Bedrock cookbook

    • Slight update to OpenAI cookbook to avoid recreating the client every time

    • Add streaming example to BedRock example

    • Add streaming example to BedRock example

    • Apply suggestions from code review

    Co-authored-by: Jacques Verré jverre@gmail.com

    • Update bedrock cookbook

    Pass project_name directly when possible
    Add screenshots

    • Introduce Opik.search_spans (#545)

    • Added Opik.search_spans method

    • [OPIK-309] Create prompt endpoint (#531)

    • [OPIK-309] Create prompt endpoint

    • Add logic to create first version when specified

    • Address PR review comments

    • Move piece of docstring to comment

    • Add protection from None in _generators_handler

    • Fix track-stacking when using track_bedrock or track_openai multiple times

    • Fix output structure in bedrock chunks aggregator


    Co-authored-by: Boris Feld boris@comet.com
    Co-authored-by: Jacques Verré jverre@gmail.com
    Co-authored-by: Thiago dos Santos Hora thiagoh@comet.com

    下载附件