Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a demo for financial-advisor #50

Merged
merged 4 commits into from
Aug 28, 2024
Merged

add a demo for financial-advisor #50

merged 4 commits into from
Aug 28, 2024

Conversation

JoyboyBrian
Copy link
Collaborator

No description provided.

@JoyboyBrian JoyboyBrian requested a review from zhiyuan8 August 27, 2024 06:04
import json
import shutil
import pdfplumber
from sentence_transformers import SentenceTransformer
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we use Nexa's own embedding inteface? Do not use SentenceTransformers. You can check with @xyyimian

import numpy as np
import logging
from nexa.gguf import NexaTextInference
from langchain_community.embeddings import HuggingFaceEmbeddings
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not use 3rd party embedding

@JoyboyBrian JoyboyBrian requested a review from zhiyuan8 August 28, 2024 04:10
@zhiyuan8 zhiyuan8 merged commit a4e0cd0 into main Aug 28, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants