Code Monkey home page Code Monkey logo

Comments (6)

buhe avatar buhe commented on June 11, 2024

Thank you!
Looking forward to your PR, if there is anything need help please do not hesitate to say.

from langchain-swift.

buhe avatar buhe commented on June 11, 2024

I've used https://github.com/soto-project/soto and hope it helps

from langchain-swift.

sebsto avatar sebsto commented on June 11, 2024

@buhe that was my next question. This PR would bring a very large dependency in.
I was planning to use the AWS SDK for Swift (https://github.com/awslabs/aws-sdk-swift), Soto would work too if it has been updated to include Bedrock API.
I also have a "mini-SDK" working, just for Bedrock, with just one dependency to generate the AWS signature in the header. This is much lighter but would require to manually add Bedrock API if they are going to add more in the future.

My preference in terms of future maintainability is to bring in the AWS SDK for Swift. But that will significantly increase swift package resolve and swift build time for everybody.

What do you think ?

from langchain-swift.

buhe avatar buhe commented on June 11, 2024

I also feel that the AWS SDK should be introduced as a dependency. As for the size, and at some point later we can split the project into langchain-swift, langchain-swift-ext1, langchain-swift-ext2. Langchain-swift as the core contains superclass and basic implementation, the rest can be put into langchain-swift-ext1 and dependency on langchain-swift, so that users can choose for themselves.

What do you think?

from langchain-swift.

buhe avatar buhe commented on June 11, 2024

@sebsto Is there anything I can do to help?

from langchain-swift.

sebsto avatar sebsto commented on June 11, 2024

@buhe - I am busy at work until Dec. 7th. Will test and report here after that date.

from langchain-swift.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.