Giter Club home page Giter Club logo

dosco / llm-client Goto Github PK

View Code? Open in Web Editor NEW
475.0 475.0 30.0 2.29 MB

LLMClient - JS/TS Use prompt signatures, Agents, Reasoning, Function calling, RAG and more. Based on the Stanford DSP Paper

Home Page: https://dosco.github.io/llm-client/

License: Apache License 2.0

TypeScript 100.00%
ai bard claude cohere google-ai gpt-3 javascript large-language-models llm llms mlops nodejs openai openai-api opensource palm together-compute typescript

llm-client's People

Contributors

dosco avatar mileszim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

llm-client's Issues

Aws bedrock

  • I'm submitting a ...
    [ ] bug report
    [X ] feature request
    [ ] question about the decisions made in the repository
    [ ] question about how to use this project

  • Summary

Looking to add custom providers but immediately
looking for AWS Bedrock provider. Possible to add that?

This helps to integrate with new providers easily. Looking forward for an update soon.

Ask-Question.js

Dosco, in the examples folder you have an ask-questions.js file mentioned in the readme but the actual file example is not linked. This the file that shows how to use Google Search with your library. Any chance you can add it?

Create a discussion listing business workflows to target

  • I'm submitting a ...
    [ ] bug report
    [X] feature request
    [ ] question about the decisions made in the repository
    [ ] question about how to use this project

  • Summary
    Use Github discussions to start a discussion listing business workflow ideas we should target in this library. For example PII detection, Classification list for customer communications, Email communication rewriting, etc

Prompt to extract details and classify customer communication

  • I'm submitting a ...
    [ ] bug report
    [ X] feature request
    [ ] question about the decisions made in the repository
    [ ] question about how to use this project

  • Summary
    Build a new prompt to extract customer and product information. And to classify the customer communication.

Allow to extend BaseAI

  • I'm submitting a ...
    [ ] bug report
    [X ] feature request
    [ ] question about the decisions made in the repository
    [ ] question about how to use this project

  • Summary

We have a special AI client that customizes existing AI like Anthropic, Bedrock and OpenAI. In order to use llm-client with them, it helps to build on top of llm-client and requesting to make it possible.

  1. BaseAI - https://github.com/dosco/llm-client/blob/main/src/ai/base.ts#L43 OR
  2. a better alternative.

Cohere AI provider error

I'm submitting a bug report

  • Summary
    The following code causes the exception: Cannot read properties of undefined (reading 'map'), this happens when calling a.forward
const ai = new Anthropic({
  apiKey,
});
const cot = new ChainOfThought(
  ai,
  `question:string -> answer:string`
);
const res = await a.forward({ question });

Documentation?

Hey guys,

First I wanted to start by thanking the repo owner for including example scripts and samples in the README. However, I was wondering if there is any link to documentation that describes all the methods and classes available. This would be helpful in understanding how to leverage the package for novel workflows that have not been covered by the samples yet.

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.