Giter Site home page Giter Site logo

notebooks's People

Contributors

aalpat4 avatar alexisbcook-cohere avatar anna-cohere avatar billytrend-cohere avatar boyu-cohere avatar co-antwan avatar co-jason avatar co-sylvie avatar foundations-team-machine-user avatar giannis2two avatar gonzalocohere avatar harry-cohere avatar hellomitchell avatar ishubham326 avatar itamarrocha avatar jalammar avatar jlinsdell-cohere avatar joan-devassy avatar justin-lee-cohere avatar kseniia-cohere avatar luisguiserrano avatar mahjongmen avatar marcodel13 avatar maximevoisincohere avatar mkozakov avatar mrmer1 avatar robiriondo avatar shaandes avatar stewart-co avatar wdarling-cohere 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

notebooks's Issues

Issue with Cohere's multilingual model for creating embeddings of CSV

I trying to create embeddings of CSV file of size around 137 MB which has both numerical and text column (total of 6). using the following code
from langchain.document_loaders.csv_loader import CSVLoader loader = CSVLoader(file_path=path, encoding="utf-8") data = loader.load() embeddings = CohereEmbeddings(model="multilingual-22-12", cohere_api_key= cohere_api_key) doc_result = embeddings.embed_documents([data])

above gives the following error

`TypeError Traceback (most recent call last)
in <cell line: 1>()
----> 1 doc_result = embeddings.embed_documents([data])

15 frames
/usr/lib/python3.9/json/encoder.py in default(self, o)
177
178 """
--> 179 raise TypeError(f'Object of type {o.class.name} '
180 f'is not JSON serializable')
181

TypeError: Object of type Document is not JSON serializable`

I tried a lot to figuring out the solution but seems like it hard. Please help me in this regard, I will be very thankful

API

i sign in to https://app.cohere.io/
free trail and I tried to use the API given in the dashboard but it doesn't work in any of the notebook
it give me the CohereError: invalid api token
so how I suppose to get an API in order to test or apply the code

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.