GithubHelp home page GithubHelp logo

atisharma / llama_farm Goto Github PK

View Code? Open in Web Editor NEW
147.0 147.0 3.0 472 KB

Use local llama LLM or openai to chat, discuss/summarize your documents, youtube videos, and so on.

License: GNU Affero General Public License v3.0

Python 0.81% Hy 99.19%

llama_farm's Issues

Let LLM use tools in chat

tools.hy sort-of-works but is unreliable and could offer something like a plugin system. If it could be made more reliable and performant then it should be made available in the regular chat.

Speech to text

Use faster-whisper to record audio as input.
Use a push-to-talk button

Remove langchain dependency?

Langchain is a quite large and sprawling dependency. It's currently used for:

  • document loading (wrapping unstructured)
  • document splitting (the document splitters are pretty good)
  • wrapping the Chroma and FAISS dbs.

It's simple enough to replace the db wrappers and the loaders could use Unstructured directly, but I'm unsure about the document splitters.

target / task management

Some ideas are already in tasks.hy, but it's a quite a hard problem. Other projects are attempting it. Perhaps it should be out of scope?

openAI key/API problems

I have set the openai_api_key and I get:
AuthenticationError: Incorrect API key provided: n/a. You can find your API key at https://platform.openai.com/account/api-keys.
I hardcode the key in place of N/A in the defaults and I get:
InvalidRequestError: Unrecognized request arguments supplied: openai_api_base, openai_api_key

are there problems with the implementation of the API?

AttributeError using /ingest

Hi,

first of all thank for your great project! Whenever I invoke "/ingest" and regardless of the given input (urls, filnames, dir) it throws an AttributeError, e.g. /ingest "text.txt" will throw

AttributeError: 'list' object has no attribute 'decode'

The trace is barely readable so could you please check if you are having the same issue?
Am I doing something wrong here?

hy.reader error

Hi there. When I run llama_farm I get this error :

hy.reader.exceptions.LexException: reader macro '#^list' is not defined

Ideas? Thanks

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.